From a3b5207fb8c49b9ff200ef6378f07830b2dfd224 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 13 Apr 2022 11:13:10 -0700 Subject: [PATCH 01/64] Use fixed time for vfs so baselining is consistent --- src/harness/vfsUtil.ts | 22 +++---- src/harness/virtualFileSystemWithWatch.ts | 2 +- src/testRunner/unittests/tsbuild/helpers.ts | 63 ++---------------- src/testRunner/unittests/tsbuild/outFile.ts | 12 ++-- src/testRunner/unittests/tsbuild/publicApi.ts | 6 +- src/testRunner/unittests/tsc/helpers.ts | 2 +- .../modules-and-globals-mixed-in-amd.js | 22 +++---- .../multiple-emitHelpers-in-all-projects.js | 34 +++++----- .../multiple-prologues-in-all-projects.js | 34 +++++----- .../shebang-in-all-projects.js | 22 +++---- .../amdModulesWithOut/stripInternal.js | 32 ++++----- .../triple-slash-refs-in-all-projects.js | 22 +++---- ...e-resolution-finds-original-source-file.js | 10 +-- ...nce-and-both-extend-config-with-include.js | 10 +-- ...th-projects-extends-config-with-include.js | 10 +-- ...ter-initial-build-doesnt-build-anything.js | 22 +++---- ...ugh-triple-slash-but-uses-no-references.js | 6 +- ...file-is-referenced-through-triple-slash.js | 14 ++-- ...d-inferred-type-from-referenced-project.js | 10 +-- ...s-not-in-rootDir-at-the-import-location.js | 14 ++-- ...ts-the-error-about-it-by-stopping-build.js | 2 +- ...ng-setup-correctly-and-reports-no-error.js | 14 ++-- ...-emitDeclarationOnly-and-declarationMap.js | 12 ++-- ...import-project-with-emitDeclarationOnly.js | 12 ++-- ...mports-project-with-emitDeclarationOnly.js | 18 ++--- ...-transitive-module-with-isolatedModules.js | 22 +++---- .../inferred-type-from-transitive-module.js | 22 +++---- ...hange-in-signature-with-isolatedModules.js | 34 +++++----- ...s-merged-and-contains-late-bound-member.js | 22 +++---- ...t-resolution-options-referenced-project.js | 10 +-- ...fiers-across-projects-resolve-correctly.js | 10 +-- ...zed-module-specifiers-resolve-correctly.js | 14 ++-- .../non-module-projects-without-prepend.js | 14 ++-- ...al-flag-changes-between-non-dts-changes.js | 38 +++++------ ...-in-tsbuildinfo-doesnt-match-ts-version.js | 14 ++-- ...erated-when-incremental-is-set-to-false.js | 14 ++-- ...-buildInfo-absence-results-in-new-build.js | 18 +++-- .../baseline-sectioned-sourcemaps.js | 40 +++++------ .../declarationMap-and-sourceMap-disabled.js | 14 ++-- .../emitHelpers-in-all-projects.js | 54 +++++++-------- ...tHelpers-in-only-one-dependency-project.js | 42 ++++++------ .../tsbuild/outfile-concat/explainFiles.js | 40 +++++------ .../multiple-emitHelpers-in-all-projects.js | 42 ++++++------ ...tiple-emitHelpers-in-different-projects.js | 42 ++++++------ .../multiple-prologues-in-all-projects.js | 54 +++++++-------- ...ultiple-prologues-in-different-projects.js | 42 ++++++------ .../outfile-concat/shebang-in-all-projects.js | 40 +++++------ .../shebang-in-only-one-dependency-project.js | 28 ++++---- .../outfile-concat/strict-in-all-projects.js | 54 +++++++-------- .../strict-in-one-dependency.js | 42 ++++++------ ...hen-internal-is-inside-another-internal.js | 14 ++-- ...en-one-two-three-are-prepended-in-order.js | 50 +++++++------- .../stripInternal-jsdoc-style-comment.js | 42 ++++++------ ...en-one-two-three-are-prepended-in-order.js | 32 ++++----- ...-jsdoc-style-with-comments-emit-enabled.js | 28 ++++---- ...l-when-few-members-of-enum-are-internal.js | 14 ++-- ...en-one-two-three-are-prepended-in-order.js | 64 +++++++++--------- ...nal-when-prepend-is-completely-internal.js | 10 +-- ...en-one-two-three-are-prepended-in-order.js | 50 +++++++------- ...tripInternal-with-comments-emit-enabled.js | 42 ++++++------ .../tsbuild/outfile-concat/stripInternal.js | 54 +++++++-------- .../triple-slash-refs-in-all-projects.js | 40 +++++------ .../triple-slash-refs-in-one-project.js | 28 ++++---- ...roject-is-not-composite-but-incremental.js | 14 ++-- ...t-composite-but-uses-project-references.js | 26 ++++---- ...final-project-specifies-tsBuildInfoFile.js | 14 ++-- ...-source-files-are-empty-in-the-own-file.js | 28 ++++---- ...otDir-is-not-specified-and-is-composite.js | 10 +-- .../when-rootDir-is-not-specified.js | 10 +-- ...iles-belong-to-rootDir-and-is-composite.js | 12 ++-- ...ied-but-not-all-files-belong-to-rootDir.js | 12 ++-- .../outputPaths/when-rootDir-is-specified.js | 10 +-- ...nfo-file-because-no-rootDir-in-the-base.js | 10 +-- ...reports-error-for-same-tsbuildinfo-file.js | 10 +-- ...eports-no-error-when-tsbuildinfo-differ.js | 10 +-- .../build-with-custom-transformers.js | 10 +-- .../files-containing-json-file.js | 6 +- ...ting-json-module-from-project-reference.js | 16 ++--- .../resolveJsonModule/include-and-files.js | 6 +- ...r-include-and-file-name-matches-ts-file.js | 6 +- ...nclude-of-json-along-with-other-include.js | 6 +- .../tsbuild/resolveJsonModule/include-only.js | 6 +- .../tsbuild/resolveJsonModule/sourcemap.js | 10 +-- .../resolveJsonModule/without-outDir.js | 10 +-- .../building-using-buildReferencedProject.js | 10 +-- ...composite-or-doesnt-have-any-references.js | 6 +- .../can-detect-when-and-what-to-rebuild.js | 44 ++++++------- ...ojects-if-upstream-projects-have-errors.js | 14 ++-- ...vent-if-version-doesnt-match-ts-version.js | 8 +-- ...does-not-write-any-files-in-a-dry-build.js | 6 +- .../reference/tsbuild/sample1/explainFiles.js | 46 ++++++------- ...it-would-skip-builds-during-a-dry-build.js | 6 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 14 ++-- ...uilds-from-start-if-force-option-is-set.js | 14 ++-- ...uilds-when-extended-config-file-changes.js | 24 +++---- .../reference/tsbuild/sample1/sample.js | 66 +++++++++---------- .../when-declaration-option-changes.js | 12 ++-- .../when-esModuleInterop-option-changes.js | 24 +++---- .../when-logic-specifies-tsBuildInfoFile.js | 14 ++-- .../sample1/when-module-option-changes.js | 12 ++-- .../sample1/when-target-option-changes.js | 12 ++-- 101 files changed, 1089 insertions(+), 1146 deletions(-) diff --git a/src/harness/vfsUtil.ts b/src/harness/vfsUtil.ts index b32bb78568322..b093dcc3fc38f 100644 --- a/src/harness/vfsUtil.ts +++ b/src/harness/vfsUtil.ts @@ -55,12 +55,12 @@ namespace vfs { } = {}; private _cwd: string; // current working directory - private _time: number | Date | (() => number | Date); + private _time: number; private _shadowRoot: FileSystem | undefined; private _dirStack: string[] | undefined; constructor(ignoreCase: boolean, options: FileSystemOptions = {}) { - const { time = -1, files, meta } = options; + const { time = ts.TestFSWithWatch.timeIncrements, files, meta } = options; this.ignoreCase = ignoreCase; this.stringComparer = this.ignoreCase ? vpath.compareCaseInsensitive : vpath.compareCaseSensitive; this._time = time; @@ -167,16 +167,15 @@ namespace vfs { * * @link http://pubs.opengroup.org/onlinepubs/9699919799/functions/time.html */ - public time(value?: number | Date | (() => number | Date)): number { - if (value !== undefined && this.isReadonly) throw createIOError("EPERM"); - let result = this._time; - if (typeof result === "function") result = result(); - if (typeof result === "object") result = result.getTime(); - if (result === -1) result = Date.now(); + public time(value?: number): number { if (value !== undefined) { + if (this.isReadonly) throw createIOError("EPERM"); this._time = value; } - return result; + else if (!this.isReadonly) { + this._time += ts.TestFSWithWatch.timeIncrements; + } + return this._time; } /** @@ -1172,9 +1171,8 @@ namespace vfs { } export interface FileSystemOptions { - // Sets the initial timestamp for new files and directories, or the function used - // to calculate timestamps. - time?: number | Date | (() => number | Date); + // Sets the initial timestamp for new files and directories + time?: number; // A set of file system entries to initially add to the file system. files?: FileSet; diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 62c6cd042ef93..332022570fb88 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -360,7 +360,7 @@ interface Array { length: number; [n: number]: T; }` DynamicPolling = "RecursiveDirectoryUsingDynamicPriorityPolling" } - const timeIncrements = 1000; + export const timeIncrements = 1000; export interface TestServerHostOptions { useCaseSensitiveFileNames: boolean; executingFilePath: string; diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index fdc3b3e064843..44830d3a886eb 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -78,26 +78,6 @@ namespace ts { }; } - export function getTime() { - let currentTime = 100; - return { tick, time, touch }; - - function tick() { - currentTime += 60_000; - } - - function time() { - return currentTime; - } - - function touch(fs: vfs.FileSystem, path: string) { - if (!fs.statSync(path).isFile()) { - throw new Error(`File ${path} does not exist`); - } - fs.utimesSync(path, new Date(time()), new Date(time())); - } - } - export const libContent = `${TestFSWithWatch.libFile.content} interface ReadonlyArray {} declare const console: { log(msg: any): void; };`; @@ -154,26 +134,6 @@ interface Symbol { fs.makeReadonly(); } - /** - * Gets the FS mountuing existing fs's /src and /lib folder - */ - export function getFsWithTime(baseFs: vfs.FileSystem) { - const { time, tick } = getTime(); - const host = new fakes.System(baseFs) as any as vfs.FileSystemResolverHost; - host.getWorkspaceRoot = notImplemented; - const resolver = vfs.createResolver(host); - const fs = new vfs.FileSystem(/*ignoreCase*/ true, { - files: { - ["/src"]: new vfs.Mount("/src", resolver), - ["/lib"]: new vfs.Mount("/lib", resolver) - }, - cwd: "/", - meta: { defaultLibLocation: "/lib" }, - time - }); - return { fs, time, tick }; - } - export function verifyOutputsPresent(fs: vfs.FileSystem, outputs: readonly string[]) { for (const output of outputs) { assert(fs.existsSync(output), `Expect file ${output} to exist`); @@ -336,7 +296,6 @@ interface Symbol { commandLineArgs: TestTscCompile["commandLineArgs"]; modifyFs: TestTscCompile["modifyFs"]; editFs: TestTscEdit["modifyFs"]; - tick: () => void; baseFs: vfs.FileSystem; newSys: TscCompileSystem; cleanBuildDiscrepancies: TestTscEdit["cleanBuildDiscrepancies"]; @@ -347,7 +306,7 @@ interface Symbol { const { scenario, commandLineArgs, cleanBuildDiscrepancies, modifyFs, editFs, - tick, baseFs, newSys + baseFs, newSys } = input(); const sys = testTscCompile({ scenario, @@ -355,7 +314,6 @@ interface Symbol { fs: () => baseFs.makeReadonly(), commandLineArgs, modifyFs: fs => { - tick(); if (modifyFs) modifyFs(fs); editFs(fs); }, @@ -532,22 +490,18 @@ interface Symbol { edits }: VerifyTscWithEditsWorkerInput) { describe(`tsc ${commandLineArgs.join(" ")} ${scenario}:: ${subScenario} serializedEdits`, () => { - let tick: () => void; let sys: TscCompileSystem; let baseFs: vfs.FileSystem; let editsSys: TscCompileSystem[]; before(() => { Debug.assert(!!edits.length, `${scenario}/${subScenario}:: No incremental scenarios, you probably want to use verifyTsc instead.`); - ({ fs: baseFs, tick } = getFsWithTime(fs())); + baseFs = fs().makeReadonly(); sys = testTscCompile({ scenario, subScenario, - fs: () => baseFs.makeReadonly(), + fs: () => baseFs, commandLineArgs, - modifyFs: fs => { - if (modifyFs) modifyFs(fs); - tick(); - }, + modifyFs, baselineSourceMap, baselineReadFileCalls, baselinePrograms @@ -556,18 +510,13 @@ interface Symbol { { modifyFs, subScenario: editScenario, commandLineArgs: editCommandLineArgs }, index ) => { - tick(); (editsSys || (editsSys = [])).push(testTscCompile({ scenario, subScenario: editScenario || subScenario, diffWithInitial: true, fs: () => index === 0 ? sys.vfs : editsSys[index - 1].vfs, commandLineArgs: editCommandLineArgs || commandLineArgs, - modifyFs: fs => { - tick(); - modifyFs(fs); - tick(); - }, + modifyFs, baselineSourceMap, baselineReadFileCalls, baselinePrograms @@ -577,7 +526,6 @@ interface Symbol { after(() => { baseFs = undefined!; sys = undefined!; - tick = undefined!; editsSys = undefined!; }); describe("tsc invocation after edit", () => { @@ -608,7 +556,6 @@ interface Symbol { } }, modifyFs, - tick }), index, subScenario)); }); }); diff --git a/src/testRunner/unittests/tsbuild/outFile.ts b/src/testRunner/unittests/tsbuild/outFile.ts index eb58823fd451e..48f2855470720 100644 --- a/src/testRunner/unittests/tsbuild/outFile.ts +++ b/src/testRunner/unittests/tsbuild/outFile.ts @@ -10,10 +10,6 @@ namespace ts { outFileWithBuildFs = undefined!; }); - function createSolutionBuilder(host: fakes.SolutionBuilderHost, baseOptions?: BuildOptions) { - return ts.createSolutionBuilder(host, ["/src/third"], { dry: false, force: false, verbose: true, ...(baseOptions || {}) }); - } - interface VerifyOutFileScenarioInput { subScenario: string; modifyFs?: (fs: vfs.FileSystem) => void; @@ -109,7 +105,7 @@ namespace ts { if (outFileWithBuildFs) return outFileWithBuildFs; const fs = outFileFs.shadow(); const host = fakes.SolutionBuilderHost.create(fs); - const builder = createSolutionBuilder(host); + const builder = createSolutionBuilder(host, ["/src/third"], { dry: false, force: false, verbose: true }); builder.build(); fs.makeReadonly(); return outFileWithBuildFs = fs; @@ -147,7 +143,7 @@ namespace ts { compile: sys => { // Buildinfo will have version which does not match with current ts version const buildHost = createSolutionBuilderHostForBaseline(sys, "FakeTSCurrentVersion"); - const builder = ts.createSolutionBuilder(buildHost, ["/src/third"], { verbose: true }); + const builder = createSolutionBuilder(buildHost, ["/src/third"], { verbose: true }); sys.exit(builder.build()); } }); @@ -181,7 +177,7 @@ namespace ts { commandLineArgs: ["--build", "/src/second/tsconfig.json"], compile: sys => { const buildHost = createSolutionBuilderHostForBaseline(sys); - const builder = ts.createSolutionBuilder(buildHost, ["/src/third/tsconfig.json"], {}); + const builder = createSolutionBuilder(buildHost, ["/src/third/tsconfig.json"], {}); sys.exit(builder.build("/src/second/tsconfig.json")); } }); @@ -193,7 +189,7 @@ namespace ts { commandLineArgs: ["--build", "--clean", "/src/second/tsconfig.json"], compile: sys => { const buildHost = createSolutionBuilderHostForBaseline(sys); - const builder = ts.createSolutionBuilder(buildHost, ["/src/third/tsconfig.json"], { verbose: true }); + const builder = createSolutionBuilder(buildHost, ["/src/third/tsconfig.json"], { verbose: true }); sys.exit(builder.clean("/src/second/tsconfig.json")); } }); diff --git a/src/testRunner/unittests/tsbuild/publicApi.ts b/src/testRunner/unittests/tsbuild/publicApi.ts index b929e96022130..304be7e0b2ec4 100644 --- a/src/testRunner/unittests/tsbuild/publicApi.ts +++ b/src/testRunner/unittests/tsbuild/publicApi.ts @@ -2,7 +2,7 @@ namespace ts { describe("unittests:: tsbuild:: Public API with custom transformers when passed to build", () => { let sys: TscCompileSystem; before(() => { - const initialFs = getFsWithTime(loadProjectFromFiles({ + const inputFs = loadProjectFromFiles({ "/src/tsconfig.json": JSON.stringify({ references: [ { path: "./shared/tsconfig.json" }, @@ -29,9 +29,7 @@ export class c2 { } export enum e2 { } // leading export function f22() { } // trailing`, - })).fs.makeReadonly(); - const inputFs = initialFs.shadow(); - inputFs.makeReadonly(); + }).makeReadonly(); const fs = inputFs.shadow(); // Create system diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index b4b6ff3de5f64..a58ae68e46b32 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -212,7 +212,7 @@ ${patch ? vfs.formatPatch(patch) : ""}` describe(input.subScenario, () => { verifyTscBaseline(() => verifier({ ...input, - fs: () => getFsWithTime(input.fs()).fs.makeReadonly() + fs: () => input.fs().makeReadonly() })); }); }); diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index f1975b6c48bd5..167a38161a528 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -69,17 +69,17 @@ const globalConst = 10; Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:07 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:08 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:16 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:17 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -936,19 +936,19 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:30 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:31 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:32 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:40 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:41 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:46 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 998937747e5ed..59c02c1830712 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -81,17 +81,17 @@ const globalConst = 10; Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:12 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:13 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:14 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:22 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:23 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2113,19 +2113,19 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:36 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:38 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:52 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3730,19 +3730,19 @@ export const x = 10;function forlibfile1Rest() { }console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:07:00 AM] Projects in this build: +[12:01:01 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:07:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:07:00 AM] Building project '/src/lib/tsconfig.json'... +[12:01:03 AM] Building project '/src/lib/tsconfig.json'... -[12:07:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:11 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:07:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:12 AM] Updating output of project '/src/app/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:01:17 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index bd0d249a912af..517343f4ad70b 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -74,17 +74,17 @@ const globalConst = 10; Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:13 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:14 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:15 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:24 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1222,19 +1222,19 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:39 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:53 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2111,19 +2111,19 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:07:00 AM] Projects in this build: +[12:01:02 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:07:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:07:00 AM] Building project '/src/lib/tsconfig.json'... +[12:01:04 AM] Building project '/src/lib/tsconfig.json'... -[12:07:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:12 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:07:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/app/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:01:19 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index db0ff719b6617..d6dc16faeba48 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -72,17 +72,17 @@ const globalConst = 10; Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:20 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -958,19 +958,19 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:33 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:35 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:49 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 9497ab0218c22..01d26503916f4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -95,17 +95,17 @@ const globalConst = 10; Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:20 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4863,19 +4863,19 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:33 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:35 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:49 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8671,17 +8671,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:07:00 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:07:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:07:00 AM] Building project '/src/lib/tsconfig.json'... +[12:01:00 AM] Building project '/src/lib/tsconfig.json'... -[12:07:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:08 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:07:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:09 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 3ad0c88e81db1..03189af6066b9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -79,17 +79,17 @@ declare class libfile0 { } Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:11 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:12 AM] Building project '/src/lib/tsconfig.json'... -[12:01:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:01:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:21 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1171,19 +1171,19 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:04:00 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:04:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' -[12:04:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:36 AM] Building project '/src/lib/tsconfig.json'... -[12:04:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:04:00 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:00:50 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index babc7d70a35ef..d77d1678ae884 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -69,17 +69,17 @@ const globalConst = 10; Output:: /lib/tsc -b /src/app --verbose -[12:00:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:00 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/module.js' does not exist +[12:00:09 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/module.js' does not exist -[12:00:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:10 AM] Building project '/src/lib/tsconfig.json'... -[12:00:00 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:18 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist -[12:00:00 AM] Building project '/src/app/tsconfig.json'... +[12:00:19 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 8447b9058d9ec..0a8e7329e8948 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -39,20 +39,20 @@ export const b: Unrestricted = 1; Output:: /lib/tsc --b /src/webpack/tsconfig.json --v --listFiles -[12:00:00 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/shared/tsconfig.json * src/webpack/tsconfig.json -[12:00:00 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist +[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist -[12:00:00 AM] Building project '/src/shared/tsconfig.json'... +[12:00:18 AM] Building project '/src/shared/tsconfig.json'... /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:00 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist +[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist -[12:00:00 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:26 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index d68345571e215..5602d28c95eed 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -39,21 +39,21 @@ export const b: Unrestricted = 1; Output:: /lib/tsc --b /src/tsconfig.json --v --listFiles -[12:00:00 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/shared/tsconfig.json * src/webpack/tsconfig.json * src/tsconfig.json -[12:00:00 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist +[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist -[12:00:00 AM] Building project '/src/shared/tsconfig.json'... +[12:00:18 AM] Building project '/src/shared/tsconfig.json'... /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:00 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist +[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist -[12:00:00 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:26 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index ff5e3de77dd08..86fadcf744e09 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -78,24 +78,24 @@ export const x = 10; Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/src/folder/tsconfig.json * src/src/folder2/tsconfig.json * src/src/tsconfig.json * src/tests/tsconfig.json * src/tsconfig.json -[12:01:00 AM] Project 'src/src/folder/tsconfig.json' is out of date because output file 'src/src/folder/index.js' does not exist +[12:00:07 AM] Project 'src/src/folder/tsconfig.json' is out of date because output file 'src/src/folder/index.js' does not exist -[12:01:00 AM] Building project '/src/src/folder/tsconfig.json'... +[12:00:08 AM] Building project '/src/src/folder/tsconfig.json'... -[12:01:00 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/index.js' does not exist +[12:00:13 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/index.js' does not exist -[12:01:00 AM] Building project '/src/src/folder2/tsconfig.json'... +[12:00:14 AM] Building project '/src/src/folder2/tsconfig.json'... -[12:01:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:19 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:01:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:20 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -246,18 +246,18 @@ Input:: Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:25 AM] Projects in this build: * src/src/folder/tsconfig.json * src/src/folder2/tsconfig.json * src/src/tsconfig.json * src/tests/tsconfig.json * src/tsconfig.json -[12:04:00 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/index.js' +[12:00:26 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/index.js' -[12:04:00 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/index.js' +[12:00:27 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/index.js' -[12:04:00 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:28 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index c89cb485b86b4..e040d7d027a4a 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -58,12 +58,12 @@ export function getVar(): keyof typeof variable { Output:: /lib/tsc --b /src/solution/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/solution/tsconfig.json -[12:00:00 AM] Project 'src/solution/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist +[12:00:22 AM] Project 'src/solution/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist -[12:00:00 AM] Building project '/src/solution/tsconfig.json'... +[12:00:23 AM] Building project '/src/solution/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 60d3869da0b76..45cfb1e5eccbc 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -58,24 +58,24 @@ export function getVar(): keyof typeof variable { Output:: /lib/tsc --b /src/solution/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/solution/src/common/tsconfig.json * src/solution/src/subProject/tsconfig.json * src/solution/src/subProject2/tsconfig.json * src/solution/src/tsconfig.json * src/solution/tsconfig.json -[12:00:00 AM] Project 'src/solution/src/common/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist +[12:00:22 AM] Project 'src/solution/src/common/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist -[12:00:00 AM] Building project '/src/solution/src/common/tsconfig.json'... +[12:00:23 AM] Building project '/src/solution/src/common/tsconfig.json'... -[12:00:00 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/index.js' does not exist +[12:00:31 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/index.js' does not exist -[12:00:00 AM] Building project '/src/solution/src/subProject/tsconfig.json'... +[12:00:32 AM] Building project '/src/solution/src/subProject/tsconfig.json'... -[12:00:00 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/index.js' does not exist +[12:00:38 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/index.js' does not exist -[12:00:00 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... +[12:00:39 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 2fe0ce3533620..ab98ee67ab57a 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -42,17 +42,17 @@ export function fn4() { Output:: /lib/tsc --b /src/packages/pkg2/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/packages/pkg1/tsconfig.json * src/packages/pkg2/tsconfig.json -[12:00:00 AM] Project 'src/packages/pkg1/tsconfig.json' is out of date because output file 'src/packages/pkg1/lib/src/index.js' does not exist +[12:00:17 AM] Project 'src/packages/pkg1/tsconfig.json' is out of date because output file 'src/packages/pkg1/lib/src/index.js' does not exist -[12:00:00 AM] Building project '/src/packages/pkg1/tsconfig.json'... +[12:00:18 AM] Building project '/src/packages/pkg1/tsconfig.json'... -[12:00:00 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/src/index.js' does not exist +[12:00:25 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/src/index.js' does not exist -[12:00:00 AM] Building project '/src/packages/pkg2/tsconfig.json'... +[12:00:26 AM] Building project '/src/packages/pkg2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 6b617709cce6b..c01da5a0d4b78 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -138,15 +138,15 @@ export function lastElementOf(arr: T[]): T | undefined { Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json * src/animals/tsconfig.json * src/zoo/tsconfig.json * src/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... src/animals/index.ts:1:20 - error TS6059: File '/src/animals/animal.ts' is not under 'rootDir' '/src/core'. 'rootDir' is expected to contain all source files. @@ -199,13 +199,13 @@ Output::    ~~~ File is included via import here. -[12:00:00 AM] Project 'src/animals/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:14 AM] Project 'src/animals/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:00 AM] Skipping build of project '/src/animals/tsconfig.json' because its dependency '/src/core' has errors +[12:00:15 AM] Skipping build of project '/src/animals/tsconfig.json' because its dependency '/src/core' has errors -[12:00:00 AM] Project 'src/zoo/tsconfig.json' can't be built because its dependency 'src/animals' was not built +[12:00:16 AM] Project 'src/zoo/tsconfig.json' can't be built because its dependency 'src/animals' was not built -[12:00:00 AM] Skipping build of project '/src/zoo/tsconfig.json' because its dependency '/src/animals' was not built +[12:00:17 AM] Skipping build of project '/src/zoo/tsconfig.json' because its dependency '/src/animals' was not built Found 7 errors. diff --git a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index f84d662938dfd..d67770a203c98 100644 --- a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -93,7 +93,7 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/animals/tsconfig.json * src/zoo/tsconfig.json * src/core/tsconfig.json diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 3bfd6267acf6a..5e680bd649136 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -145,23 +145,23 @@ export function createZoo(): Array { Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/core/tsconfig.json * src/animals/tsconfig.json * src/zoo/tsconfig.json * src/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/animal.js' does not exist +[12:00:15 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/animal.js' does not exist -[12:00:00 AM] Building project '/src/animals/tsconfig.json'... +[12:00:16 AM] Building project '/src/animals/tsconfig.json'... -[12:00:00 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/zoo.js' does not exist +[12:00:26 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/zoo.js' does not exist -[12:00:00 AM] Building project '/src/zoo/tsconfig.json'... +[12:00:27 AM] Building project '/src/zoo/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 85cba94d561ba..fd95ccb3f2a0f 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -70,12 +70,12 @@ export { C } from "./c"; Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:08 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -244,12 +244,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:23 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 4ff553ac46c38..f4298481591b7 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -70,12 +70,12 @@ export { C } from "./c"; Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:09 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -231,12 +231,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:18 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:19 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:20 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 1c6cd86d4341a..d8a0c848a1d12 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -64,12 +64,12 @@ export interface C { Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:10 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -202,12 +202,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:23 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -316,12 +316,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:07:00 AM] Projects in this build: +[12:00:33 AM] Projects in this build: * src/tsconfig.json -[12:07:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:34 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' -[12:07:00 AM] Building project '/src/tsconfig.json'... +[12:00:35 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 6b4be6975b5d9..f6dc7b6622989 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -72,12 +72,12 @@ export { default as bar } from './bar'; Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:09 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -257,14 +257,14 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:24 AM] Building project '/src/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:31 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -393,14 +393,14 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:07:00 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/tsconfig.json -[12:07:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:39 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:07:00 AM] Building project '/src/tsconfig.json'... +[12:00:40 AM] Building project '/src/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:47 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index ddf3fdf8cf52e..76b3926517188 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -72,12 +72,12 @@ export { default as bar } from './bar'; Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:08 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -257,14 +257,14 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:23 AM] Building project '/src/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:32 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -395,14 +395,14 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:07:00 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/tsconfig.json -[12:07:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:38 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:07:00 AM] Building project '/src/tsconfig.json'... +[12:00:39 AM] Building project '/src/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:47 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 8f5d81972d4dd..99508fbea6884 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -74,12 +74,12 @@ bar("hello"); Output:: /lib/tsc --b /src --verbose -[12:01:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:10 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -261,12 +261,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:04:00 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:25 AM] Building project '/src/tsconfig.json'... src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. @@ -411,14 +411,14 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:07:00 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/tsconfig.json -[12:07:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:07:00 AM] Building project '/src/tsconfig.json'... +[12:00:31 AM] Building project '/src/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:38 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -533,12 +533,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:10:00 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/tsconfig.json -[12:10:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' -[12:10:00 AM] Building project '/src/tsconfig.json'... +[12:00:47 AM] Building project '/src/tsconfig.json'... src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. @@ -678,14 +678,14 @@ bar(); Output:: /lib/tsc --b /src --verbose -[12:13:00 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/tsconfig.json -[12:13:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/lazyIndex.ts' +[12:00:52 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/lazyIndex.ts' -[12:13:00 AM] Building project '/src/tsconfig.json'... +[12:00:53 AM] Building project '/src/tsconfig.json'... -[12:13:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:01:01 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index b7b96271b4e6e..9345e1527b5bb 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -48,12 +48,12 @@ type A = HKT[typeof sym]; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/src/hkt.js' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/src/hkt.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:08 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -155,14 +155,14 @@ type A = HKT[typeof sym]; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' +[12:00:15 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:16 AM] Building project '/src/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:20 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -258,14 +258,14 @@ type A = HKT[typeof sym];const x = 10; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:07:00 AM] Projects in this build: +[12:00:24 AM] Projects in this build: * src/tsconfig.json -[12:07:00 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' +[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' -[12:07:00 AM] Building project '/src/tsconfig.json'... +[12:00:26 AM] Building project '/src/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:30 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index d45fadacea080..6ddd71e5b7fa6 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -36,13 +36,13 @@ declare type TheNum2 = "type2"; Output:: /lib/tsc -b /src/packages/pkg1.tsconfig.json /src/packages/pkg2.tsconfig.json --verbose --traceResolution -[12:00:00 AM] Projects in this build: +[12:00:17 AM] Projects in this build: * src/packages/pkg1.tsconfig.json * src/packages/pkg2.tsconfig.json -[12:00:00 AM] Project 'src/packages/pkg1.tsconfig.json' is out of date because output file 'src/packages/pkg1_index.js' does not exist +[12:00:18 AM] Project 'src/packages/pkg1.tsconfig.json' is out of date because output file 'src/packages/pkg1_index.js' does not exist -[12:00:00 AM] Building project '/src/packages/pkg1.tsconfig.json'... +[12:00:19 AM] Building project '/src/packages/pkg1.tsconfig.json'... ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot1'. ======== Resolving with primary search path '/src/packages/typeroot1'. @@ -50,9 +50,9 @@ File '/src/packages/typeroot1/sometype/package.json' does not exist. File '/src/packages/typeroot1/sometype/index.d.ts' exist - use it as a name resolution result. Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/src/packages/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot1/sometype/index.d.ts', primary: true. ======== -[12:00:00 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2_index.js' does not exist +[12:00:24 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2_index.js' does not exist -[12:00:00 AM] Building project '/src/packages/pkg2.tsconfig.json'... +[12:00:25 AM] Building project '/src/packages/pkg2.tsconfig.json'... ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot2'. ======== Resolving with primary search path '/src/packages/typeroot2'. diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 11a8283382288..2f32c0cec68c6 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -114,17 +114,17 @@ export * from './dogconfig.js'; Output:: /lib/tsc -b src/src-types src/src-dogs --verbose -[12:00:00 AM] Projects in this build: +[12:00:24 AM] Projects in this build: * src/src-types/tsconfig.json * src/src-dogs/tsconfig.json -[12:00:00 AM] Project 'src/src-types/tsconfig.json' is out of date because output file 'src/src-types/dogconfig.js' does not exist +[12:00:25 AM] Project 'src/src-types/tsconfig.json' is out of date because output file 'src/src-types/dogconfig.js' does not exist -[12:00:00 AM] Building project '/src/src-types/tsconfig.json'... +[12:00:26 AM] Building project '/src/src-types/tsconfig.json'... -[12:00:00 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/dog.js' does not exist +[12:00:33 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/dog.js' does not exist -[12:00:00 AM] Building project '/src/src-dogs/tsconfig.json'... +[12:00:34 AM] Building project '/src/src-dogs/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 268854ffbb464..1d07febf05411 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -116,24 +116,24 @@ export function getVar(): keyof typeof variable { Output:: /lib/tsc -b /src --verbose -[12:00:00 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/solution/common/tsconfig.json * src/solution/sub-project/tsconfig.json * src/solution/sub-project-2/tsconfig.json * src/solution/tsconfig.json * src/tsconfig.json -[12:00:00 AM] Project 'src/solution/common/tsconfig.json' is out of date because output file 'src/lib/solution/common/nominal.js' does not exist +[12:00:20 AM] Project 'src/solution/common/tsconfig.json' is out of date because output file 'src/lib/solution/common/nominal.js' does not exist -[12:00:00 AM] Building project '/src/solution/common/tsconfig.json'... +[12:00:21 AM] Building project '/src/solution/common/tsconfig.json'... -[12:00:00 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/index.js' does not exist +[12:00:29 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/index.js' does not exist -[12:00:00 AM] Building project '/src/solution/sub-project/tsconfig.json'... +[12:00:30 AM] Building project '/src/solution/sub-project/tsconfig.json'... -[12:00:00 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/index.js' does not exist +[12:00:36 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/index.js' does not exist -[12:00:00 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... +[12:00:37 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index e4f98012bfa0e..cf13a3f071953 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/first_PART1.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/first_PART1.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/second_part1.js' does not exist +[12:00:31 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/second_part1.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:32 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/third_part1.js' does not exist +[12:00:43 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/third_part1.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:44 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index ffa2d94ede782..c7836fc59c6ec 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --i --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -575,20 +575,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:42 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:52 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -726,20 +726,20 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:07:00 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:59 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:00 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:07:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:10 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 4a0c1b3eba618..8cba2ae78750f 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -207,22 +207,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:25 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:26 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:27 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:35 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:36 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:44 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:45 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 61366ed7aaac6..9eb72aa47116e 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index d2077269d9b85..19b39ab7ff210 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -224,22 +224,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:26 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:28 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:36 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:38 AM] Updating output of project '/src/third/tsconfig.json'... -[12:00:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:00:41 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -311,6 +311,10 @@ declare function f(): string; "size": 252 } +//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time +//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time +//// [/src/third/thirdjs/output/third-output.js] file changed its modified time +//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 8e52089769e64..3c8553b67e9a4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:08 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:18 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:28 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1904,20 +1904,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:57 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3219,22 +3219,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:12 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:27 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index a6424f11e4db9..1ac4d105768e5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -129,22 +129,22 @@ class C { Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 7873788adf680..e5e1dda583762 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -137,22 +137,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2685,20 +2685,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4603,22 +4603,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -6102,22 +6102,22 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:10:00 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:10:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:10:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:10:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:10:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:10:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index c59ab5c275a79..3bdb94abaa98b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -133,22 +133,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2303,22 +2303,22 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:04 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3449,22 +3449,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 4898823e45ea8..1bcf4ccb3f0e8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -131,14 +131,14 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:08 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -148,9 +148,9 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:18 AM] Building project '/src/second/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -158,9 +158,9 @@ src/second/second_part1.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' src/second/second_part2.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:28 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -1906,14 +1906,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:04:00 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:47 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -1923,11 +1923,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:57 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3218,14 +3218,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:07:00 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:12 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3235,13 +3235,13 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:27 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index ede8ff76c5ade..2c165b72e99aa 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -149,22 +149,22 @@ thirdthird_part1Spread(10, ...thirdthird_part1_ar); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:16 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:27 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:37 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3902,22 +3902,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:06 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:11 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6106,22 +6106,22 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:22 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:38 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 2ca865271cb8c..38cd8cd46eb4a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -139,22 +139,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2937,22 +2937,22 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:06 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4533,22 +4533,22 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 64c095e370448..b69c99cca3eea 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -136,22 +136,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2218,20 +2218,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:05 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3733,22 +3733,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:29 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:35 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4905,22 +4905,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:10:00 AM] Projects in this build: +[12:01:44 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:10:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:10:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:46 AM] Building project '/src/first/tsconfig.json'... -[12:10:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:10:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:10:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:56 AM] Updating output of project '/src/third/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:02:02 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index b13279d62ca76..2f0f11c73f3b6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -133,22 +133,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2091,22 +2091,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:06 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3161,22 +3161,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index d023836a57cd0..fcd1f1f69efaf 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -135,22 +135,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1933,20 +1933,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3267,22 +3267,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:16 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index ab0d71861ddd5..1549d2753107a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -132,22 +132,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1897,22 +1897,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:46 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index b1a5cd9a00898..f1cae324651e7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1994,20 +1994,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3369,22 +3369,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4407,22 +4407,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:10:00 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:10:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:10:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:10:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:10:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:10:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 3541cd64a50c4..398b8508f8f80 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1925,22 +1925,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:46 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2892,22 +2892,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:14 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:24 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index 68d3abfc31b72..40c0dac462001 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -159,22 +159,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index f46fc4ab64a53..1e89edc137379 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -158,22 +158,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:11 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5693,26 +5693,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:50 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:01 AM] Updating output of project '/src/second/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:06 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:12 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:17 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10023,26 +10023,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:27 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:28 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:29 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:37 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:38 AM] Updating output of project '/src/second/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:48 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:49 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:54 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index ffa75e13c6d2c..b49f73cf28e5a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -157,22 +157,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5402,22 +5402,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -7731,22 +7731,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:16 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 76d4e39c8c2af..795e00d38ae3a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -158,22 +158,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6035,26 +6035,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:03 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:09 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:15 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 10d0ef05d263d..8ca8f6e8e81de 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -157,22 +157,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5738,22 +5738,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:08 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 8a101f713d07d..f590ed1d3d029 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -154,22 +154,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 9819ba0b5f405..b04f3b500d19d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -158,22 +158,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:11 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5713,22 +5713,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:50 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.js' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/second/tsconfig.json'... +[12:01:01 AM] Building project '/src/second/tsconfig.json'... -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/second' +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/second' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:10 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -11269,26 +11269,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:25 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:27 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:35 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/second/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:41 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -15621,26 +15621,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:10:00 AM] Projects in this build: +[12:02:02 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:10:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:02:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:10:00 AM] Building project '/src/first/tsconfig.json'... +[12:02:04 AM] Building project '/src/first/tsconfig.json'... -[12:10:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:12 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:10:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:02:13 AM] Updating output of project '/src/second/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:02:17 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:10:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:02:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:10:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:24 AM] Updating output of project '/src/third/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:02:29 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index d7a59e7566f41..2aac975ccb514 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -45,17 +45,17 @@ const B = 2; Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/first/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:21 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:22 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index eea9d3edb7dac..ea02b542b4c4a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -158,22 +158,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5893,26 +5893,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:03 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:09 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:15 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10423,26 +10423,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:30 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:31 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:32 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:40 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:41 AM] Updating output of project '/src/second/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:45 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 2a870290c8c60..a76f9e78315ca 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -157,22 +157,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5602,22 +5602,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:08 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8031,22 +8031,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:17 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:19 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:34 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 2edf0a4ecba38..7b8fd895f35eb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -157,22 +157,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5422,20 +5422,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -8133,22 +8133,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -10484,22 +10484,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:10:00 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:10:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:10:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:10:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:10:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:10:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... -[12:10:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:56 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index b85568947a14b..48cc80392a17d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -146,22 +146,22 @@ declare class thirdthird_part1 { } Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2254,20 +2254,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js' is older than newest input 'src/first' +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:03 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3839,22 +3839,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:07:00 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:07:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:07:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:07:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:07:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:07:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 4b349e58efd95..87d297bab5091 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -136,22 +136,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2020,22 +2020,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:04 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 8ad8cbc0d2138..b7e1a5e27adbb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index c249e307de60f..ff11c35de4f10 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -131,22 +131,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1726,20 +1726,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:43 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:45 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:55 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 8a8540230e99a..b45fdc438c1f4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -132,22 +132,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:00:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:00:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index f7272bccaf8cd..3050a9a42b31c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -129,22 +129,22 @@ class C { Output:: /lib/tsc --b /src/third --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist -[12:01:00 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:00:29 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1782,22 +1782,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:04:00 AM] Projects in this build: +[12:00:46 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:04:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' -[12:04:00 AM] Building project '/src/first/tsconfig.json'... +[12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:04:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:04:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:04:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 7be5dd8a11d2c..5e94c2474be2b 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -24,12 +24,12 @@ export const x = 10; Output:: /lib/tsc --b /src/tsconfig.json -v -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:11 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -89,10 +89,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:04:00 AM] Projects in this build: +[12:00:18 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/index.js' +[12:00:19 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index 11648d4fe14c2..cc9359c666105 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -24,12 +24,12 @@ export const x = 10; Output:: /lib/tsc --b /src/tsconfig.json -v -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:11 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -49,10 +49,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 4042ac3ef0fc4..c5e549dd3268b 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -27,12 +27,12 @@ export type t = string; Output:: /lib/tsc --b /src/tsconfig.json -v -[12:01:00 AM] Projects in this build: +[12:00:11 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:12 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:13 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: @@ -52,12 +52,12 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:15 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:16 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js index b8a88cf7d28c1..bf218767e26c2 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js @@ -27,12 +27,12 @@ export type t = string; Output:: /lib/tsc --b /src/tsconfig.json -v -[12:01:00 AM] Projects in this build: +[12:00:11 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:12 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:13 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: @@ -52,12 +52,12 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:15 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:04:00 AM] Building project '/src/tsconfig.json'... +[12:00:16 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index d3b05377a5e90..ed727c451f7d9 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -24,12 +24,12 @@ export const x = 10; Output:: /lib/tsc --b /src/tsconfig.json -v -[12:01:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/tsconfig.json -[12:01:00 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig.json'... +[12:00:11 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -49,10 +49,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:04:00 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 829c3d8bd69e9..9e548ba531b67 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -57,17 +57,17 @@ export const Other = 0; Output:: /lib/tsc --b /src/src/main --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/src/other/tsconfig.json * src/src/main/tsconfig.json -[12:00:00 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:08 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist -[12:00:00 AM] Building project '/src/src/other/tsconfig.json'... +[12:00:09 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:00 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:15 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist -[12:00:00 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:16 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:4:5 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 8fe044e9134b1..5e539082f2db5 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -39,17 +39,17 @@ export const Other = 0; Output:: /lib/tsc --b /src/src/main --verbose -[12:00:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/src/other/tsconfig.json * src/src/main/tsconfig.json -[12:00:00 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:09 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist -[12:00:00 AM] Building project '/src/src/other/tsconfig.json'... +[12:00:10 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:00 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist -[12:00:00 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:17 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:1:76 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 804e41039ba18..bbbab45b84094 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -39,17 +39,17 @@ export const Other = 0; Output:: /lib/tsc --b /src/src/main/tsconfig.main.json --verbose -[12:00:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/src/other/tsconfig.other.json * src/src/main/tsconfig.main.json -[12:00:00 AM] Project 'src/src/other/tsconfig.other.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:11 AM] Project 'src/src/other/tsconfig.other.json' is out of date because output file 'src/dist/other.js' does not exist -[12:00:00 AM] Building project '/src/src/other/tsconfig.other.json'... +[12:00:12 AM] Building project '/src/src/other/tsconfig.other.json'... -[12:00:00 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:18 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/a.js' does not exist -[12:00:00 AM] Building project '/src/src/main/tsconfig.main.json'... +[12:00:19 AM] Building project '/src/src/main/tsconfig.main.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index 801164a0b036c..b218357820d66 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -41,18 +41,18 @@ export function f22() { } // trailing Output:: /lib/tsc --b /src/tsconfig.json -[12:00:00 AM] Projects in this build: +[12:00:13 AM] Projects in this build: * src/shared/tsconfig.json * src/webpack/tsconfig.json * src/tsconfig.json -[12:00:00 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/shared/index.js' does not exist +[12:00:14 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/shared/index.js' does not exist -[12:00:00 AM] Building project '/src/shared/tsconfig.json'... +[12:00:15 AM] Building project '/src/shared/tsconfig.json'... -[12:00:00 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/index.js' does not exist +[12:00:20 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/index.js' does not exist -[12:00:00 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:21 AM] Building project '/src/webpack/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/shared/index.ts"] diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 761d5e83e6cf7..b244c405cb5c8 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -54,12 +54,12 @@ export default hello.hello Output:: /lib/tsc --b /src/tsconfig_withFiles.json --v --explainFiles -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:00 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:00:00 AM] Building project '/src/tsconfig_withFiles.json'... +[12:00:08 AM] Building project '/src/tsconfig_withFiles.json'... lib/lib.d.ts Default library for target 'es3' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 680726f03f7f4..ba0598c3775fa 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -71,22 +71,22 @@ console.log(foo); Output:: /lib/tsc --b src/tsconfig.json --verbose --explainFiles -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/strings/tsconfig.json * src/main/tsconfig.json * src/tsconfig.json -[12:01:00 AM] Project 'src/strings/tsconfig.json' is out of date because output file 'src/strings/tsconfig.tsbuildinfo' does not exist +[12:00:07 AM] Project 'src/strings/tsconfig.json' is out of date because output file 'src/strings/tsconfig.tsbuildinfo' does not exist -[12:01:00 AM] Building project '/src/strings/tsconfig.json'... +[12:00:08 AM] Building project '/src/strings/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' src/strings/foo.json Matched by include pattern 'foo.json' in 'src/strings/tsconfig.json' -[12:01:00 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/index.js' does not exist +[12:00:11 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/index.js' does not exist -[12:01:00 AM] Building project '/src/main/tsconfig.json'... +[12:00:12 AM] Building project '/src/main/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -215,14 +215,14 @@ Input:: Output:: /lib/tsc --b src/tsconfig.json --verbose --explainFiles -[12:04:00 AM] Projects in this build: +[12:00:17 AM] Projects in this build: * src/strings/tsconfig.json * src/main/tsconfig.json * src/tsconfig.json -[12:04:00 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' +[12:00:18 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' -[12:04:00 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/index.js' +[12:00:19 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index a39c9a4c2fc9c..bf1b71e97b993 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -57,12 +57,12 @@ export default hello.hello Output:: /lib/tsc --b /src/tsconfig_withIncludeAndFiles.json --v --explainFiles -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig_withIncludeAndFiles.json -[12:00:00 AM] Project 'src/tsconfig_withIncludeAndFiles.json' is out of date because output file 'src/dist/src/hello.json' does not exist +[12:00:07 AM] Project 'src/tsconfig_withIncludeAndFiles.json' is out of date because output file 'src/dist/src/hello.json' does not exist -[12:00:00 AM] Building project '/src/tsconfig_withIncludeAndFiles.json'... +[12:00:08 AM] Building project '/src/tsconfig_withIncludeAndFiles.json'... lib/lib.d.ts Default library for target 'es3' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index a9f864eb9ce7d..0b4eb450b0016 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -52,12 +52,12 @@ export default hello.hello Output:: /lib/tsc --b /src/tsconfig_withIncludeOfJson.json --v --explainFiles -[12:00:00 AM] Projects in this build: +[12:00:09 AM] Projects in this build: * src/tsconfig_withIncludeOfJson.json -[12:00:00 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:00:00 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... +[12:00:11 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... lib/lib.d.ts Default library for target 'es3' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 13c1edfb0227c..a5b55ae0d6220 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -54,12 +54,12 @@ export default hello.hello Output:: /lib/tsc --b /src/tsconfig_withIncludeOfJson.json --v --explainFiles -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig_withIncludeOfJson.json -[12:00:00 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:00:00 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... +[12:00:08 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... lib/lib.d.ts Default library for target 'es3' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index c865691cdf6bd..c588d3c628c30 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -54,12 +54,12 @@ export default hello.hello Output:: /lib/tsc --b /src/tsconfig_withInclude.json --v --explainFiles -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/tsconfig_withInclude.json -[12:00:00 AM] Project 'src/tsconfig_withInclude.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withInclude.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:00:00 AM] Building project '/src/tsconfig_withInclude.json'... +[12:00:08 AM] Building project '/src/tsconfig_withInclude.json'... src/src/index.ts:1:19 - error TS6307: File '/src/src/hello.json' is not listed within the file list of project '/src/tsconfig_withInclude.json'. Projects must list all files or use an 'include' pattern. diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 6c6c6d52e20ea..93a8d9ef1349b 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -54,12 +54,12 @@ export default hello.hello Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose --explainFiles -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:01:00 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig_withFiles.json'... +[12:00:09 AM] Building project '/src/tsconfig_withFiles.json'... lib/lib.d.ts Default library for target 'es3' @@ -163,10 +163,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose --explainFiles -[12:04:00 AM] Projects in this build: +[12:00:18 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:04:00 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/index.js' +[12:00:19 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/hello.json' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index f827ba3f87479..c87ea3374fec5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -54,12 +54,12 @@ export default hello.hello Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:01:00 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/src/index.js' does not exist +[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/src/index.js' does not exist -[12:01:00 AM] Building project '/src/tsconfig_withFiles.json'... +[12:00:09 AM] Building project '/src/tsconfig_withFiles.json'... exitCode:: ExitStatus.Success @@ -145,10 +145,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose -[12:04:00 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:04:00 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/src/index.js' +[12:00:15 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/src/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 70e9a3a8df6f7..1918d9055b956 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -90,17 +90,17 @@ export const m = mod; Output:: /lib/tsc --build /src/logic2/tsconfig.json -[12:00:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:00:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:18 AM] Building project '/src/logic/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index bfb3843cfcc7a..88da920ff248e 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -60,12 +60,12 @@ declare const dts: any; Output:: /lib/tsc --b /src/core --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index aeb065309af62..d15e61761e604 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -131,16 +131,16 @@ export declare const m: typeof mod; Output:: /lib/tsc --b /src/tests --verbose -[12:01:00 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:01:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:01:00 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' exitCode:: ExitStatus.Success @@ -156,18 +156,18 @@ const m = 10; Output:: /lib/tsc --b /src/tests --verbose -[12:04:00 AM] Projects in this build: +[12:00:25 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:26 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:04:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:00:27 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:04:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/index.ts' +[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/index.ts' -[12:04:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:29 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -232,24 +232,24 @@ export function multiply(a: number, b: number) { return a * b; } Output:: /lib/tsc --b /src/tests --verbose -[12:07:00 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:07:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:36 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:07:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:37 AM] Building project '/src/core/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:43 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -[12:07:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:48 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:50 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:07:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:55 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:00:57 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -346,18 +346,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:10:00 AM] Projects in this build: +[12:01:02 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:10:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/anotherModule.js' +[12:01:03 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' -[12:10:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:01:04 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' -[12:10:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' +[12:01:05 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' -[12:10:00 AM] Building project '/src/tests/tsconfig.json'... +[12:01:06 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 8193d319ff0e3..6ae588b4c5a46 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -90,27 +90,27 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:00:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. 3 return c.muitply();    ~~~~~~~ -[12:00:00 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +[12:00:22 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors -[12:00:00 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +[12:00:23 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors Found 1 error. diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index 301ef4888dda0..f790083f99658 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -109,16 +109,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:00 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:00:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:00:00 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index b3d5781bcf8bf..f195ef40b1de3 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -67,11 +67,11 @@ Input:: Output:: /lib/tsc --b /src/tests --dry -[12:00:00 AM] A non-dry build would build project '/src/core/tsconfig.json' +[12:00:06 AM] A non-dry build would build project '/src/core/tsconfig.json' -[12:00:00 AM] A non-dry build would build project '/src/logic/tsconfig.json' +[12:00:07 AM] A non-dry build would build project '/src/logic/tsconfig.json' -[12:00:00 AM] A non-dry build would build project '/src/tests/tsconfig.json' +[12:00:08 AM] A non-dry build would build project '/src/tests/tsconfig.json' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 2c4dec3fd7a14..090690b5a89db 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -98,14 +98,14 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:08 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -115,9 +115,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:01:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:01:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:18 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -129,9 +129,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:01:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:01:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:25 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -438,16 +438,16 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:04:00 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:32 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:04:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:33 AM] Building project '/src/core/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:39 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -457,9 +457,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:04:00 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js' is older than newest input 'src/core' +[12:00:44 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js.map' is older than newest input 'src/core' -[12:04:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:45 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -471,9 +471,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:04:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' +[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' -[12:04:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:52 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -742,16 +742,16 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:07:00 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:07:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:07:00 AM] Building project '/src/core/tsconfig.json'... +[12:01:00 AM] Building project '/src/core/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:01:06 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -761,13 +761,13 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:07:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:11 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:13 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:07:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:18 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:20 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 84b2e0f83ac79..c013a75b9ebc6 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -109,11 +109,11 @@ Input:: Output:: /lib/tsc --b /src/tests --dry -[12:00:00 AM] Project '/src/core/tsconfig.json' is up to date +[12:00:20 AM] Project '/src/core/tsconfig.json' is up to date -[12:00:00 AM] Project '/src/logic/tsconfig.json' is up to date +[12:00:21 AM] Project '/src/logic/tsconfig.json' is up to date -[12:00:00 AM] Project '/src/tests/tsconfig.json' is up to date +[12:00:22 AM] Project '/src/tests/tsconfig.json' is up to date exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 61c95ca69f022..14af76d078d25 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -149,22 +149,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:00:00 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:21 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:22 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:31 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:32 AM] Building project '/src/logic/tsconfig.json'... -[12:00:00 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:38 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:39 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index da09fdfc308a5..51fc35f9459f0 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -149,22 +149,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose --force -[12:00:00 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt +[12:00:21 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:22 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt +[12:00:31 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt -[12:00:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:32 AM] Building project '/src/logic/tsconfig.json'... -[12:00:00 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt +[12:00:38 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt -[12:00:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:39 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index ac6b8570cfe5a..90aa55b58afb8 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -101,22 +101,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:01:00 AM] Projects in this build: +[12:00:08 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:09 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:10 AM] Building project '/src/core/tsconfig.json'... -[12:01:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:01:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... -[12:01:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:01:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:27 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -406,18 +406,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:04:00 AM] Projects in this build: +[12:00:33 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:34 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:04:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:00:35 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:04:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.base.json' +[12:00:36 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.base.json' -[12:04:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:37 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 70d60d5a02179..5b6958e3fc72a 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -98,22 +98,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:01:00 AM] Projects in this build: +[12:00:06 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:01:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:01:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:18 AM] Building project '/src/logic/tsconfig.json'... -[12:01:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:01:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:25 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -696,24 +696,24 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --verbose -[12:04:00 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:04:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:36 AM] Building project '/src/core/tsconfig.json'... -[12:04:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:42 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -[12:04:00 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js' is older than newest input 'src/core' +[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js.map' is older than newest input 'src/core' -[12:04:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:48 AM] Building project '/src/logic/tsconfig.json'... -[12:04:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' +[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' -[12:04:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:55 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1120,24 +1120,24 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --verbose -[12:07:00 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:07:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:07:00 AM] Building project '/src/core/tsconfig.json'... +[12:01:05 AM] Building project '/src/core/tsconfig.json'... -[12:07:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:01:11 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -[12:07:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:16 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:18 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:07:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:23 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:07:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:25 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1257,20 +1257,20 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:10:00 AM] Projects in this build: +[12:01:31 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:10:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/anotherModule.js' +[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' -[12:10:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/decls/index.d.ts' does not exist +[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/decls/index.d.ts' does not exist -[12:10:00 AM] Building project '/src/logic/tsconfig.json'... +[12:01:34 AM] Building project '/src/logic/tsconfig.json'... -[12:10:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/logic' +[12:01:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/logic' -[12:10:00 AM] Building project '/src/tests/tsconfig.json'... +[12:01:42 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1457,16 +1457,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:13:00 AM] Projects in this build: +[12:01:48 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:13:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/anotherModule.js' +[12:01:49 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' -[12:13:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:01:50 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:13:00 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:01:51 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index fd1c36b24fcaf..56cea4ade3143 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -58,12 +58,12 @@ declare const dts: any; Output:: /lib/tsc --b /src/core --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success @@ -150,12 +150,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:04:00 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/core/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.d.ts' does not exist +[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.d.ts' does not exist -[12:04:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:17 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 1db9a0891c2cb..afd18111a4cc8 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -99,22 +99,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:01:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:01:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... -[12:01:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:01:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:26 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -417,18 +417,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:04:00 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:33 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:04:00 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:00:34 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:04:00 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' +[12:00:35 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' -[12:04:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:36 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 74cbc2bcd35fd..742ec1c6bcb30 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -99,22 +99,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:00:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:00:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist -[12:00:00 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... -[12:00:00 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist -[12:00:00 AM] Building project '/src/tests/tsconfig.json'... +[12:00:26 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 3c2e06d97f54e..c8cb39943e816 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -58,12 +58,12 @@ declare const dts: any; Output:: /lib/tsc --b /src/core --verbose -[12:01:00 AM] Projects in this build: +[12:00:07 AM] Projects in this build: * src/core/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:09 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success @@ -150,12 +150,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:04:00 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/core/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' +[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' -[12:04:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:17 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 70b3f9fd2abd4..17dc07c16442c 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -68,12 +68,12 @@ declare const dts: any; Output:: /lib/tsc --b /src/core --verbose -[12:01:00 AM] Projects in this build: +[12:00:10 AM] Projects in this build: * src/core/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:11 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:12 AM] Building project '/src/core/tsconfig.json'... TSFILE: /src/core/anotherModule.js TSFILE: /src/core/index.js @@ -168,12 +168,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:04:00 AM] Projects in this build: +[12:00:18 AM] Projects in this build: * src/core/tsconfig.json -[12:04:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' +[12:00:19 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' -[12:04:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:20 AM] Building project '/src/core/tsconfig.json'... TSFILE: /src/core/anotherModule.js TSFILE: /src/core/index.js From c20613ffc4dc25926b59e07dfe0beeec34723723 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 13 Apr 2022 14:01:06 -0700 Subject: [PATCH 02/64] Baseline buildinfos --- src/testRunner/unittests/tsbuild/outFile.ts | 3 +- src/testRunner/unittests/tsbuild/sample.ts | 3 +- .../tsbuild/outFile/clean-projects.js | 18 ++ .../outFile/cleans-till-project-specified.js | 18 ++ ...-in-tsbuildinfo-doesnt-match-ts-version.js | 172 ++---------- ...-buildInfo-absence-results-in-new-build.js | 251 ++---------------- .../can-detect-when-and-what-to-rebuild.js | 53 ++-- ...t-in-not-build-order-doesnt-throw-error.js | 9 + .../sample1/cleans-till-project-specified.js | 9 + ...it-would-skip-builds-during-a-dry-build.js | 15 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 23 +- ...uilds-from-start-if-force-option-is-set.js | 217 ++------------- .../sample1/removes-all-files-it-built.js | 9 + 13 files changed, 202 insertions(+), 598 deletions(-) diff --git a/src/testRunner/unittests/tsbuild/outFile.ts b/src/testRunner/unittests/tsbuild/outFile.ts index 48f2855470720..109ab200c69ef 100644 --- a/src/testRunner/unittests/tsbuild/outFile.ts +++ b/src/testRunner/unittests/tsbuild/outFile.ts @@ -104,7 +104,8 @@ namespace ts { function getOutFileFsAfterBuild() { if (outFileWithBuildFs) return outFileWithBuildFs; const fs = outFileFs.shadow(); - const host = fakes.SolutionBuilderHost.create(fs); + const sys = new fakes.System(fs, { executingFilePath: "/lib/tsc" }); + const host = createSolutionBuilderHostForBaseline(sys as TscCompileSystem); const builder = createSolutionBuilder(host, ["/src/third"], { dry: false, force: false, verbose: true }); builder.build(); fs.makeReadonly(); diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index b3b51994b6d6e..c74fba5eb1176 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -21,7 +21,8 @@ namespace ts { function getSampleFsAfterBuild() { if (projFsWithBuild) return projFsWithBuild; const fs = projFs.shadow(); - const host = fakes.SolutionBuilderHost.create(fs); + const sys = new fakes.System(fs, { executingFilePath: "/lib/tsc" }); + const host = createSolutionBuilderHostForBaseline(sys as TscCompileSystem); const builder = createSolutionBuilder(host, ["/src/tests"], {}); builder.build(); fs.makeReadonly(); diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 8b3a08c3f9db1..90b113820ce7c 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -17,6 +17,12 @@ Input:: //// [/src/2/second-output.tsbuildinfo] +//// [/src/2/second-output.tsbuildinfo.baseline.txt] + + +//// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/bin/first-output.d.ts] @@ -32,6 +38,12 @@ Input:: //// [/src/first/bin/first-output.tsbuildinfo] +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] + + +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/first_PART1.ts] @@ -102,6 +114,12 @@ Input:: //// [/src/third/thirdjs/output/third-output.tsbuildinfo] +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] + + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 250a854a535cf..a863089aab318 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -17,6 +17,12 @@ Input:: //// [/src/2/second-output.tsbuildinfo] +//// [/src/2/second-output.tsbuildinfo.baseline.txt] + + +//// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/bin/first-output.d.ts] @@ -32,6 +38,12 @@ Input:: //// [/src/first/bin/first-output.tsbuildinfo] +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] + + +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/first_PART1.ts] @@ -102,6 +114,12 @@ Input:: //// [/src/third/thirdjs/output/third-output.tsbuildinfo] +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] + + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 8cba2ae78750f..c9a080c508381 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -36,6 +36,12 @@ declare class C { //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +//// [/src/2/second-output.tsbuildinfo.baseline.txt] + + +//// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/bin/first-output.d.ts] interface TheFirst { none: any; @@ -59,6 +65,12 @@ declare function f(): string; //// [/src/first/bin/first-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] + + +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/first_PART1.ts] interface TheFirst { none: any; @@ -175,6 +187,12 @@ declare var c: C; //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] + + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/third/third_part1.ts] var c = new C(); c.doSomething(); @@ -207,22 +225,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:25 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:26 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:39 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:27 AM] Building project '/src/first/tsconfig.json'... +[12:00:40 AM] Building project '/src/first/tsconfig.json'... -[12:00:35 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:48 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:36 AM] Building project '/src/second/tsconfig.json'... +[12:00:49 AM] Building project '/src/second/tsconfig.json'... -[12:00:44 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:45 AM] Building project '/src/third/tsconfig.json'... +[12:00:58 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -234,42 +252,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} -//// [/src/2/second-output.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/2/second-output.js ----------------------------------------------------------------------- -text: (0-285) -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); - -====================================================================== -====================================================================== -File:: /src/2/second-output.d.ts ----------------------------------------------------------------------- -text: (0-100) -declare namespace N { -} -declare namespace N { -} -declare class C { - doSomething(): void; -} - -====================================================================== - +//// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -308,34 +291,7 @@ declare class C { //// [/src/first/bin/first-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} -//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/first/bin/first-output.js ----------------------------------------------------------------------- -text: (0-110) -var s = "Hello, world"; -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - -====================================================================== -====================================================================== -File:: /src/first/bin/first-output.d.ts ----------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - -====================================================================== - +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -375,79 +331,7 @@ declare function f(): string; //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/third/thirdjs/output/third-output.js ----------------------------------------------------------------------- -prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (0-110) -var s = "Hello, world"; -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - ----------------------------------------------------------------------- -prepend: (110-395):: ../../../2/second-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (110-395) -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); - ----------------------------------------------------------------------- -text: (395-431) -var c = new C(); -c.doSomething(); - -====================================================================== -====================================================================== -File:: /src/third/thirdjs/output/third-output.d.ts ----------------------------------------------------------------------- -prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - ----------------------------------------------------------------------- -prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (157-257) -declare namespace N { -} -declare namespace N { -} -declare class C { - doSomething(): void; -} - ----------------------------------------------------------------------- -text: (257-276) -declare var c: C; - -====================================================================== - +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { "bundle": { diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 19b39ab7ff210..661bbe2b60d83 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -51,6 +51,12 @@ var C = (function () { //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +//// [/src/2/second-output.tsbuildinfo.baseline.txt] + + +//// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/bin/first-output.d.ts] interface TheFirst { none: any; @@ -71,6 +77,12 @@ declare function f(): string; //// [/src/first/bin/first-output.js.map] +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] + + +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/first/first_PART1.ts] interface TheFirst { none: any; @@ -194,6 +206,12 @@ c.doSomething(); //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] + + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] + + //// [/src/third/third_part1.ts] @@ -224,22 +242,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:26 AM] Projects in this build: +[12:00:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:27 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist +[12:00:40 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/first/tsconfig.json'... +[12:00:41 AM] Building project '/src/first/tsconfig.json'... -[12:00:36 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' -[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:38 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:51 AM] Updating output of project '/src/third/tsconfig.json'... -[12:00:41 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:00:54 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -251,223 +269,12 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} -//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/first/bin/first-output.js ----------------------------------------------------------------------- -text: (0-110) -var s = "Hello, world"; -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - -====================================================================== -====================================================================== -File:: /src/first/bin/first-output.d.ts ----------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - -====================================================================== - -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "..", - "sourceFiles": [ - "../first_PART1.ts", - "../first_part2.ts", - "../first_part3.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 110, - "kind": "text" - } - ] - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 157, - "kind": "text" - } - ] - } - }, - "version": "FakeTSVersion", - "size": 252 -} - +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] file changed its modified time //// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/third/thirdjs/output/third-output.js ----------------------------------------------------------------------- -prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (0-110) -var s = "Hello, world"; -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - ----------------------------------------------------------------------- -prepend: (110-395):: ../../../2/second-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (110-395) -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); - ----------------------------------------------------------------------- -text: (395-431) -var c = new C(); -c.doSomething(); - -====================================================================== -====================================================================== -File:: /src/third/thirdjs/output/third-output.d.ts ----------------------------------------------------------------------- -prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - ----------------------------------------------------------------------- -prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (157-257) -declare namespace N { -} -declare namespace N { -} -declare class C { - doSomething(): void; -} - ----------------------------------------------------------------------- -text: (257-276) -declare var c: C; - -====================================================================== - -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "../..", - "sourceFiles": [ - "../../third_part1.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 110, - "kind": "prepend", - "data": "../../../first/bin/first-output.js", - "texts": [ - { - "pos": 0, - "end": 110, - "kind": "text" - } - ] - }, - { - "pos": 110, - "end": 395, - "kind": "prepend", - "data": "../../../2/second-output.js", - "texts": [ - { - "pos": 110, - "end": 395, - "kind": "text" - } - ] - }, - { - "pos": 395, - "end": 431, - "kind": "text" - } - ] - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 157, - "kind": "prepend", - "data": "../../../first/bin/first-output.d.ts", - "texts": [ - { - "pos": 0, - "end": 157, - "kind": "text" - } - ] - }, - { - "pos": 157, - "end": 257, - "kind": "prepend", - "data": "../../../2/second-output.d.ts", - "texts": [ - { - "pos": 157, - "end": 257, - "kind": "text" - } - ] - }, - { - "pos": 257, - "end": 276, - "kind": "text" - } - ] - } - }, - "version": "FakeTSVersion", - "size": 720 -} - +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index d15e61761e604..e656409a0666a 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -62,6 +62,9 @@ declare const dts: any; //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] @@ -92,6 +95,9 @@ declare const dts: any; //// [/src/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; export declare const m: typeof mod; @@ -121,6 +127,9 @@ export declare const m: typeof mod; //// [/src/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] @@ -131,16 +140,16 @@ export declare const m: typeof mod; Output:: /lib/tsc --b /src/tests --verbose -[12:00:20 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' exitCode:: ExitStatus.Success @@ -156,18 +165,18 @@ const m = 10; Output:: /lib/tsc --b /src/tests --verbose -[12:00:25 AM] Projects in this build: +[12:00:28 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:26 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:29 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' -[12:00:27 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:30 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' -[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/index.ts' +[12:00:31 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/index.ts' -[12:00:29 AM] Building project '/src/tests/tsconfig.json'... +[12:00:32 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -232,24 +241,24 @@ export function multiply(a: number, b: number) { return a * b; } Output:: /lib/tsc --b /src/tests --verbose -[12:00:35 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:36 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' -[12:00:37 AM] Building project '/src/core/tsconfig.json'... +[12:00:40 AM] Building project '/src/core/tsconfig.json'... -[12:00:43 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:46 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -[12:00:48 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:51 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:50 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:53 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:55 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:58 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:57 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -346,18 +355,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:02 AM] Projects in this build: +[12:01:05 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:03 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' +[12:01:06 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' -[12:01:04 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:01:07 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' -[12:01:05 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' +[12:01:08 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' -[12:01:06 AM] Building project '/src/tests/tsconfig.json'... +[12:01:09 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index b68bc0aba1c0e..59979b40ff90d 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -35,6 +35,9 @@ Input:: //// [/src/core/tsconfig.tsbuildinfo] +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] @@ -53,6 +56,9 @@ Input:: //// [/src/logic/tsconfig.tsbuildinfo] +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] @@ -68,6 +74,9 @@ Input:: //// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index 45ca7a6246891..22d0e0b6211ac 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -35,6 +35,9 @@ Input:: //// [/src/core/tsconfig.tsbuildinfo] +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] @@ -53,6 +56,9 @@ Input:: //// [/src/logic/tsconfig.tsbuildinfo] +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] @@ -68,6 +74,9 @@ Input:: //// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index c013a75b9ebc6..7ff3f47a647e5 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -42,6 +42,9 @@ Input:: //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] @@ -72,6 +75,9 @@ Input:: //// [/src/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] @@ -99,6 +105,9 @@ Input:: //// [/src/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] @@ -109,11 +118,11 @@ Input:: Output:: /lib/tsc --b /src/tests --dry -[12:00:20 AM] Project '/src/core/tsconfig.json' is up to date +[12:00:23 AM] Project '/src/core/tsconfig.json' is up to date -[12:00:21 AM] Project '/src/logic/tsconfig.json' is up to date +[12:00:24 AM] Project '/src/logic/tsconfig.json' is up to date -[12:00:22 AM] Project '/src/tests/tsconfig.json' is up to date +[12:00:25 AM] Project '/src/tests/tsconfig.json' is up to date exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 14af76d078d25..3e015e5678ea0 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -63,6 +63,9 @@ declare const dts: any; //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] export declare function getSecondsInDay(): number; import * as mod from '../core/anotherModule'; @@ -102,6 +105,9 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; export declare const m: typeof mod; @@ -139,6 +145,9 @@ export const m = mod; //// [/src/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] @@ -149,22 +158,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose -[12:00:20 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:21 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:24 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:22 AM] Building project '/src/core/tsconfig.json'... +[12:00:25 AM] Building project '/src/core/tsconfig.json'... -[12:00:31 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:34 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:32 AM] Building project '/src/logic/tsconfig.json'... +[12:00:35 AM] Building project '/src/logic/tsconfig.json'... -[12:00:38 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:41 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:39 AM] Building project '/src/tests/tsconfig.json'... +[12:00:42 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 51fc35f9459f0..24cab3192dd65 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -63,6 +63,9 @@ declare const dts: any; //// [/src/core/tsconfig.tsbuildinfo] +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] export declare function getSecondsInDay(): number; import * as mod from '../core/anotherModule'; @@ -102,6 +105,9 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; export declare const m: typeof mod; @@ -139,6 +145,9 @@ export const m = mod; //// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] @@ -149,22 +158,22 @@ export const m = mod; Output:: /lib/tsc --b /src/tests --verbose --force -[12:00:20 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:21 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt +[12:00:24 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt -[12:00:22 AM] Building project '/src/core/tsconfig.json'... +[12:00:25 AM] Building project '/src/core/tsconfig.json'... -[12:00:31 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt +[12:00:34 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt -[12:00:32 AM] Building project '/src/logic/tsconfig.json'... +[12:00:35 AM] Building project '/src/logic/tsconfig.json'... -[12:00:38 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt +[12:00:41 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt -[12:00:39 AM] Building project '/src/tests/tsconfig.json'... +[12:00:42 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -176,201 +185,13 @@ exitCode:: ExitStatus.Success //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] file written with same contents -//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./anothermodule.ts", - "./index.ts", - "./some_decl.d.ts" - ], - "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; };", - "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 - }, - "./anothermodule.ts": { - "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" - }, - "./index.ts": { - "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" - }, - "./some_decl.d.ts": { - "version": "-9253692965-declare const dts: any;\r\n", - "signature": "-9253692965-declare const dts: any;\r\n", - "affectsGlobalScope": true - } - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "skipDefaultLibCheck": true - }, - "referencedMap": {}, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./anothermodule.ts", - "./index.ts", - "./some_decl.d.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1134 -} - +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] file written with same contents -//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "./index.ts" - ], - "fileNamesList": [ - [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - ], - "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; };", - "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 - }, - "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" - }, - "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" - }, - "./index.ts": { - "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true, - "sourceMap": true - }, - "referencedMap": { - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - }, - "exportedModulesMap": { - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "./index.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1370 -} - +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] file written with same contents -//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts", - "./index.ts" - ], - "fileNamesList": [ - [ - "../core/anothermodule.d.ts" - ], - [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" - ] - ], - "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; };", - "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 - }, - "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" - }, - "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" - }, - "../logic/index.d.ts": { - "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", - "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" - }, - "./index.ts": { - "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true - }, - "referencedMap": { - "../logic/index.d.ts": [ - "../core/anothermodule.d.ts" - ], - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" - ] - }, - "exportedModulesMap": { - "../logic/index.d.ts": [ - "../core/anothermodule.d.ts" - ], - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "../logic/index.d.ts", - "./index.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1578 -} - +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 4c29fd368109e..f1dd81f5a837b 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -42,6 +42,9 @@ Input:: //// [/src/core/tsconfig.tsbuildinfo] +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/logic/index.d.ts] @@ -72,6 +75,9 @@ Input:: //// [/src/logic/tsconfig.tsbuildinfo] +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/tests/index.d.ts] @@ -99,6 +105,9 @@ Input:: //// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] + + //// [/src/ui/index.ts] From c79af2c39bfe929908504cfd50ec96bc06caa012 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 14 Apr 2022 10:26:40 -0700 Subject: [PATCH 03/64] Write new file text in baseline even if the file wasnt read on the shadow --- src/harness/vfsUtil.ts | 3 +- .../file-name-and-output-name-clashing.js | 14 +- .../when-tsconfig-extends-the-missing-file.js | 14 +- ...nce-and-both-extend-config-with-include.js | 2 +- ...ugh-triple-slash-but-uses-no-references.js | 8 +- ...s-not-in-rootDir-at-the-import-location.js | 8 + ...ts-the-error-about-it-by-stopping-build.js | 59 ++- ...es-is-empty-and-references-are-provided.js | 10 + ...is-empty-and-no-references-are-provided.js | 35 +- .../exitCodeOnBogusFile/test-exit-code.js | 14 +- ...fiers-across-projects-resolve-correctly.js | 14 +- .../outFile/builds-till-project-specified.js | 18 +- .../tsbuild/outFile/clean-projects.js | 423 +++++++++++++++++- .../outFile/cleans-till-project-specified.js | 423 +++++++++++++++++- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 332 +++++++++++++- ...-buildInfo-absence-results-in-new-build.js | 300 ++++++++++++- ...nal-when-prepend-is-completely-internal.js | 36 +- ...reports-error-for-same-tsbuildinfo-file.js | 13 +- ...eports-no-error-when-tsbuildinfo-differ.js | 13 +- .../files-containing-json-file.js | 51 ++- .../resolveJsonModule/include-and-files.js | 48 +- ...r-include-and-file-name-matches-ts-file.js | 51 ++- ...nclude-of-json-along-with-other-include.js | 51 ++- .../tsbuild/resolveJsonModule/include-only.js | 51 ++- .../tsbuild/resolveJsonModule/sourcemap.js | 51 ++- .../resolveJsonModule/without-outDir.js | 51 ++- .../always-builds-under-with-force-option.js | 13 + ...t-in-not-build-order-doesnt-throw-error.js | 46 +- .../building-using-buildReferencedProject.js | 21 + ...rectly-when-declarationDir-is-specified.js | 13 + ...ilds-correctly-when-outDir-is-specified.js | 13 + ...composite-or-doesnt-have-any-references.js | 53 ++- .../sample1/builds-till-project-specified.js | 21 + .../can-detect-when-and-what-to-rebuild.js | 260 ++++++++++- ...t-in-not-build-order-doesnt-throw-error.js | 327 +++++++++++++- .../sample1/cleans-till-project-specified.js | 327 +++++++++++++- ...ojects-if-upstream-projects-have-errors.js | 21 + ...vent-if-version-doesnt-match-ts-version.js | 98 +++- ...does-not-write-any-files-in-a-dry-build.js | 46 +- .../reference/tsbuild/sample1/explainFiles.js | 13 + ...it-would-skip-builds-during-a-dry-build.js | 286 +++++++++++- .../tsbuild/sample1/listEmittedFiles.js | 13 + .../reference/tsbuild/sample1/listFiles.js | 13 + ...-in-tsbuildinfo-doesnt-match-ts-version.js | 240 +++++++++- ...uilds-from-start-if-force-option-is-set.js | 246 +++++++++- ...uilds-when-extended-config-file-changes.js | 13 + .../sample1/removes-all-files-it-built.js | 292 +++++++++++- .../reference/tsbuild/sample1/sample.js | 13 + .../when-declaration-option-changes.js | 53 ++- .../when-esModuleInterop-option-changes.js | 13 + .../when-logic-specifies-tsBuildInfoFile.js | 13 + .../sample1/when-module-option-changes.js | 53 ++- .../sample1/when-target-option-changes.js | 53 ++- ...de-resolution-with-external-module-name.js | 7 +- ...ault-lib-that-augments-the-global-scope.js | 14 +- ...file-is-added-to-the-referenced-project.js | 2 +- .../tsc/listFilesOnly/combined-with-watch.js | 16 +- ...eferences-composite-project-with-noEmit.js | 2 +- ...ypes-found-doesn't-crash-under---strict.js | 2 +- ...th-no-backing-types-found-doesn't-crash.js | 2 +- ...does-not-add-color-when-NO_COLOR-is-set.js | 14 +- ...-when-host-can't-provide-terminal-width.js | 14 +- ...tatus.DiagnosticsPresent_OutputsSkipped.js | 14 +- 63 files changed, 4556 insertions(+), 197 deletions(-) diff --git a/src/harness/vfsUtil.ts b/src/harness/vfsUtil.ts index b093dcc3fc38f..f0248d7343d8a 100644 --- a/src/harness/vfsUtil.ts +++ b/src/harness/vfsUtil.ts @@ -700,6 +700,7 @@ namespace vfs { * @param base The base file system. If not provided, this file system's `shadowRoot` is used (if present). */ public diff(base?: FileSystem | undefined, options: DiffOptions = {}) { + debugger; if (!base && !options.baseIsNotShadowRoot) base = this.shadowRoot; const differences: FileSet = {}; const hasDifferences = base ? @@ -842,7 +843,7 @@ namespace vfs { container[basename] = new Symlink(node.symlink); } else { - container[basename] = new File(node.buffer || ""); + container[basename] = new File(changed._getBuffer(node)); } return true; } diff --git a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js index e8cecc75d8cac..88b1765793dac 100644 --- a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js +++ b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/bar.ts] diff --git a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js index b948e6af2015f..6671142bb0b43 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/tsconfig.first.json] { diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 0a8e7329e8948..7f10bc7140a55 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -27,7 +27,7 @@ export const a: Unrestricted = 1; type Unrestricted = any; //// [/src/tsconfig.json] - +{"references":[{"path":"./shared/tsconfig.json"},{"path":"./webpack/tsconfig.json"}],"files":[]} //// [/src/webpack/index.ts] export const b: Unrestricted = 1; diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index e040d7d027a4a..9fdd096c56333 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -19,7 +19,7 @@ declare const console: { log(msg: any): void; }; export declare type Nominal = MyNominal; //// [/src/solution/src/common/tsconfig.json] - +{"extends":"../../tsconfig.base.json","compilerOptions":{"composite":true},"include":["./nominal.ts"]} //// [/src/solution/src/common/types.d.ts] declare type MyNominal = T & { @@ -31,7 +31,7 @@ import { Nominal } from '../common/nominal'; export type MyNominal = Nominal; //// [/src/solution/src/subProject/tsconfig.json] - +{"extends":"../../tsconfig.base.json","compilerOptions":{"composite":true},"references":[{"path":"../common"}],"include":["./index.ts"]} //// [/src/solution/src/subProject2/index.ts] import { MyNominal } from '../subProject/index'; @@ -43,10 +43,10 @@ export function getVar(): keyof typeof variable { } //// [/src/solution/src/subProject2/tsconfig.json] - +{"extends":"../../tsconfig.base.json","compilerOptions":{"composite":true},"references":[{"path":"../subProject"}],"include":["./index.ts"]} //// [/src/solution/src/tsconfig.json] - +{"compilerOptions":{"composite":true},"references":[{"path":"./subProject"},{"path":"./subProject2"}],"include":[]} //// [/src/solution/tsconfig.base.json] {"compilerOptions":{"rootDir":"./","outDir":"lib"}} diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index c01da5a0d4b78..eb2e9c90ce427 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -132,6 +132,14 @@ export function lastElementOf(arr: T[]): T | undefined { } //// [/src/zoo/zoo.ts] +import { Dog, createDog } from '../animals/index'; + +export function createZoo(): Array { + return [ + createDog() + ]; +} + diff --git a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index d67770a203c98..7a5ecdf0d2ba4 100644 --- a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -1,14 +1,53 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/animals/animal.ts] +export type Size = "small" | "medium" | "large"; +export default interface Animal { + size: Size; +} //// [/src/animals/dog.ts] +import Animal from '.'; +import { makeRandomName } from '../core/utilities'; + +export interface Dog extends Animal { + woof(): void; + name: string; +} + +export function createDog(): Dog { + return ({ + size: "medium", + woof: function(this: Dog) { + console.log(`${this.name} says "Woof"!`); + }, + name: makeRandomName() + }); +} + //// [/src/animals/index.ts] +import Animal from './animal'; + +export default Animal; +import { createDog, Dog } from './dog'; +export { createDog, Dog }; //// [/src/animals/tsconfig.json] @@ -40,6 +79,16 @@ Input:: //// [/src/core/utilities.ts] +export function makeRandomName() { + return "Bob!?! "; +} + +export function lastElementOf(arr: T[]): T | undefined { + if (arr.length === 0) return undefined; + return arr[arr.length - 1]; +} + + //// [/src/tsconfig-base.json] { @@ -87,6 +136,14 @@ Input:: } //// [/src/zoo/zoo.ts] +import { Dog, createDog } from '../animals/index'; + +export function createZoo(): Array { + return [ + createDog() + ]; +} + diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index e39985e53a295..fa52d73100170 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -30,6 +30,16 @@ export function multiply(a: number, b: number) { return a * b; } //// [/src/no-references/tsconfig.json] +{ + "references": [], + "files": [], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} //// [/src/with-references/tsconfig.json] diff --git a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js index 12eee2bc1e7c9..de16bd6493892 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js @@ -1,11 +1,32 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/index.ts] +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} //// [/src/no-references/tsconfig.json] @@ -22,6 +43,18 @@ Input:: //// [/src/with-references/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + ], + "files": [], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} diff --git a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js index 2a7d6272ff3ec..e2cf85386187f 100644 --- a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js +++ b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 2f32c0cec68c6..9ed239f0b345d 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/lib/lib.es2020.full.d.ts] /// diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index d8f418deee4b3..2e60f138d171e 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -15,13 +15,27 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; //// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); //// [/src/first/first_part2.ts] +console.log(f()); //// [/src/first/first_part3.ts] - +function f() { + return "JS does hoists"; +} //// [/src/first/tsconfig.json] { @@ -86,6 +100,8 @@ class C { //// [/src/third/third_part1.ts] +var c = new C(); +c.doSomething(); //// [/src/third/tsconfig.json] diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 90b113820ce7c..086dc3f5822e2 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -1,57 +1,234 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/2/second-output.d.ts] - +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.d.ts.map] - +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"} //// [/src/2/second-output.js] - +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.js.map] - +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-285) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-100) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +====================================================================== //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] - +{ + "bundle": { + "commonSourceDirectory": "../second", + "sourceFiles": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 285, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 100, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 255 +} //// [/src/first/bin/first-output.d.ts] - +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map //// [/src/first/bin/first-output.d.ts.map] - +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} //// [/src/first/bin/first-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.js.map] - +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +====================================================================== +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 252 +} //// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); //// [/src/first/first_part2.ts] +console.log(f()); //// [/src/first/first_part3.ts] - +function f() { + return "JS does hoists"; +} //// [/src/first/tsconfig.json] { @@ -76,9 +253,25 @@ Input:: //// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} //// [/src/second/second_part2.ts] +class C { + doSomething() { + console.log("something got done"); + } +} //// [/src/second/tsconfig.json] @@ -100,27 +293,217 @@ Input:: //// [/src/third/thirdjs/output/third-output.d.ts] - +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.d.ts.map] - +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} //// [/src/third/thirdjs/output/third-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.js.map] - +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +---------------------------------------------------------------------- +prepend: (110-395):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (110-395) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +text: (395-431) +var c = new C(); +c.doSomething(); + +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; +====================================================================== + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../..", + "sourceFiles": [ + "../../third_part1.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "prepend", + "data": "../../../first/bin/first-output.js", + "texts": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + { + "pos": 110, + "end": 395, + "kind": "prepend", + "data": "../../../2/second-output.js", + "texts": [ + { + "pos": 110, + "end": 395, + "kind": "text" + } + ] + }, + { + "pos": 395, + "end": 431, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "prepend", + "data": "../../../first/bin/first-output.d.ts", + "texts": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + }, + { + "pos": 157, + "end": 257, + "kind": "prepend", + "data": "../../../2/second-output.d.ts", + "texts": [ + { + "pos": 157, + "end": 257, + "kind": "text" + } + ] + }, + { + "pos": 257, + "end": 276, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 720 +} //// [/src/third/third_part1.ts] +var c = new C(); +c.doSomething(); //// [/src/third/tsconfig.json] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index a863089aab318..408ca5609ad50 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -1,57 +1,234 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/2/second-output.d.ts] - +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.d.ts.map] - +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"} //// [/src/2/second-output.js] - +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.js.map] - +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-285) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-100) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +====================================================================== //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] - +{ + "bundle": { + "commonSourceDirectory": "../second", + "sourceFiles": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 285, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 100, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 255 +} //// [/src/first/bin/first-output.d.ts] - +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map //// [/src/first/bin/first-output.d.ts.map] - +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} //// [/src/first/bin/first-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.js.map] - +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +====================================================================== +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 252 +} //// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); //// [/src/first/first_part2.ts] +console.log(f()); //// [/src/first/first_part3.ts] - +function f() { + return "JS does hoists"; +} //// [/src/first/tsconfig.json] { @@ -76,9 +253,25 @@ Input:: //// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} //// [/src/second/second_part2.ts] +class C { + doSomething() { + console.log("something got done"); + } +} //// [/src/second/tsconfig.json] @@ -100,27 +293,217 @@ Input:: //// [/src/third/thirdjs/output/third-output.d.ts] - +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.d.ts.map] - +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} //// [/src/third/thirdjs/output/third-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.js.map] - +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] - +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +---------------------------------------------------------------------- +prepend: (110-395):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (110-395) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +text: (395-431) +var c = new C(); +c.doSomething(); + +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; +====================================================================== + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../..", + "sourceFiles": [ + "../../third_part1.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "prepend", + "data": "../../../first/bin/first-output.js", + "texts": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + { + "pos": 110, + "end": 395, + "kind": "prepend", + "data": "../../../2/second-output.js", + "texts": [ + { + "pos": 110, + "end": 395, + "kind": "text" + } + ] + }, + { + "pos": 395, + "end": 431, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "prepend", + "data": "../../../first/bin/first-output.d.ts", + "texts": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + }, + { + "pos": 157, + "end": 257, + "kind": "prepend", + "data": "../../../2/second-output.d.ts", + "texts": [ + { + "pos": 157, + "end": 257, + "kind": "text" + } + ] + }, + { + "pos": 257, + "end": 276, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 720 +} //// [/src/third/third_part1.ts] +var c = new C(); +c.doSomething(); //// [/src/third/tsconfig.json] diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index c9a080c508381..eba378c659560 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -25,22 +25,98 @@ declare class C { //# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.d.ts.map] - +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"} //// [/src/2/second-output.js] - +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.js.map] - +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-285) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-100) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +====================================================================== //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] - +{ + "bundle": { + "commonSourceDirectory": "../second", + "sourceFiles": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 285, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 100, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 255 +} //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -54,22 +130,82 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/src/first/bin/first-output.d.ts.map] - +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} //// [/src/first/bin/first-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.js.map] - +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +====================================================================== +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 252 +} //// [/src/first/first_PART1.ts] interface TheFirst { @@ -176,22 +312,194 @@ declare var c: C; //# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.d.ts.map] - +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} //// [/src/third/thirdjs/output/third-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.js.map] - +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +---------------------------------------------------------------------- +prepend: (110-395):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (110-395) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +---------------------------------------------------------------------- +text: (395-431) +var c = new C(); +c.doSomething(); + +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; + +====================================================================== + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../..", + "sourceFiles": [ + "../../third_part1.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "prepend", + "data": "../../../first/bin/first-output.js", + "texts": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + { + "pos": 110, + "end": 395, + "kind": "prepend", + "data": "../../../2/second-output.js", + "texts": [ + { + "pos": 110, + "end": 395, + "kind": "text" + } + ] + }, + { + "pos": 395, + "end": 431, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "prepend", + "data": "../../../first/bin/first-output.d.ts", + "texts": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + }, + { + "pos": 157, + "end": 257, + "kind": "prepend", + "data": "../../../2/second-output.d.ts", + "texts": [ + { + "pos": 157, + "end": 257, + "kind": "text" + } + ] + }, + { + "pos": 257, + "end": 276, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 720 +} //// [/src/third/third_part1.ts] var c = new C(); diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 661bbe2b60d83..1b9d7357ac1d7 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -52,10 +52,71 @@ var C = (function () { {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-285) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-100) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +====================================================================== //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] - +{ + "bundle": { + "commonSourceDirectory": "../second", + "sourceFiles": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 285, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 100, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 255 +} //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -69,19 +130,79 @@ declare function f(): string; //# sourceMappingURL=first-output.d.ts.map //// [/src/first/bin/first-output.d.ts.map] - +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} //// [/src/first/bin/first-output.js] - +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.js.map] - +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +====================================================================== +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 252 +} //// [/src/first/first_PART1.ts] interface TheFirst { @@ -129,9 +250,25 @@ function f() { //// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} //// [/src/second/second_part2.ts] +class C { + doSomething() { + console.log("something got done"); + } +} //// [/src/second/tsconfig.json] @@ -207,12 +344,163 @@ c.doSomething(); {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +---------------------------------------------------------------------- +prepend: (110-395):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (110-395) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); -//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +---------------------------------------------------------------------- +text: (395-431) +var c = new C(); +c.doSomething(); +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; + +====================================================================== + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../..", + "sourceFiles": [ + "../../third_part1.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "prepend", + "data": "../../../first/bin/first-output.js", + "texts": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + { + "pos": 110, + "end": 395, + "kind": "prepend", + "data": "../../../2/second-output.js", + "texts": [ + { + "pos": 110, + "end": 395, + "kind": "text" + } + ] + }, + { + "pos": 395, + "end": 431, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "prepend", + "data": "../../../first/bin/first-output.d.ts", + "texts": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + }, + { + "pos": 157, + "end": 257, + "kind": "prepend", + "data": "../../../2/second-output.d.ts", + "texts": [ + { + "pos": 157, + "end": 257, + "kind": "text" + } + ] + }, + { + "pos": 257, + "end": 276, + "kind": "text" + } + ] + } + }, + "version": "FakeTSVersion", + "size": 720 +} //// [/src/third/third_part1.ts] +var c = new C(); +c.doSomething(); //// [/src/third/tsconfig.json] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 2aac975ccb514..7ab0ff0f81b85 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -18,21 +18,55 @@ declare const console: { log(msg: any): void; }; /* @internal */ const A = 1; //// [/src/first/first_part2.ts] +console.log(f()); //// [/src/first/first_part3.ts] - +function f() { + return "JS does hoists"; +} //// [/src/first/tsconfig.json] {"compilerOptions":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true,"sourceMap":true,"outFile":"./bin/first-output.js"},"files":["/src/first/first_PART1.ts"]} //// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} //// [/src/second/second_part2.ts] +class C { + doSomething() { + console.log("something got done"); + } +} //// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 5e539082f2db5..af12a1d808987 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -33,7 +33,18 @@ export const Other = 0; {"compilerOptions":{"composite":true,"outDir":"../../dist/"}} //// [/src/tsconfig.base.json] - +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "rootDir": "./src/", + "outDir": "./dist/", + "skipDefaultLibCheck": true + }, + "exclude": [ + "node_modules" + ] +} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index bbbab45b84094..65971ddb45974 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -33,7 +33,18 @@ export const Other = 0; {"compilerOptions":{"composite":true,"outDir":"../../dist/"}} //// [/src/tsconfig.base.json] - +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "rootDir": "./src/", + "outDir": "./dist/", + "skipDefaultLibCheck": true + }, + "exclude": [ + "node_modules" + ] +} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index b244c405cb5c8..e0afb12bfe0e7 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -42,13 +42,58 @@ export default hello.hello } //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*", "src/**/*.json" + ] +} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index bf1b71e97b993..3df635e6fd5c2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -25,10 +25,38 @@ import hello from "./hello.json" export default hello.hello //// [/src/tsconfig_withFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/index.ts", "src/hello.json" + ] +} //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] { @@ -51,7 +79,21 @@ export default hello.hello } //// [/src/tsconfig_withIncludeOfJson.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*", "src/**/*.json" + ] +} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 0b4eb450b0016..4f49b681e4de4 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -23,13 +23,58 @@ import hello from "./index.json" export default hello.hello //// [/src/tsconfig_withFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/index.ts", "src/hello.json" + ] +} //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index a5b55ae0d6220..a4bf39e878b53 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -25,13 +25,58 @@ import hello from "./hello.json" export default hello.hello //// [/src/tsconfig_withFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/index.ts", "src/hello.json" + ] +} //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index c588d3c628c30..476128c015bea 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -25,7 +25,21 @@ import hello from "./hello.json" export default hello.hello //// [/src/tsconfig_withFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/index.ts", "src/hello.json" + ] +} //// [/src/tsconfig_withInclude.json] { @@ -45,10 +59,41 @@ export default hello.hello } //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*", "src/**/*.json" + ] +} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 93a8d9ef1349b..deb036bfb1a22 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -42,13 +42,58 @@ export default hello.hello } //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*", "src/**/*.json" + ] +} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index c87ea3374fec5..1bbebaaee2941 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -42,13 +42,58 @@ export default hello.hello } //// [/src/tsconfig_withInclude.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeAndFiles.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "files": [ + "src/hello.json" + ], + "include": [ + "src/**/*" + ] +} //// [/src/tsconfig_withIncludeOfJson.json] - +{ + "compilerOptions": { + "composite": true, + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist", + "skipDefaultLibCheck": true + }, + "include": [ + "src/**/*", "src/**/*.json" + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index fd630de324809..3f57746c6af10 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -89,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/building-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/building-project-in-not-build-order-doesnt-throw-error.js index f2f73d399f083..fdab2843fa1a7 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/building-project-in-not-build-order-doesnt-throw-error.js @@ -1,14 +1,31 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] @@ -22,6 +39,12 @@ Input:: } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -40,6 +63,14 @@ Input:: //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -58,9 +89,22 @@ Input:: } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 1918d9055b956..b727d03222dc4 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -63,6 +63,14 @@ export const m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -81,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 6e4ef715f39fb..264841f1ff168 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -77,9 +77,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 087b2c5705a49..862ea3f092d06 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -77,9 +77,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 88da920ff248e..1b3b015767245 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -39,21 +39,72 @@ declare const dts: any; } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index 08803bc8204f4..b393c11cda150 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -63,6 +63,14 @@ export const m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -81,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index e656409a0666a..929b3635693f8 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -15,12 +15,17 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] @@ -34,9 +39,17 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] @@ -63,18 +76,82 @@ declare const dts: any; {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -96,7 +173,67 @@ declare const dts: any; {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; @@ -104,9 +241,26 @@ export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -128,12 +282,102 @@ export declare const m: typeof mod; {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index 59979b40ff90d..802a37ab3b4fb 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -1,86 +1,383 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.d.ts] - +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] - +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} //// [/src/core/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/logic/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; -//// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index 22d0e0b6211ac..48d1f2020a450 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -1,86 +1,383 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.d.ts] - +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] - +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} //// [/src/core/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/logic/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; -//// [/src/tests/tsconfig.tsbuildinfo] +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 6ae588b4c5a46..01c41dab134b7 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -63,6 +63,14 @@ export const m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -81,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index f790083f99658..1294f8165a824 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -1,32 +1,65 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.d.ts] - +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] @@ -43,15 +76,34 @@ Input:: {"version":"FakeTSVersion"} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -73,12 +125,31 @@ Input:: {"version":"FakeTSVersion"} //// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -100,9 +171,22 @@ Input:: {"version":"FakeTSVersion"} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index f195ef40b1de3..9b45ce6533106 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -1,14 +1,31 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] @@ -22,6 +39,12 @@ Input:: } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -40,6 +63,14 @@ Input:: //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -58,9 +89,22 @@ Input:: } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 090690b5a89db..808c5c6bc0994 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -89,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 7ff3f47a647e5..1d42350b957e9 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -1,32 +1,65 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.d.ts] - +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] @@ -43,18 +76,82 @@ Input:: {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -76,15 +173,94 @@ Input:: {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -106,12 +282,102 @@ Input:: {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index c3206a0f47b12..9e846b4e58545 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -89,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 9174e4e8e10da..c0c59efa0cced 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -89,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 3e015e5678ea0..dbf3b21241103 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -19,9 +19,13 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] @@ -35,9 +39,17 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] @@ -64,7 +76,52 @@ declare const dts: any; {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] export declare function getSecondsInDay(): number; @@ -73,10 +130,20 @@ export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] import * as c from '../core/index'; @@ -106,7 +173,67 @@ export const m = mod; {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; @@ -114,6 +241,15 @@ export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] @@ -146,12 +282,102 @@ export const m = mod; {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 24cab3192dd65..bb33691aba34a 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -19,9 +19,13 @@ export declare const World = "hello"; //# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] @@ -35,9 +39,17 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] @@ -61,10 +73,55 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] export declare function getSecondsInDay(): number; @@ -73,10 +130,20 @@ export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] import * as c from '../core/index'; @@ -103,10 +170,70 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] import * as mod from '../core/anotherModule'; @@ -114,6 +241,15 @@ export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] @@ -143,15 +279,105 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 90aa55b58afb8..73feedb3b6ce9 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -92,9 +92,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index f1dd81f5a837b..af761e1adac15 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -1,32 +1,65 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/core/anotherModule.d.ts] - +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map //// [/src/core/anotherModule.d.ts.map] - +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} //// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; //// [/src/core/anotherModule.ts] +export const World = "hello"; //// [/src/core/index.d.ts] - +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map //// [/src/core/index.d.ts.map] - +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} //// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; //// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } //// [/src/core/some_decl.d.ts] +declare const dts: any; //// [/src/core/tsconfig.json] @@ -40,21 +73,85 @@ Input:: } //// [/src/core/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1134 +} //// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/logic/index.js] - +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map //// [/src/logic/index.js.map] - +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] @@ -73,18 +170,97 @@ Input:: //// [/src/logic/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1370 +} //// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; //// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/tests/tsconfig.json] @@ -103,15 +279,105 @@ Input:: } //// [/src/tests/tsconfig.tsbuildinfo] - +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] - +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1578 +} //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 5b6958e3fc72a..dbeb8cafdb38a 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -89,9 +89,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 56cea4ade3143..678e42639478c 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -37,21 +37,72 @@ declare const dts: any; } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index afd18111a4cc8..3a5c255046bcd 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -90,9 +90,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 742ec1c6bcb30..3c5c5c394b32a 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -90,9 +90,22 @@ export const m = mod; } //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index c8cb39943e816..a7ff8600d95c8 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -37,21 +37,72 @@ declare const dts: any; } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 17dc07c16442c..fc6789357bc70 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -47,21 +47,72 @@ declare const dts: any; } //// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; //// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} //// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; +c.leftPad("", 10); +logic.getSecondsInDay(); -//// [/src/tests/tsconfig.json] +import * as mod from '../core/anotherModule'; +export const m = mod; +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + //// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} //// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index a8eaca63553b2..57a215cb7eca1 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -23,9 +23,14 @@ import {A} from 'a'; export const b = new A(); //// [/src/c.ts] - +import {b} from './b'; +import {X} from "@ref/a"; +b; +X; //// [/src/refs/a.d.ts] +export class X {} +export class A {} //// [/src/tsconfig.a.json] diff --git a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js index 0ae751e9f5615..373c93ef276d3 100644 --- a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js +++ b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/lib/lib.esnext.d.ts] /// diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index e7ca71b47b9f8..8127ee0512290 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -18,7 +18,7 @@ declare const console: { log(msg: any): void; }; declare class class1 {} //// [/src/projects/project1/class1.ts] - +class class1 {} //// [/src/projects/project1/tsconfig.json] {"compilerOptions":{"module":"none","composite":true},"exclude":["temp"]} diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js index 682f708232638..7447094744fe5 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js @@ -1,9 +1,21 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; //// [/src/test.ts] - +export const x = 1; diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js index 567d039c7dfa2..76a9491ccae9f 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js @@ -21,7 +21,7 @@ import { x } from "../utils"; {"references":[{"path":"../utils"}]} //// [/src/utils/index.ts] - +export const x = 10; //// [/src/utils/tsconfig.json] {"compilerOptions":{"composite":true,"noEmit":true}} diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index 5c280d6f8f16f..21bbb86b25580 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -29,7 +29,7 @@ declare global { } //// [/src/project/node_modules/react/jsx-runtime.js] - +export {} //// [/src/project/src/index.tsx] export const App = () =>
; diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index d1d33bd22eb58..6e1a2c87c4a27 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -29,7 +29,7 @@ declare global { } //// [/src/project/node_modules/react/jsx-runtime.js] - +export {} //// [/src/project/src/index.tsx] export const App = () =>
; diff --git a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js index 0787913fab7b7..e963447956603 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index 1cedf13936666..50b1c2f7ed7ff 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index 1cedf13936666..50b1c2f7ed7ff 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -1,6 +1,18 @@ Input:: //// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; From 40a8c7fe1b6d6e134f6d0b9217458ae1248567c7 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 15 Apr 2022 13:25:44 -0700 Subject: [PATCH 04/64] Remove unnecessary debugger statement --- src/harness/vfsUtil.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/harness/vfsUtil.ts b/src/harness/vfsUtil.ts index f0248d7343d8a..63a3d6963d55e 100644 --- a/src/harness/vfsUtil.ts +++ b/src/harness/vfsUtil.ts @@ -700,7 +700,6 @@ namespace vfs { * @param base The base file system. If not provided, this file system's `shadowRoot` is used (if present). */ public diff(base?: FileSystem | undefined, options: DiffOptions = {}) { - debugger; if (!base && !options.baseIsNotShadowRoot) base = this.shadowRoot; const differences: FileSet = {}; const hasDifferences = base ? From 7377470be86aa3a139b79b4d3484f75f2c9a65ec Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 15 Apr 2022 11:44:33 -0700 Subject: [PATCH 05/64] Make sure that incremental correctness is checked with correct writeFile so we know buildInfo was written Also baseline these so its easy to verify the changes --- src/testRunner/unittests/tsbuild/helpers.ts | 357 ++++++++++-------- .../unittests/tsbuild/noEmitOnError.ts | 101 +++-- .../unittests/tsbuild/outputPaths.ts | 11 +- src/testRunner/unittests/tsbuild/publicApi.ts | 2 +- .../unittests/tsbuild/resolveJsonModule.ts | 6 +- src/testRunner/unittests/tsc/helpers.ts | 23 +- src/testRunner/unittests/tsc/incremental.ts | 30 +- ...c-errors-with-incremental-discrepancies.js | 10 + ...x-errors-with-incremental-discrepancies.js | 20 + ...le-from-project-reference-discrepancies.js | 10 + .../sourcemap-discrepancies.js | 10 + .../without-outDir-discrepancies.js | 10 + .../noEmit-changes-composite-discrepancies.js | 340 +++++++++++++++++ ...s-incremental-declaration-discrepancies.js | 340 +++++++++++++++++ ...oEmit-changes-incremental-discrepancies.js | 340 +++++++++++++++++ ...-initial-noEmit-composite-discrepancies.js | 60 +++ ...t-incremental-declaration-discrepancies.js | 60 +++ ...nitial-noEmit-incremental-discrepancies.js | 60 +++ ...he-signatures-are-updated-discrepancies.js | 15 + ...to-the-referenced-project-discrepancies.js | 112 ++++++ ...itOnError-semantic-errors-discrepancies.js | 10 + ...EmitOnError-syntax-errors-discrepancies.js | 10 + 22 files changed, 1710 insertions(+), 227 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors-discrepancies.js diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index 44830d3a886eb..f88561d796e23 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -209,7 +209,7 @@ interface Symbol { affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; - function generateBuildInfoProgramBaseline(sys: System, originalWriteFile: System["writeFile"], buildInfoPath: string, buildInfo: BuildInfo) { + function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { const fileInfos: ReadableProgramBuildInfo["fileInfos"] = {}; buildInfo.program?.fileInfos.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toBuilderStateFileInfo(fileInfo)); const fileNamesList = buildInfo.program?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); @@ -240,7 +240,7 @@ interface Symbol { size: getBuildInfoText({ ...buildInfo, version }).length, }; // For now its just JSON.stringify - originalWriteFile.call(sys, `${buildInfoPath}.readable.baseline.txt`, JSON.stringify(result, /*replacer*/ undefined, 2)); + sys.writeFile(`${buildInfoPath}.readable.baseline.txt`, JSON.stringify(result, /*replacer*/ undefined, 2)); function toFileName(fileId: ProgramBuildInfoFileId) { return buildInfo.program!.fileNames[fileId - 1]; @@ -268,14 +268,13 @@ interface Symbol { options: CompilerOptions, sys: System & { writtenFiles: ReadonlyCollection; }, originalReadCall?: System["readFile"], - originalWriteFile?: System["writeFile"], ) { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); if (!buildInfoPath || !sys.writtenFiles.has(toPathWithSystem(sys, buildInfoPath))) return; if (!sys.fileExists(buildInfoPath)) return; const buildInfo = getBuildInfo((originalReadCall || sys.readFile).call(sys, buildInfoPath, "utf8")!); - generateBuildInfoProgramBaseline(sys, originalWriteFile || sys.writeFile, buildInfoPath, buildInfo); + generateBuildInfoProgramBaseline(sys, buildInfoPath, buildInfo); if (!outFile(options)) return; const { jsFilePath, declarationFilePath } = getOutputPathsForBundle(options, /*forceDts*/ false); @@ -288,134 +287,173 @@ interface Symbol { generateBundleFileSectionInfo(sys, originalReadCall || sys.readFile, baselineRecorder, bundle.dts, declarationFilePath); baselineRecorder.Close(); const text = baselineRecorder.lines.join("\r\n"); - (originalWriteFile || sys.writeFile).call(sys, `${buildInfoPath}.baseline.txt`, text); + sys.writeFile(`${buildInfoPath}.baseline.txt`, text); } - - interface VerifyTscEditCorrectnessInput { + interface VerifyTscEditDescripanciesInput { + index: number; scenario: TestTscCompile["scenario"]; + subScenario: TestTscCompile["subScenario"]; + baselines: string[] | undefined; commandLineArgs: TestTscCompile["commandLineArgs"]; modifyFs: TestTscCompile["modifyFs"]; editFs: TestTscEdit["modifyFs"]; baseFs: vfs.FileSystem; newSys: TscCompileSystem; - cleanBuildDiscrepancies: TestTscEdit["cleanBuildDiscrepancies"]; - } - /** Verify that emit is same as clean build vs building after edit */ - function verifyTscEditCorrectness(input: () => VerifyTscEditCorrectnessInput, index: number, subScenario: TestTscCompile["subScenario"]) { - it(`Verify emit output file text is same when built clean for incremental edit scenario at:: ${index} ${subScenario}`, () => { - const { - scenario, commandLineArgs, cleanBuildDiscrepancies, - modifyFs, editFs, - baseFs, newSys - } = input(); - const sys = testTscCompile({ - scenario, - subScenario, - fs: () => baseFs.makeReadonly(), - commandLineArgs, - modifyFs: fs => { - if (modifyFs) modifyFs(fs); - editFs(fs); - }, - disableUseFileVersionAsSignature: true, - }); - const discrepancies = cleanBuildDiscrepancies?.(); - for (const outputFile of arrayFrom(sys.writtenFiles.keys())) { - const cleanBuildText = sys.readFile(outputFile); - const incrementalBuildText = newSys.readFile(outputFile); - const descrepancyInClean = discrepancies?.get(outputFile); - if (isBuildInfoFile(outputFile)) { - // Check only presence and absence and not text as we will do that for readable baseline - assert.isTrue(sys.fileExists(`${outputFile}.readable.baseline.txt`), `Readable baseline should be present in clean build:: File:: ${outputFile}`); - assert.isTrue(newSys.fileExists(`${outputFile}.readable.baseline.txt`), `Readable baseline should be present in incremental build:: File:: ${outputFile}`); - if (descrepancyInClean === undefined) { - verifyPresenceAbsence(incrementalBuildText, cleanBuildText, `Incremental and clean tsbuildinfo file presence should match:: File:: ${outputFile}`); - } - else { - verifyTextEqual(incrementalBuildText, cleanBuildText, descrepancyInClean, `File: ${outputFile}`); - } - } - else if (!fileExtensionIs(outputFile, ".tsbuildinfo.readable.baseline.txt")) { - verifyTextEqual(incrementalBuildText, cleanBuildText, descrepancyInClean, `File: ${outputFile}`); - } - else if (incrementalBuildText !== cleanBuildText) { - // Verify build info without affectedFilesPendingEmit - const { buildInfo: incrementalBuildInfo, readableBuildInfo: incrementalReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(incrementalBuildText); - const { buildInfo: cleanBuildInfo, readableBuildInfo: cleanReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(cleanBuildText); - verifyTextEqual(incrementalBuildInfo, cleanBuildInfo, descrepancyInClean, `TsBuild info text without affectedFilesPendingEmit ${subScenario}:: ${outputFile}::\nIncremental buildInfoText:: ${incrementalBuildText}\nClean buildInfoText:: ${cleanBuildText}`); - if (descrepancyInClean === undefined) { - // Verify file info sigantures - verifyMapLike( - incrementalReadableBuildInfo?.program?.fileInfos, - cleanReadableBuildInfo?.program?.fileInfos, - (key, incrementalFileInfo, cleanFileInfo) => { - if (incrementalFileInfo.signature !== cleanFileInfo.signature && incrementalFileInfo.signature !== incrementalFileInfo.version) { - assert.fail(`Incremental signature should either be dts signature or file version for File:: ${key}:: Incremental:: ${JSON.stringify(incrementalFileInfo)}, Clean:: ${JSON.stringify(cleanFileInfo)}}`); - } - }, - `FileInfos:: File:: ${outputFile}` - ); - // Verify exportedModulesMap - verifyMapLike( - incrementalReadableBuildInfo?.program?.exportedModulesMap, - cleanReadableBuildInfo?.program?.exportedModulesMap, - (key, incrementalReferenceSet, cleanReferenceSet) => { - if (!arrayIsEqualTo(incrementalReferenceSet, cleanReferenceSet) && !arrayIsEqualTo(incrementalReferenceSet, incrementalReadableBuildInfo!.program!.referencedMap![key])) { - assert.fail(`Incremental Reference set should either be from dts or files reference map for File:: ${key}:: Incremental:: ${JSON.stringify(incrementalReferenceSet)}, Clean:: ${JSON.stringify(cleanReferenceSet)}, referenceMap:: ${JSON.stringify(incrementalReadableBuildInfo!.program!.referencedMap![key])}}`); - } - }, - `exportedModulesMap:: File:: ${outputFile}` - ); - // Verify that incrementally pending affected file emit are in clean build since clean build can contain more files compared to incremental depending of noEmitOnError option - if (incrementalReadableBuildInfo?.program?.affectedFilesPendingEmit) { - assert.isDefined(cleanReadableBuildInfo?.program?.affectedFilesPendingEmit, `Incremental build contains affectedFilesPendingEmit, clean build should also have it: ${outputFile}::\nIncremental buildInfoText:: ${incrementalBuildText}\nClean buildInfoText:: ${cleanBuildText}`); - let expectedIndex = 0; - incrementalReadableBuildInfo.program.affectedFilesPendingEmit.forEach(([actualFile]) => { - expectedIndex = findIndex(cleanReadableBuildInfo!.program!.affectedFilesPendingEmit!, ([expectedFile]) => actualFile === expectedFile, expectedIndex); - assert.notEqual(expectedIndex, -1, `Incremental build contains ${actualFile} file as pending emit, clean build should also have it: ${outputFile}::\nIncremental buildInfoText:: ${incrementalBuildText}\nClean buildInfoText:: ${cleanBuildText}`); - expectedIndex++; - }); + descripencyExplaination: TestTscEdit["descripencyExplaination"]; + } + function verifyTscEditDescripancies({ + index, scenario, subScenario, commandLineArgs, + descripencyExplaination, baselines, + modifyFs, editFs, baseFs, newSys + }: VerifyTscEditDescripanciesInput): string[] | undefined { + const sys = testTscCompile({ + scenario, + subScenario, + fs: () => baseFs.makeReadonly(), + commandLineArgs, + modifyFs: fs => { + if (modifyFs) modifyFs(fs); + editFs(fs); + }, + disableUseFileVersionAsSignature: true, + }); + let headerAdded = false; + for (const outputFile of arrayFrom(sys.writtenFiles.keys())) { + const cleanBuildText = sys.readFile(outputFile); + const incrementalBuildText = newSys.readFile(outputFile); + if (isBuildInfoFile(outputFile)) { + // Check only presence and absence and not text as we will do that for readable baseline + if (!sys.fileExists(`${outputFile}.readable.baseline.txt`)) addBaseline(`Readable baseline not present in clean build:: File:: ${outputFile}`); + if (!newSys.fileExists(`${outputFile}.readable.baseline.txt`)) addBaseline(`Readable baseline not present in incremental build:: File:: ${outputFile}`); + verifyPresenceAbsence(incrementalBuildText, cleanBuildText, `Incremental and clean tsbuildinfo file presence differs:: File:: ${outputFile}`); + } + else if (!fileExtensionIs(outputFile, ".tsbuildinfo.readable.baseline.txt")) { + verifyTextEqual(incrementalBuildText, cleanBuildText, `File: ${outputFile}`); + } + else if (incrementalBuildText !== cleanBuildText) { + // Verify build info without affectedFilesPendingEmit + const { buildInfo: incrementalBuildInfo, readableBuildInfo: incrementalReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(incrementalBuildText); + const { buildInfo: cleanBuildInfo, readableBuildInfo: cleanReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(cleanBuildText); + verifyTextEqual(incrementalBuildInfo, cleanBuildInfo, `TsBuild info text without affectedFilesPendingEmit:: ${outputFile}::`); + // Verify file info sigantures + verifyMapLike( + incrementalReadableBuildInfo?.program?.fileInfos, + cleanReadableBuildInfo?.program?.fileInfos, + (key, incrementalFileInfo, cleanFileInfo) => { + if (incrementalFileInfo.signature !== cleanFileInfo.signature && incrementalFileInfo.signature !== incrementalFileInfo.version) { + return [ + `Incremental signature is neither dts signature nor file version for File:: ${key}`, + `Incremental:: ${JSON.stringify(incrementalFileInfo, /*replacer*/ undefined, 2)}`, + `Clean:: ${JSON.stringify(cleanFileInfo, /*replacer*/ undefined, 2)}` + ]; + } + }, + `FileInfos:: File:: ${outputFile}` + ); + // Verify exportedModulesMap + verifyMapLike( + incrementalReadableBuildInfo?.program?.exportedModulesMap, + cleanReadableBuildInfo?.program?.exportedModulesMap, + (key, incrementalReferenceSet, cleanReferenceSet) => { + if (!arrayIsEqualTo(incrementalReferenceSet, cleanReferenceSet) && !arrayIsEqualTo(incrementalReferenceSet, incrementalReadableBuildInfo!.program!.referencedMap![key])) { + return [ + `Incremental Reference set is neither from dts nor files reference map for File:: ${key}::`, + `Incremental:: ${JSON.stringify(incrementalReferenceSet, /*replacer*/ undefined, 2)}`, + `Clean:: ${JSON.stringify(cleanReferenceSet, /*replacer*/ undefined, 2)}`, + `IncrementalReferenceMap:: ${JSON.stringify(incrementalReadableBuildInfo!.program!.referencedMap![key], /*replacer*/ undefined, 2)}`, + `CleanReferenceMap:: ${JSON.stringify(cleanReadableBuildInfo!.program!.referencedMap![key], /*replacer*/ undefined, 2)}`, + ]; } + }, + `exportedModulesMap:: File:: ${outputFile}` + ); + // Verify that incrementally pending affected file emit are in clean build since clean build can contain more files compared to incremental depending of noEmitOnError option + if (incrementalReadableBuildInfo?.program?.affectedFilesPendingEmit) { + if (cleanReadableBuildInfo?.program?.affectedFilesPendingEmit === undefined) { + addBaseline( + `Incremental build contains affectedFilesPendingEmit, clean build does not have it: ${outputFile}::`, + `Incremental buildInfoText:: ${incrementalBuildText}`, + `Clean buildInfoText:: ${cleanBuildText}` + ); } + let expectedIndex = 0; + incrementalReadableBuildInfo.program.affectedFilesPendingEmit.forEach(([actualFile]) => { + expectedIndex = findIndex(cleanReadableBuildInfo!.program!.affectedFilesPendingEmit!, ([expectedFile]) => actualFile === expectedFile, expectedIndex); + if (expectedIndex === -1) { + addBaseline( + `Incremental build contains ${actualFile} file as pending emit, clean build does not have it: ${outputFile}::`, + `Incremental buildInfoText:: ${incrementalBuildText}`, + `Clean buildInfoText:: ${cleanBuildText}` + ); + } + expectedIndex++; + }); } } + } + if (!headerAdded && descripencyExplaination) addBaseline("*** Supplied descripency explaination but didnt file any difference"); + return baselines; + + function verifyTextEqual(incrementalText: string | undefined, cleanText: string | undefined, message: string) { + if (incrementalText !== cleanText) writeIncorretness(incrementalText, cleanText, message); + } - function verifyTextEqual(incrementalText: string | undefined, cleanText: string | undefined, descrepancyInClean: CleanBuildDescrepancy | undefined, message: string) { - if (descrepancyInClean === undefined) { - assert.equal(incrementalText, cleanText, message); - return; + function verifyMapLike(incremental: MapLike | undefined, clean: MapLike | undefined, verifyValue: (key: string, incrementalValue: T, cleanValue: T) => string[] | undefined, message: string) { + verifyPresenceAbsence(incremental, clean, `Incremental and clean do not match:: ${message}`); + if (!incremental || !clean) return; + const incrementalMap = new Map(getEntries(incremental)); + const cleanMap = new Map(getEntries(clean)); + if (incrementalMap.size !== cleanMap.size) { + addBaseline( + `Incremental and clean size of maps do not match:: ${message}`, + `Incremental: ${JSON.stringify(incremental, /*replacer*/ undefined, 2)}`, + `Clean: ${JSON.stringify(clean, /*replacer*/ undefined, 2)}`, + ); + return; + } + cleanMap.forEach((cleanValue, key) => { + const incrementalValue = incrementalMap.get(key); + if (!incrementalValue) { + addBaseline( + `Incremental does not contain ${key} which is present in clean:: ${message}`, + `Incremental: ${JSON.stringify(incremental, /*replacer*/ undefined, 2)}`, + `Clean: ${JSON.stringify(clean, /*replacer*/ undefined, 2)}`, + ); } - switch (descrepancyInClean) { - case CleanBuildDescrepancy.CleanFileTextDifferent: - assert.isDefined(incrementalText, `Incremental file should be present:: ${message}`); - assert.isDefined(cleanText, `Clean file should be present present:: ${message}`); - assert.notEqual(incrementalText, cleanText, message); - return; - case CleanBuildDescrepancy.CleanFilePresent: - assert.isUndefined(incrementalText, `Incremental file should be absent:: ${message}`); - assert.isDefined(cleanText, `Clean file should be present:: ${message}`); - return; - default: - Debug.assertNever(descrepancyInClean); + else { + const result = verifyValue(key, incrementalMap.get(key)!, cleanValue); + if (result) addBaseline(...result); } - } + }); + } - function verifyMapLike(incremental: MapLike | undefined, clean: MapLike | undefined, verifyValue: (key: string, incrementalValue: T, cleanValue: T) => void, message: string) { - verifyPresenceAbsence(incremental, clean, `Incremental and clean presence should match:: ${message}`); - if (!incremental) return; - const incrementalMap = new Map(getEntries(incremental)); - const cleanMap = new Map(getEntries(clean!)); - assert.equal(incrementalMap.size, cleanMap.size, `Incremental and clean size of map should match:: ${message}, Incremental keys: ${arrayFrom(incrementalMap.keys())} Clean: ${arrayFrom(cleanMap.keys())}${TestFSWithWatch.getDiffInKeys(incrementalMap, arrayFrom(cleanMap.keys()))}`); - cleanMap.forEach((cleanValue, key) => { - assert.isTrue(incrementalMap.has(key), `Expected to contain ${key} in incremental map:: ${message}, Incremental keys: ${arrayFrom(incrementalMap.keys())}`); - verifyValue(key, incrementalMap.get(key)!, cleanValue); - }); + function verifyPresenceAbsence(actual: T | undefined, expected: T | undefined, message: string) { + if (expected === undefined) { + if (actual === undefined) return; } - }); - } + else { + if (actual !== undefined) return; + } + writeIncorretness(actual, expected, message); + } + + function writeIncorretness(actual: T | undefined, expected: T | undefined, message: string) { + addBaseline( + message, + "CleanBuild:", + isString(expected) ? expected : JSON.stringify(expected), + "IncrementalBuild:", + isString(actual) ? actual : JSON.stringify(actual), + ); + } - function verifyPresenceAbsence(actual: T | undefined, expected: T | undefined, message: string) { - (expected !== undefined ? assert.isDefined : assert.isUndefined)(actual, message); + function addBaseline(...text: string[]) { + if (!baselines || !headerAdded) { + (baselines ||= []).push(`${index}:: ${subScenario}`, ...(descripencyExplaination?.()|| ["*** Needs explaination"])); + headerAdded = true; + } + baselines.push(...text); + } } function getBuildInfoForIncrementalCorrectnessCheck(text: string | undefined): { @@ -425,7 +463,7 @@ interface Symbol { if (!text) return { buildInfo: text }; const readableBuildInfo = JSON.parse(text) as ReadableBuildInfo; let sanitizedFileInfos: MapLike | undefined; - if (readableBuildInfo.program) { + if (readableBuildInfo.program?.fileInfos) { sanitizedFileInfos = {}; for (const id in readableBuildInfo.program.fileInfos) { if (hasProperty(readableBuildInfo.program.fileInfos, id)) { @@ -461,34 +499,21 @@ interface Symbol { modifyFs: (fs: vfs.FileSystem) => void; subScenario: string; commandLineArgs?: readonly string[]; - cleanBuildDiscrepancies?: () => ESMap; + descripencyExplaination?: () => readonly string[]; } - export interface VerifyTscWithEditsInput extends VerifyTscWithEditsWorkerInput { - baselineIncremental?: boolean; - } - export interface VerifyTscWithEditsWorkerInput extends TestTscCompile { + export interface VerifyTscWithEditsInput extends TestTscCompile { edits: TestTscEdit[]; } /** * Verify non watch tsc invokcation after each edit */ - export function verifyTscWithEdits(input: VerifyTscWithEditsInput) { - verifyTscWithEditsWorker(input); - if (input.baselineIncremental) { - verifyTscWithEditsWorker({ - ...input, - subScenario: `${input.subScenario} with incremental`, - commandLineArgs: [...input.commandLineArgs, "--incremental"], - }); - } - } - function verifyTscWithEditsWorker({ + export function verifyTscWithEdits({ subScenario, fs, scenario, commandLineArgs, baselineSourceMap, modifyFs, baselineReadFileCalls, baselinePrograms, edits - }: VerifyTscWithEditsWorkerInput) { + }: VerifyTscWithEditsInput) { describe(`tsc ${commandLineArgs.join(" ")} ${scenario}:: ${subScenario} serializedEdits`, () => { let sys: TscCompileSystem; let baseFs: vfs.FileSystem; @@ -528,35 +553,43 @@ interface Symbol { sys = undefined!; editsSys = undefined!; }); - describe("tsc invocation after edit", () => { - verifyTscBaseline(() => ({ - baseLine: () => { - const { file, text } = sys.baseLine(); - const texts: string[] = [text]; - editsSys.forEach((sys, index) => { - const incrementalScenario = edits[index]; - texts.push(""); - texts.push(`Change:: ${incrementalScenario.subScenario}`); - texts.push(sys.baseLine().text); - }); - return { file, text: texts.join("\r\n") }; - } - })); - }); - describe("tsc invocation after edit and clean build correctness", () => { - edits.forEach(({ commandLineArgs: editCommandLineArgs, subScenario, cleanBuildDiscrepancies }, index) => verifyTscEditCorrectness(() => ({ - scenario, - baseFs, - newSys: editsSys[index], - commandLineArgs: editCommandLineArgs || commandLineArgs, - cleanBuildDiscrepancies, - editFs: fs => { - for (let i = 0; i <= index; i++) { - edits[i].modifyFs(fs); - } - }, - modifyFs, - }), index, subScenario)); + verifyTscBaseline(() => ({ + baseLine: () => { + const { file, text } = sys.baseLine(); + const texts: string[] = [text]; + editsSys.forEach((sys, index) => { + const incrementalScenario = edits[index]; + texts.push(""); + texts.push(`Change:: ${incrementalScenario.subScenario}`); + texts.push(sys.baseLine().text); + }); + return { file, text: texts.join("\r\n") }; + } + })); + it("tsc invocation after edit and clean build correctness", () => { + let baselines: string[] | undefined; + for (let index = 0; index < edits.length; index++) { + baselines = verifyTscEditDescripancies({ + index, + scenario, + subScenario: edits[index].subScenario, + baselines, + baseFs, + newSys: editsSys[index], + commandLineArgs: edits[index].commandLineArgs || commandLineArgs, + descripencyExplaination: edits[index].descripencyExplaination, + editFs: fs => { + for (let i = 0; i <= index; i++) { + edits[i].modifyFs(fs); + } + }, + modifyFs + }); + } + Harness.Baseline.runBaseline( + `${isBuild(commandLineArgs) ? "tsbuild" : "tsc"}/${scenario}/${subScenario.split(" ").join("-")}-discrepancies.js`, + baselines ? baselines.join("\r\n") : null // eslint-disable-line no-null/no-null + ); }); }); } diff --git a/src/testRunner/unittests/tsbuild/noEmitOnError.ts b/src/testRunner/unittests/tsbuild/noEmitOnError.ts index 93586fa5410bc..c0dac4513faa3 100644 --- a/src/testRunner/unittests/tsbuild/noEmitOnError.ts +++ b/src/testRunner/unittests/tsbuild/noEmitOnError.ts @@ -8,40 +8,81 @@ namespace ts { projFs = undefined!; }); - function verifyNoEmitOnError(subScenario: string, fixModifyFs: TestTscEdit["modifyFs"], modifyFs?: TestTscEdit["modifyFs"]) { - verifyTscWithEdits({ - scenario: "noEmitOnError", - subScenario, - fs: () => projFs, - modifyFs, - commandLineArgs: ["--b", "/src/tsconfig.json"], - edits: [ - noChangeRun, - { - subScenario: "Fix error", - modifyFs: fixModifyFs, - }, - noChangeRun, - ], - baselinePrograms: true, - baselineIncremental: true - }); - } + verifyTscWithEdits({ + scenario: "noEmitOnError", + subScenario: "syntax errors", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tsconfig.json"], + edits: [ + noChangeRun, + { + subScenario: "Fix error", + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; +const a = { + lastName: 'sdsd' +};`, "utf-8"), + }, + noChangeRun, + ], + baselinePrograms: true, + }); - verifyNoEmitOnError( - "syntax errors", - fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; + verifyTscWithEdits({ + scenario: "noEmitOnError", + subScenario: "syntax errors with incremental", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tsconfig.json", "--incremental"], + edits: [ + noChangeRun, + { + subScenario: "Fix error", + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; const a = { lastName: 'sdsd' -};`, "utf-8") - ); +};`, "utf-8"), + descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, + }, + noChangeWithExportsDescripencyRun, + ], + baselinePrograms: true, + }); - verifyNoEmitOnError( - "semantic errors", - fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; + verifyTscWithEdits({ + scenario: "noEmitOnError", + subScenario: "semantic errors", + fs: () => projFs, + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; +const a: string = 10;`, "utf-8"), + commandLineArgs: ["--b", "/src/tsconfig.json"], + edits: [ + noChangeRun, + { + subScenario: "Fix error", + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; const a: string = "hello";`, "utf-8"), - fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; -const a: string = 10;`, "utf-8") - ); + }, + noChangeRun, + ], + baselinePrograms: true, + }); + + verifyTscWithEdits({ + scenario: "noEmitOnError", + subScenario: "semantic errors with incremental", + fs: () => projFs, + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; +const a: string = 10;`, "utf-8"), + commandLineArgs: ["--b", "/src/tsconfig.json", "--incremental"], + edits: [ + noChangeWithExportsDescripencyRun, + { + subScenario: "Fix error", + modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db"; +const a: string = "hello";`, "utf-8"), + }, + noChangeRun, + ], + baselinePrograms: true, + }); }); } diff --git a/src/testRunner/unittests/tsbuild/outputPaths.ts b/src/testRunner/unittests/tsbuild/outputPaths.ts index 6782a1bba96a9..72374f846115f 100644 --- a/src/testRunner/unittests/tsbuild/outputPaths.ts +++ b/src/testRunner/unittests/tsbuild/outputPaths.ts @@ -55,16 +55,7 @@ namespace ts { } }) }), - edits: [ - noChangeRun, - { - ...noChangeProject, - cleanBuildDiscrepancies: () => new Map([ - ["/src/dist/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent], // tsbuildinfo will have -p setting when built using -p vs no build happens incrementally because of no change. - ["/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt", CleanBuildDescrepancy.CleanFileTextDifferent] // tsbuildinfo will have -p setting when built using -p vs no build happens incrementally because of no change. - ]), - } - ], + edits, }, ["/src/dist/src/index.js", "/src/dist/src/index.d.ts"]); verify({ diff --git a/src/testRunner/unittests/tsbuild/publicApi.ts b/src/testRunner/unittests/tsbuild/publicApi.ts index 304be7e0b2ec4..cb2d35ca9670f 100644 --- a/src/testRunner/unittests/tsbuild/publicApi.ts +++ b/src/testRunner/unittests/tsbuild/publicApi.ts @@ -46,7 +46,7 @@ export function f22() { } // trailing`, writtenFiles.add(path); return originalWriteFile.call(sys, fileName, content, writeByteOrderMark); }; - const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, originalWriteFile); + const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined); const buildHost = createSolutionBuilderHost( sys, /*createProgram*/ undefined, diff --git a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts index 834d5825377f2..4dfa27b63c8ab 100644 --- a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts +++ b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts @@ -57,7 +57,7 @@ export default hello.hello`); fs: () => projFs, commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose", "--explainFiles"], modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"composite": true,`, `"composite": true, "sourceMap": true,`), - edits: noChangeOnlyRuns + edits: noChangeWithExportsDescripencyOnlyRuns }); verifyTscWithEdits({ @@ -66,7 +66,7 @@ export default hello.hello`); fs: () => projFs, commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose"], modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"outDir": "dist",`, ""), - edits: noChangeOnlyRuns + edits: noChangeWithExportsDescripencyOnlyRuns }); }); @@ -76,7 +76,7 @@ export default hello.hello`); subScenario: "importing json module from project reference", fs: () => loadProjectFromDisk("tests/projects/importJsonFromProjectReference"), commandLineArgs: ["--b", "src/tsconfig.json", "--verbose", "--explainFiles"], - edits: noChangeOnlyRuns + edits: noChangeWithExportsDescripencyOnlyRuns }); }); } diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index a58ae68e46b32..d53d77ba3f709 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -9,7 +9,15 @@ namespace ts { subScenario: "no-change-run", modifyFs: noop }; + export const noChangeWithExportsDescripencyRun: TestTscEdit = { + ...noChangeRun, + descripencyExplaination: () => [ + "Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files", + "Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed" + ] + }; export const noChangeOnlyRuns = [noChangeRun]; + export const noChangeWithExportsDescripencyOnlyRuns = [noChangeWithExportsDescripencyRun]; export interface TestTscCompile extends TestTscCompileLikeBase { baselineSourceMap?: boolean; @@ -30,21 +38,20 @@ namespace ts { export function commandLineCallbacks( sys: System & { writtenFiles: ReadonlyCollection; }, originalReadCall?: System["readFile"], - originalWriteFile?: System["writeFile"], ): CommandLineCallbacks { let programs: CommandLineProgram[] | undefined; return { cb: program => { if (isAnyProgram(program)) { - baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall, originalWriteFile); + baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall); (programs || (programs = [])).push(isBuilderProgram(program) ? [program.getProgram(), program] : [program] ); } else { - baselineBuildInfo(program.options, sys, originalReadCall, originalWriteFile); + baselineBuildInfo(program.options, sys, originalReadCall); } }, getPrograms: () => { @@ -120,11 +127,13 @@ ${patch ? vfs.formatPatch(patch) : ""}` const originalWriteFile = sys.writeFile; sys.writeFile = (fileName, content, writeByteOrderMark) => { const path = toPathWithSystem(sys, fileName); - assert.isFalse(writtenFiles.has(path)); + // When buildinfo is same for two projects, + // it gives error and doesnt write buildinfo but because buildInfo is written for one project, + // readable baseline will be written two times for those two projects with same contents and is ok + Debug.assert(!writtenFiles.has(path) || endsWith(path, "baseline.txt")); writtenFiles.add(path); return originalWriteFile.call(sys, fileName, content, writeByteOrderMark); }; - return originalWriteFile; } export function createSolutionBuilderHostForBaseline(sys: TscCompileSystem, versionToWrite?: string) { @@ -153,7 +162,7 @@ ${patch ? vfs.formatPatch(patch) : ""}` }); function commandLineCompile(sys: TscCompileSystem) { - const originalWriteFile = makeSystemReadyForBaseline(sys); + makeSystemReadyForBaseline(sys); actualReadFileMap = {}; const originalReadFile = sys.readFile; sys.readFile = path => { @@ -164,7 +173,7 @@ ${patch ? vfs.formatPatch(patch) : ""}` return originalReadFile.call(sys, path); }; - const result = commandLineCallbacks(sys, originalReadFile, originalWriteFile); + const result = commandLineCallbacks(sys, originalReadFile); executeCommandLine( sys, result.cb, diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index ec5093e0849a9..99ce9d20b1f42 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -90,7 +90,7 @@ namespace ts { commandLineArgs: ["--incremental", "-p", "src"], modifyFs, edits: [ - noChangeRun, + noChangeWithExportsDescripencyRun, { subScenario: "incremental-declaration-doesnt-change", modifyFs: fixModifyFs @@ -124,12 +124,12 @@ const a: string = 10;`, "utf-8"), function verifyNoEmitChanges(compilerOptions: CompilerOptions) { const noChangeRunWithNoEmit: TestTscEdit = { - ...noChangeRun, + ...noChangeWithExportsDescripencyRun, subScenario: "No Change run with noEmit", commandLineArgs: ["--p", "src/project", "--noEmit"], }; const noChangeRunWithEmit: TestTscEdit = { - ...noChangeRun, + ...noChangeWithExportsDescripencyRun, subScenario: "No Change run with emit", commandLineArgs: ["--p", "src/project"], }; @@ -156,6 +156,7 @@ const a: string = 10;`, "utf-8"), { subScenario: "Fix error and emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), + descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -164,6 +165,7 @@ const a: string = 10;`, "utf-8"), { subScenario: "Introduce error and emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"), + descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -173,6 +175,7 @@ const a: string = 10;`, "utf-8"), subScenario: "Fix error and no emit", commandLineArgs: ["--p", "src/project", "--noEmit"], modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), + descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -196,6 +199,7 @@ const a: string = 10;`, "utf-8"), { subScenario: "Fix error and no emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), + descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination }, noChangeRunWithEmit, ], @@ -252,7 +256,7 @@ const a: string = 10;`, "utf-8"), }), commandLineArgs: ["--p", "src/project"], edits: [ - noChangeRun, + noChangeWithExportsDescripencyRun, { subScenario: "Modify main file", modifyFs: fs => appendText(fs, `/src/project/src/main.ts`, `something();`), @@ -352,11 +356,10 @@ declare global { { subScenario: "Add class3 to project1 and build it", modifyFs: fs => fs.writeFileSync("/src/projects/project1/class3.ts", `class class3 {}`, "utf-8"), - cleanBuildDiscrepancies: () => new Map([ - // Ts buildinfo will not be updated in incremental build so it will have semantic diagnostics cached from previous build - // But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo - ["/src/projects/project2/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent] - ]), + descripencyExplaination: () => [ + "Ts buildinfo will not be updated in incremental build so it will have semantic diagnostics cached from previous build", + "But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo", + ], }, { subScenario: "Add output of class3", @@ -372,11 +375,10 @@ declare global { { subScenario: "Delete output for class3", modifyFs: fs => fs.unlinkSync("/src/projects/project1/class3.d.ts"), - cleanBuildDiscrepancies: () => new Map([ - // Ts buildinfo willbe updated but will retain lib file errors from previous build and not others because they are emitted because of change which results in clearing their semantic diagnostics cache - // But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo - ["/src/projects/project2/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent] - ]), + descripencyExplaination: () => [ + "Ts buildinfo willbe updated but will retain lib file errors from previous build and not others because they are emitted because of change which results in clearing their semantic diagnostics cache", + "But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo", + ], }, { subScenario: "Create output for class3", diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..aea568fa7815d --- /dev/null +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/main.ts": [ + "../shared/types/db.ts" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..1b74571fe5ab5 --- /dev/null +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js @@ -0,0 +1,20 @@ +1:: Fix error +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/main.ts": [ + "../shared/types/db.ts" + ] +} +Clean: {} +2:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/main.ts": [ + "../shared/types/db.ts" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js new file mode 100644 index 0000000000000..3421e39d1d657 --- /dev/null +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/main/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./index.ts": [ + "../strings/foo.json" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js new file mode 100644 index 0000000000000..3fc347587617d --- /dev/null +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dist/tsconfig_withfiles.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/index.ts": [ + "../src/hello.json" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js new file mode 100644 index 0000000000000..70de9ddece970 --- /dev/null +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/tsconfig_withfiles.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/index.ts": [ + "./src/hello.json" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js new file mode 100644 index 0000000000000..5ca669ee35451 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js @@ -0,0 +1,340 @@ +0:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +1:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: Fix error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +4:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +5:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +6:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +7:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +8:: Introduce error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +9:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +10:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +11:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +12:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +13:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +14:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +15:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +16:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +17:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js new file mode 100644 index 0000000000000..5ca669ee35451 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js @@ -0,0 +1,340 @@ +0:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +1:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: Fix error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +4:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +5:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +6:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +7:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +8:: Introduce error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +9:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +10:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +11:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +12:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +13:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +14:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +15:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +16:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +17:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-discrepancies.js new file mode 100644 index 0000000000000..5ca669ee35451 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-discrepancies.js @@ -0,0 +1,340 @@ +0:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +1:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: Fix error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +4:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +5:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +6:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +7:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +8:: Introduce error and emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +9:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +10:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +11:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +12:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +13:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +14:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +15:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +16:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +17:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js new file mode 100644 index 0000000000000..fe04fe3808e0e --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js @@ -0,0 +1,60 @@ +0:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +2:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js new file mode 100644 index 0000000000000..fe04fe3808e0e --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js @@ -0,0 +1,60 @@ +0:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +2:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-discrepancies.js new file mode 100644 index 0000000000000..fe04fe3808e0e --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-discrepancies.js @@ -0,0 +1,60 @@ +0:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +2:: Fix error and no emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} +3:: No Change run with emit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] +} +Clean: { + "./src/indirectclass.ts": [ + "./src/class.ts" + ] +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js new file mode 100644 index 0000000000000..f9358e2eda544 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js @@ -0,0 +1,15 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./src/anotherfilewithsamereferenes.ts": [ + "./src/filepresent.ts", + "./src/filenotfound.ts" + ], + "./src/main.ts": [ + "./src/filepresent.ts", + "./src/filenotfound.ts" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js new file mode 100644 index 0000000000000..6511bd36e84d1 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js @@ -0,0 +1,112 @@ +0:: Add class3 to project1 and build it +Ts buildinfo will not be updated in incremental build so it will have semantic diagnostics cached from previous build +But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo +TsBuild info text without affectedFilesPendingEmit:: /src/projects/project2/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 + }, + "../project1/class1.d.ts": { + "version": "-3469237238-declare class class1 {}", + "affectsGlobalScope": true + }, + "./class2.ts": { + "version": "777969115-class class2 {}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "module": 0 + } + }, + "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 + }, + "../project1/class1.d.ts": { + "version": "-3469237238-declare class class1 {}", + "affectsGlobalScope": true + }, + "./class2.ts": { + "version": "777969115-class class2 {}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "module": 0 + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../project1/class1.d.ts", + "./class2.ts" + ] + }, + "version": "FakeTSVersion" +} +3:: Delete output for class3 +Ts buildinfo willbe updated but will retain lib file errors from previous build and not others because they are emitted because of change which results in clearing their semantic diagnostics cache +But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo +TsBuild info text without affectedFilesPendingEmit:: /src/projects/project2/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 + }, + "../project1/class1.d.ts": { + "version": "-3469237238-declare class class1 {}", + "affectsGlobalScope": true + }, + "./class2.ts": { + "version": "777969115-class class2 {}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "module": 0 + } + }, + "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 + }, + "../project1/class1.d.ts": { + "version": "-3469237238-declare class class1 {}", + "affectsGlobalScope": true + }, + "./class2.ts": { + "version": "777969115-class class2 {}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "module": 0 + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts" + ] + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors-discrepancies.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors-discrepancies.js new file mode 100644 index 0000000000000..aea568fa7815d --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/main.ts": [ + "../shared/types/db.ts" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors-discrepancies.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors-discrepancies.js new file mode 100644 index 0000000000000..aea568fa7815d --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors-discrepancies.js @@ -0,0 +1,10 @@ +0:: no-change-run +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "../src/main.ts": [ + "../shared/types/db.ts" + ] +} +Clean: {} \ No newline at end of file From c206ff025026e5e8b71bd523c25c07e4f36bf9f7 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 19 Apr 2022 10:35:31 -0700 Subject: [PATCH 06/64] More baselines for the tsbuildinfo --- src/testRunner/unittests/tsbuild/helpers.ts | 4 +- src/testRunner/unittests/tsbuild/sample.ts | 4 +- src/testRunner/unittests/tsc/helpers.ts | 12 +- src/testRunner/unittests/tscWatch/helpers.ts | 23 +- .../sourceOfProjectReferenceRedirect.ts | 6 +- .../unittests/tsserver/projectReferences.ts | 3 +- ...uilding-using-getNextInvalidatedProject.js | 191 +++++++++ .../sample1/invalidates-projects-correctly.js | 399 +++++++++++++++++ .../on-sample-project.js | 401 +++++++++++++++++- ...-different-folders-with-no-files-clause.js | 174 +++++++- ...nsitive-references-in-different-folders.js | 174 +++++++- .../on-transitive-references.js | 174 +++++++- ...roject-uses-different-module-resolution.js | 87 +++- ...es-field-when-solution-is-already-built.js | 106 ++++- ...Symlinks-when-solution-is-already-built.js | 106 ++++- ...-package-when-solution-is-already-built.js | 106 ++++- ...Symlinks-when-solution-is-already-built.js | 106 ++++- ...ubFolder-when-solution-is-already-built.js | 106 ++++- ...Symlinks-when-solution-is-already-built.js | 106 ++++- ...-package-when-solution-is-already-built.js | 106 ++++- ...Symlinks-when-solution-is-already-built.js | 106 ++++- ...-project-when-solution-is-already-built.js | 134 +++++- 22 files changed, 2522 insertions(+), 112 deletions(-) diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index f88561d796e23..ffc6d138996d0 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -266,11 +266,11 @@ interface Symbol { export function baselineBuildInfo( options: CompilerOptions, - sys: System & { writtenFiles: ReadonlyCollection; }, + sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], ) { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); - if (!buildInfoPath || !sys.writtenFiles.has(toPathWithSystem(sys, buildInfoPath))) return; + if (!buildInfoPath || !sys.writtenFiles!.has(toPathWithSystem(sys, buildInfoPath))) return; if (!sys.fileExists(buildInfoPath)) return; const buildInfo = getBuildInfo((originalReadCall || sys.readFile).call(sys, buildInfoPath, "utf8")!); diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index c74fba5eb1176..2178c422ab9ea 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -246,7 +246,7 @@ namespace ts { ) ); - const host = createSolutionBuilderHost(system); + const host = createSolutionBuilderHostForBaseline(system); const builder = createSolutionBuilder(host, [testsConfig.path], {}); baseline.push("Input::"); baselineState(); @@ -317,7 +317,7 @@ namespace ts { ) ); - const host = createSolutionBuilderHost(system); + const host = createSolutionBuilderHostForBaseline(system); const builder = createSolutionBuilder(host, [testsConfig.path], { dry: false, force: false, verbose: false }); builder.build(); baselineState("Build of project"); diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index d53d77ba3f709..434a45c693724 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -36,7 +36,7 @@ namespace ts { return !!(program as Program | BuilderProgram).getCompilerOptions; } export function commandLineCallbacks( - sys: System & { writtenFiles: ReadonlyCollection; }, + sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], ): CommandLineCallbacks { let programs: CommandLineProgram[] | undefined; @@ -136,9 +136,13 @@ ${patch ? vfs.formatPatch(patch) : ""}` }; } - export function createSolutionBuilderHostForBaseline(sys: TscCompileSystem, versionToWrite?: string) { - makeSystemReadyForBaseline(sys, versionToWrite); - const { cb } = commandLineCallbacks(sys); + export function createSolutionBuilderHostForBaseline( + sys: TscCompileSystem | tscWatch.WatchedSystem, + versionToWrite?: string, + originalRead?: (TscCompileSystem | tscWatch.WatchedSystem)["readFile"] + ) { + if (sys instanceof fakes.System) makeSystemReadyForBaseline(sys, versionToWrite); + const { cb } = commandLineCallbacks(sys, originalRead); const host = createSolutionBuilderHost(sys, /*createProgram*/ undefined, createDiagnosticReporter(sys, /*pretty*/ true), diff --git a/src/testRunner/unittests/tscWatch/helpers.ts b/src/testRunner/unittests/tscWatch/helpers.ts index 97d838cdf634e..74786c0e1cfc7 100644 --- a/src/testRunner/unittests/tscWatch/helpers.ts +++ b/src/testRunner/unittests/tscWatch/helpers.ts @@ -171,9 +171,10 @@ namespace ts.tscWatch { export interface Baseline extends BaselineBase, CommandLineCallbacks { } - export function createBaseline(system: WatchedSystem, modifySystem?: (sys: WatchedSystem) => void): Baseline { + export function createBaseline(system: WatchedSystem, modifySystem?: (sys: WatchedSystem, originalRead: WatchedSystem["readFile"]) => void): Baseline { + const originalRead = system.readFile; const initialSys = fakes.patchHostForBuildInfoReadWrite(system); - modifySystem?.(initialSys); + modifySystem?.(initialSys, originalRead); const sys = TestFSWithWatch.changeToHostTrackingWrittenFiles(initialSys); const baseline: string[] = []; baseline.push("Input::"); @@ -407,30 +408,32 @@ namespace ts.tscWatch { sys.writeFile(file, content.replace(searchValue, replaceValue)); } - export function createSolutionBuilder(system: WatchedSystem, rootNames: readonly string[], defaultOptions?: BuildOptions) { - const host = createSolutionBuilderHost(system); - return ts.createSolutionBuilder(host, rootNames, defaultOptions || {}); + export function createSolutionBuilder(system: WatchedSystem, rootNames: readonly string[], originalRead?: WatchedSystem["readFile"]) { + const host = createSolutionBuilderHostForBaseline(system, /*versionToWrite*/ undefined, originalRead); + return ts.createSolutionBuilder(host, rootNames, {}); } export function ensureErrorFreeBuild(host: WatchedSystem, rootNames: readonly string[]) { // ts build should succeed - const solutionBuilder = createSolutionBuilder(host, rootNames, {}); - solutionBuilder.build(); + solutionBuildWithBaseline(host, rootNames); assert.equal(host.getOutput().length, 0, JSON.stringify(host.getOutput(), /*replacer*/ undefined, " ")); } - export function createSystemWithSolutionBuild(solutionRoots: readonly string[], files: readonly TestFSWithWatch.FileOrFolderOrSymLink[], params?: TestFSWithWatch.TestServerHostCreationParameters) { - const sys = createWatchedSystem(files, params); + export function solutionBuildWithBaseline(sys: WatchedSystem, solutionRoots: readonly string[], originalRead?: WatchedSystem["readFile"]) { const originalReadFile = sys.readFile; const originalWrite = sys.write; const originalWriteFile = sys.writeFile; const solutionBuilder = createSolutionBuilder(TestFSWithWatch.changeToHostTrackingWrittenFiles( fakes.patchHostForBuildInfoReadWrite(sys) - ), solutionRoots, {}); + ), solutionRoots, originalRead); solutionBuilder.build(); sys.readFile = originalReadFile; sys.write = originalWrite; sys.writeFile = originalWriteFile; return sys; } + + export function createSystemWithSolutionBuild(solutionRoots: readonly string[], files: readonly TestFSWithWatch.FileOrFolderOrSymLink[], params?: TestFSWithWatch.TestServerHostCreationParameters) { + return solutionBuildWithBaseline(createWatchedSystem(files, params), solutionRoots); + } } diff --git a/src/testRunner/unittests/tscWatch/sourceOfProjectReferenceRedirect.ts b/src/testRunner/unittests/tscWatch/sourceOfProjectReferenceRedirect.ts index 7152c0db97d43..4110dbfe3331b 100644 --- a/src/testRunner/unittests/tscWatch/sourceOfProjectReferenceRedirect.ts +++ b/src/testRunner/unittests/tscWatch/sourceOfProjectReferenceRedirect.ts @@ -10,10 +10,8 @@ namespace ts.tscWatch { function verifyWatch({ files, config, subScenario }: VerifyWatchInput, alreadyBuilt: boolean) { const { sys, baseline, oldSnap, cb, getPrograms } = createBaseline( createWatchedSystem(files), - alreadyBuilt ? sys => { - const solutionBuilder = createSolutionBuilder(sys, [config], {}); - solutionBuilder.build(); - solutionBuilder.close(); + alreadyBuilt ? (sys, originalRead) => { + solutionBuildWithBaseline(sys, [config], originalRead); sys.clearOutput(); } : undefined ); diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index bae075912be5f..ba4604be5aabf 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -1278,8 +1278,7 @@ bar;` const files = [solnConfig, sharedConfig, sharedIndex, sharedPackage, appConfig, appBar, appIndex, sharedSymlink, libFile]; const host = createServerHost(files); if (built) { - const solutionBuilder = tscWatch.createSolutionBuilder(host, [solnConfig.path], {}); - solutionBuilder.build(); + tscWatch.solutionBuildWithBaseline(host, [solnConfig.path]); host.clearOutput(); } const session = createSession(host, { logger: createLoggerWithInMemoryLogs() }); diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index 88764c1e9d23f..a6d4a2f6f4cf8 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -129,6 +129,54 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1062 +} + Project Result:: {"project":"/user/username/projects/logic/tsconfig.json","result":0} Output:: @@ -158,6 +206,69 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1290 +} + Project Result:: {"project":"/user/username/projects/tests/tsconfig.json","result":0} Output:: @@ -182,6 +293,86 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1492 +} + Project Result:: {} Output:: diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index a17ef3b4182cc..b3e1a88294dd7 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -125,6 +125,54 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1062 +} + //// [/user/username/projects/logic/index.js.map] {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} @@ -150,6 +198,69 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1290 +} + //// [/user/username/projects/tests/index.js] "use strict"; exports.__esModule = true; @@ -170,6 +281,86 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1492 +} + Project should still be upto date: UpToDate non Dts change to logic:: After rebuilding logicConfig @@ -205,6 +396,71 @@ function foo() { } //// [/user/username/projects/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1486 +} + non Dts change to logic:: After building next project Output:: @@ -259,6 +515,71 @@ export declare class cNew { //// [/user/username/projects/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}", + "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1539 +} + Dts change to Logic:: After building next project Output:: @@ -268,3 +589,81 @@ Output:: //// [/user/username/projects/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", + "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1647 +} + diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 9d72767e1d595..2a948e7143d96 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -123,6 +123,54 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-2676574883-export const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1065 +} + //// [/user/username/projects/sample1/logic/index.js.map] {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} @@ -148,6 +196,69 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1293 +} + //// [/user/username/projects/sample1/tests/index.js] "use strict"; exports.__esModule = true; @@ -168,13 +279,93 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1495 +} + /a/lib/tsc.js -w -p tests Output:: >> Screen clear -[12:01:07 AM] Starting compilation in watch mode... +[12:01:13 AM] Starting compilation in watch mode... -[12:01:08 AM] Found 0 errors. Watching for file changes. +[12:01:14 AM] Found 0 errors. Watching for file changes. @@ -278,12 +469,77 @@ function foo() { } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1490 +} + Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:32 AM] File change detected. Starting incremental compilation... -[12:01:24 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -395,12 +651,77 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }", + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1555 +} + Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:51 AM] File change detected. Starting incremental compilation... -[12:01:49 AM] Found 0 errors. Watching for file changes. +[12:02:01 AM] Found 0 errors. Watching for file changes. @@ -583,6 +904,70 @@ exports.gfoo = gfoo; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }", + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationDir": "./decls" + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1538 +} + //// [/user/username/projects/sample1/logic/decls/index.d.ts] export declare function getSecondsInDay(): number; import * as mod from '../core/anotherModule'; @@ -593,9 +978,9 @@ export declare function gfoo(): void; Output:: >> Screen clear -[12:02:06 AM] File change detected. Starting incremental compilation... +[12:02:22 AM] File change detected. Starting incremental compilation... -[12:02:16 AM] Found 0 errors. Watching for file changes. +[12:02:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 487031a8879b8..95c2503e227f0 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -59,6 +59,38 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"-7264743946-export class A {}"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./index.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "./index.ts": { + "version": "-7264743946-export class A {}", + "signature": "-7264743946-export class A {}" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 650 +} + //// [/user/username/projects/transitiveReferences/b/index.js] "use strict"; exports.__esModule = true; @@ -75,6 +107,57 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n","-2591036212-import {A} from '@ref/a';\nexport const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../a/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../a/index.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./index.ts": { + "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", + "signature": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 779 +} + //// [/user/username/projects/transitiveReferences/c/index.js] "use strict"; exports.__esModule = true; @@ -88,9 +171,9 @@ a_1.X; /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:53 AM] Starting compilation in watch mode... +[12:00:57 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:01:01 AM] Found 0 errors. Watching for file changes. @@ -210,12 +293,63 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../a/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../a/index.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./index.ts": { + "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 938 +} + Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -313,9 +447,9 @@ export class A {} Output:: >> Screen clear -[12:01:21 AM] File change detected. Starting incremental compilation... +[12:01:28 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Found 0 errors. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. @@ -412,9 +546,9 @@ Input:: Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:40 AM] Found 0 errors. Watching for file changes. @@ -511,9 +645,9 @@ Input:: Output:: >> Screen clear -[12:01:37 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -606,9 +740,9 @@ Input:: Output:: >> Screen clear -[12:01:42 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... -[12:01:43 AM] Found 0 errors. Watching for file changes. +[12:01:50 AM] Found 0 errors. Watching for file changes. @@ -688,14 +822,14 @@ Input:: Output:: >> Screen clear -[12:01:45 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:01:52 AM] Found 1 error. Watching for file changes. +[12:01:59 AM] Found 1 error. Watching for file changes. @@ -776,9 +910,9 @@ Input:: Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:02:02 AM] File change detected. Starting incremental compilation... -[12:01:59 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -873,14 +1007,14 @@ Input:: Output:: >> Screen clear -[12:02:01 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:05 AM] Found 1 error. Watching for file changes. +[12:02:12 AM] Found 1 error. Watching for file changes. @@ -972,9 +1106,9 @@ Input:: Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... -[12:02:09 AM] Found 0 errors. Watching for file changes. +[12:02:16 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 2ed2f16e11fe0..1f0f8bee45198 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -59,6 +59,38 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"-7264743946-export class A {}"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./index.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "./index.ts": { + "version": "-7264743946-export class A {}", + "signature": "-7264743946-export class A {}" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 650 +} + //// [/user/username/projects/transitiveReferences/b/index.js] "use strict"; exports.__esModule = true; @@ -75,6 +107,57 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n","-2591036212-import {A} from '@ref/a';\nexport const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../a/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../a/index.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./index.ts": { + "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", + "signature": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 779 +} + //// [/user/username/projects/transitiveReferences/c/index.js] "use strict"; exports.__esModule = true; @@ -88,9 +171,9 @@ a_1.X; /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:53 AM] Starting compilation in watch mode... +[12:00:57 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:01:01 AM] Found 0 errors. Watching for file changes. @@ -206,12 +289,63 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../a/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "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 + }, + "../a/index.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./index.ts": { + "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../a/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../a/index.d.ts", + "./index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 938 +} + Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -305,9 +439,9 @@ export class A {} Output:: >> Screen clear -[12:01:21 AM] File change detected. Starting incremental compilation... +[12:01:28 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Found 0 errors. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. @@ -400,9 +534,9 @@ Input:: Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:40 AM] Found 0 errors. Watching for file changes. @@ -495,9 +629,9 @@ Input:: Output:: >> Screen clear -[12:01:37 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -585,9 +719,9 @@ Input:: Output:: >> Screen clear -[12:01:42 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... -[12:01:43 AM] Found 0 errors. Watching for file changes. +[12:01:50 AM] Found 0 errors. Watching for file changes. @@ -662,14 +796,14 @@ Input:: Output:: >> Screen clear -[12:01:45 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:01:52 AM] Found 1 error. Watching for file changes. +[12:01:59 AM] Found 1 error. Watching for file changes. @@ -748,9 +882,9 @@ Input:: Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:02:02 AM] File change detected. Starting incremental compilation... -[12:01:59 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -841,14 +975,14 @@ Input:: Output:: >> Screen clear -[12:02:01 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:05 AM] Found 1 error. Watching for file changes. +[12:02:12 AM] Found 1 error. Watching for file changes. @@ -937,9 +1071,9 @@ Input:: Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... -[12:02:09 AM] Found 0 errors. Watching for file changes. +[12:02:16 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 054505de5ecd1..3a9647f070fd5 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -83,6 +83,38 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.ts": { + "version": "-8566332115-export class A {}\r\n", + "signature": "-8566332115-export class A {}\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts" + ] + }, + "version": "FakeTSVersion", + "size": 647 +} + //// [/user/username/projects/transitiveReferences/b.js] "use strict"; exports.__esModule = true; @@ -99,6 +131,57 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n","-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ], + "fileNamesList": [ + [ + "./a.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./b.ts": { + "version": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n", + "signature": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 772 +} + //// [/user/username/projects/transitiveReferences/c.js] "use strict"; exports.__esModule = true; @@ -112,9 +195,9 @@ a_1.X; /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:47 AM] Starting compilation in watch mode... +[12:00:51 AM] Starting compilation in watch mode... -[12:00:51 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -219,12 +302,63 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ], + "fileNamesList": [ + [ + "./a.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./b.ts": { + "version": "-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }", + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 932 +} + Output:: >> Screen clear -[12:01:03 AM] File change detected. Starting incremental compilation... +[12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:07 AM] Found 0 errors. Watching for file changes. +[12:01:14 AM] Found 0 errors. Watching for file changes. @@ -310,9 +444,9 @@ export class A {} Output:: >> Screen clear -[12:01:15 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -393,9 +527,9 @@ Input:: Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:34 AM] Found 0 errors. Watching for file changes. @@ -476,9 +610,9 @@ Input:: Output:: >> Screen clear -[12:01:31 AM] File change detected. Starting incremental compilation... +[12:01:38 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:39 AM] Found 0 errors. Watching for file changes. @@ -560,9 +694,9 @@ Input:: Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:43 AM] File change detected. Starting incremental compilation... -[12:01:37 AM] Found 0 errors. Watching for file changes. +[12:01:44 AM] Found 0 errors. Watching for file changes. @@ -631,14 +765,14 @@ Input:: Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:46 AM] File change detected. Starting incremental compilation... tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 1 {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]}    ~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:01:46 AM] Found 1 error. Watching for file changes. +[12:01:53 AM] Found 1 error. Watching for file changes. @@ -722,9 +856,9 @@ Input:: Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:53 AM] Found 0 errors. Watching for file changes. +[12:02:00 AM] Found 0 errors. Watching for file changes. @@ -805,14 +939,14 @@ Input:: Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:02:02 AM] File change detected. Starting incremental compilation... tsconfig.b.json:10:21 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 10 "references": [ { "path": "tsconfig.a.json" } ]    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:01:59 AM] Found 1 error. Watching for file changes. +[12:02:06 AM] Found 1 error. Watching for file changes. @@ -894,9 +1028,9 @@ Input:: Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:02:09 AM] File change detected. Starting incremental compilation... -[12:02:03 AM] Found 0 errors. Watching for file changes. +[12:02:10 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index cbba73be6b57b..2e510a31b3c15 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -70,6 +70,38 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.ts": { + "version": "-8566332115-export class A {}\r\n", + "signature": "-8566332115-export class A {}\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts" + ] + }, + "version": "FakeTSVersion", + "size": 647 +} + //// [/user/username/projects/transitiveReferences/b.js] "use strict"; exports.__esModule = true; @@ -86,6 +118,57 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n","-19869990292-import {A} from \"a\";export const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ], + "fileNamesList": [ + [ + "./a.d.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.d.ts": { + "version": "-8728835846-export declare class A {\n}\n", + "signature": "-8728835846-export declare class A {\n}\n" + }, + "./b.ts": { + "version": "-19869990292-import {A} from \"a\";export const b = new A();", + "signature": "-19869990292-import {A} from \"a\";export const b = new A();" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./a.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.d.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 761 +} + //// [/user/username/projects/transitiveReferences/c.js] "use strict"; exports.__esModule = true; @@ -99,9 +182,9 @@ a_1.X; /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:47 AM] Starting compilation in watch mode... +[12:00:51 AM] Starting compilation in watch mode... -[12:00:51 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 665b7cbac069a..b40caab7ab8c8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/bar.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + }, + "./src/index.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 755 +} + //// [/user/username/projects/myproject/packages/A/lib/index.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts", + "./src/index.ts" + ], + "fileNamesList": [ + [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "../b/lib/index.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../b/lib/bar.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/index.ts": { + "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", + "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/index.ts": [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + }, + "exportedModulesMap": { + "./src/index.ts": [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/index.ts", + "../b/lib/bar.d.ts", + "../b/lib/index.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 934 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:05 AM] Starting compilation in watch mode... +[12:01:09 AM] Starting compilation in watch mode... -[12:01:15 AM] Found 0 errors. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 5ad338edf8d7b..1a897dcd7e70e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/bar.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + }, + "./src/index.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 755 +} + //// [/user/username/projects/myproject/packages/A/lib/index.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/b/lib/index.d.ts", + "../../node_modules/b/lib/bar.d.ts", + "./src/index.ts" + ], + "fileNamesList": [ + [ + "../../node_modules/b/lib/index.d.ts", + "../../node_modules/b/lib/bar.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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/b/lib/index.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../../node_modules/b/lib/bar.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/index.ts": { + "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", + "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/index.ts": [ + "../../node_modules/b/lib/index.d.ts", + "../../node_modules/b/lib/bar.d.ts" + ] + }, + "exportedModulesMap": { + "./src/index.ts": [ + "../../node_modules/b/lib/index.d.ts", + "../../node_modules/b/lib/bar.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/b/lib/bar.d.ts", + "../../node_modules/b/lib/index.d.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 966 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:05 AM] Starting compilation in watch mode... +[12:01:09 AM] Starting compilation in watch mode... -[12:01:15 AM] Found 0 errors. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 403b35aa392e6..e6e9bc63fd310 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/bar.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + }, + "./src/index.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 755 +} + //// [/user/username/projects/myproject/packages/A/lib/index.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts", + "./src/index.ts" + ], + "fileNamesList": [ + [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "../b/lib/index.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../b/lib/bar.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/index.ts": { + "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", + "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/index.ts": [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + }, + "exportedModulesMap": { + "./src/index.ts": [ + "../b/lib/index.d.ts", + "../b/lib/bar.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/index.ts", + "../b/lib/bar.d.ts", + "../b/lib/index.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 948 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:07 AM] Starting compilation in watch mode... +[12:01:11 AM] Starting compilation in watch mode... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 2aeceebba0e4e..319080edfd603 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/bar.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + }, + "./src/index.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 755 +} + //// [/user/username/projects/myproject/packages/A/lib/index.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/@issue/b/lib/index.d.ts", + "../../node_modules/@issue/b/lib/bar.d.ts", + "./src/index.ts" + ], + "fileNamesList": [ + [ + "../../node_modules/@issue/b/lib/index.d.ts", + "../../node_modules/@issue/b/lib/bar.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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/@issue/b/lib/index.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../../node_modules/@issue/b/lib/bar.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/index.ts": { + "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", + "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/index.ts": [ + "../../node_modules/@issue/b/lib/index.d.ts", + "../../node_modules/@issue/b/lib/bar.d.ts" + ] + }, + "exportedModulesMap": { + "./src/index.ts": [ + "../../node_modules/@issue/b/lib/index.d.ts", + "../../node_modules/@issue/b/lib/bar.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/@issue/b/lib/bar.d.ts", + "../../node_modules/@issue/b/lib/index.d.ts", + "./src/index.ts" + ] + }, + "version": "FakeTSVersion", + "size": 994 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:07 AM] Starting compilation in watch mode... +[12:01:11 AM] Starting compilation in watch mode... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 765128a7cfdec..f6a4c55670921 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/foo.ts", + "./src/bar/foo.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/foo.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + }, + "./src/bar/foo.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar/foo.ts", + "./src/foo.ts" + ] + }, + "version": "FakeTSVersion", + "size": 757 +} + //// [/user/username/projects/myproject/packages/A/lib/test.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts", + "./src/test.ts" + ], + "fileNamesList": [ + [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "../b/lib/foo.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../b/lib/bar/foo.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/test.ts": { + "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", + "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/test.ts": [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + }, + "exportedModulesMap": { + "./src/test.ts": [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/test.ts", + "../b/lib/bar/foo.d.ts", + "../b/lib/foo.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 948 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:10 AM] Starting compilation in watch mode... +[12:01:14 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:24 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index e7b0a69e369d1..59c7773876358 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/foo.ts", + "./src/bar/foo.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/foo.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + }, + "./src/bar/foo.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar/foo.ts", + "./src/foo.ts" + ] + }, + "version": "FakeTSVersion", + "size": 757 +} + //// [/user/username/projects/myproject/packages/A/lib/test.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/b/lib/foo.d.ts", + "../../node_modules/b/lib/bar/foo.d.ts", + "./src/test.ts" + ], + "fileNamesList": [ + [ + "../../node_modules/b/lib/foo.d.ts", + "../../node_modules/b/lib/bar/foo.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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/b/lib/foo.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../../node_modules/b/lib/bar/foo.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/test.ts": { + "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", + "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/test.ts": [ + "../../node_modules/b/lib/foo.d.ts", + "../../node_modules/b/lib/bar/foo.d.ts" + ] + }, + "exportedModulesMap": { + "./src/test.ts": [ + "../../node_modules/b/lib/foo.d.ts", + "../../node_modules/b/lib/bar/foo.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/b/lib/bar/foo.d.ts", + "../../node_modules/b/lib/foo.d.ts", + "./src/test.ts" + ] + }, + "version": "FakeTSVersion", + "size": 980 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:10 AM] Starting compilation in watch mode... +[12:01:14 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:24 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 0a4cef0edff9d..712297c5b5497 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/foo.ts", + "./src/bar/foo.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/foo.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + }, + "./src/bar/foo.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar/foo.ts", + "./src/foo.ts" + ] + }, + "version": "FakeTSVersion", + "size": 757 +} + //// [/user/username/projects/myproject/packages/A/lib/test.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts", + "./src/test.ts" + ], + "fileNamesList": [ + [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "../b/lib/foo.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../b/lib/bar/foo.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/test.ts": { + "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", + "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/test.ts": [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + }, + "exportedModulesMap": { + "./src/test.ts": [ + "../b/lib/foo.d.ts", + "../b/lib/bar/foo.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/test.ts", + "../b/lib/bar/foo.d.ts", + "../b/lib/foo.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 963 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:12 AM] Starting compilation in watch mode... +[12:01:16 AM] Starting compilation in watch mode... -[12:01:22 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 0b94e4fdea4a4..d3bb601e66067 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -62,6 +62,46 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./src/foo.ts", + "./src/bar/foo.ts" + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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 + }, + "./src/foo.ts": { + "version": "4646078106-export function foo() { }", + "signature": "4646078106-export function foo() { }" + }, + "./src/bar/foo.ts": { + "version": "1045484683-export function bar() { }", + "signature": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "./src/bar/foo.ts", + "./src/foo.ts" + ] + }, + "version": "FakeTSVersion", + "size": 757 +} + //// [/user/username/projects/myproject/packages/A/lib/test.js] "use strict"; exports.__esModule = true; @@ -78,13 +118,75 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/@issue/b/lib/foo.d.ts", + "../../node_modules/@issue/b/lib/bar/foo.d.ts", + "./src/test.ts" + ], + "fileNamesList": [ + [ + "../../node_modules/@issue/b/lib/foo.d.ts", + "../../node_modules/@issue/b/lib/bar/foo.d.ts" + ] + ], + "fileInfos": { + "../../../../../../a/lib/lib.d.ts": { + "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/@issue/b/lib/foo.d.ts": { + "version": "-5677608893-export declare function foo(): void;\n", + "signature": "-5677608893-export declare function foo(): void;\n" + }, + "../../node_modules/@issue/b/lib/bar/foo.d.ts": { + "version": "-2904461644-export declare function bar(): void;\n", + "signature": "-2904461644-export declare function bar(): void;\n" + }, + "./src/test.ts": { + "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", + "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + } + }, + "options": { + "composite": true, + "outDir": "./lib", + "rootDir": "./src" + }, + "referencedMap": { + "./src/test.ts": [ + "../../node_modules/@issue/b/lib/foo.d.ts", + "../../node_modules/@issue/b/lib/bar/foo.d.ts" + ] + }, + "exportedModulesMap": { + "./src/test.ts": [ + "../../node_modules/@issue/b/lib/foo.d.ts", + "../../node_modules/@issue/b/lib/bar/foo.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../node_modules/@issue/b/lib/bar/foo.d.ts", + "../../node_modules/@issue/b/lib/foo.d.ts", + "./src/test.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1009 +} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:12 AM] Starting compilation in watch mode... +[12:01:16 AM] Starting compilation in watch mode... -[12:01:22 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 9b343b81501e9..767fa1e008240 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -124,6 +124,48 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +//// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../core/utilities.ts" + ], + "fileInfos": { + "../../../../../../a/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; };", + "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 + }, + "../../core/utilities.ts": { + "version": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n", + "signature": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "module": 1, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "./", + "rootDir": "../../core", + "strict": true, + "target": 1 + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../core/utilities.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1160 +} + //// [/user/username/projects/demo/lib/animals/animal.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -180,13 +222,101 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +//// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "../../animals/animal.ts", + "../../animals/index.ts", + "../core/utilities.d.ts", + "../../animals/dog.ts" + ], + "fileNamesList": [ + [ + "../../animals/index.ts", + "../core/utilities.d.ts" + ], + [ + "../../animals/animal.ts", + "../../animals/dog.ts" + ] + ], + "fileInfos": { + "../../../../../../a/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; };", + "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 + }, + "../../animals/animal.ts": { + "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", + "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + }, + "../../animals/index.ts": { + "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", + "signature": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" + }, + "../core/utilities.d.ts": { + "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" + }, + "../../animals/dog.ts": { + "version": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n", + "signature": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "module": 1, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "./", + "rootDir": "../../animals", + "strict": true, + "target": 1 + }, + "referencedMap": { + "../../animals/dog.ts": [ + "../../animals/index.ts", + "../core/utilities.d.ts" + ], + "../../animals/index.ts": [ + "../../animals/animal.ts", + "../../animals/dog.ts" + ] + }, + "exportedModulesMap": { + "../../animals/dog.ts": [ + "../../animals/index.ts", + "../core/utilities.d.ts" + ], + "../../animals/index.ts": [ + "../../animals/animal.ts", + "../../animals/dog.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../../a/lib/lib.d.ts", + "../../animals/animal.ts", + "../../animals/dog.ts", + "../../animals/index.ts", + "../core/utilities.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1911 +} + /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear -[12:01:03 AM] Starting compilation in watch mode... +[12:01:07 AM] Starting compilation in watch mode... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. From fc91aff2f5fdd49d6b5350df838fa0af0c692bce Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 13 Apr 2022 10:14:30 -0700 Subject: [PATCH 07/64] If we are writing dts file and have used file text as version, we can update the signature when doing actual emit --- src/compiler/builder.ts | 43 ++- src/compiler/builderPublic.ts | 5 + src/compiler/builderState.ts | 2 +- src/compiler/emitter.ts | 4 +- src/compiler/program.ts | 19 +- src/compiler/sys.ts | 6 +- src/compiler/types.ts | 4 + src/compiler/utilities.ts | 4 +- src/compiler/watch.ts | 2 + src/compiler/watchPublic.ts | 2 + src/harness/virtualFileSystemWithWatch.ts | 1 + .../unittests/tsbuild/resolveJsonModule.ts | 6 +- src/testRunner/unittests/tsc/helpers.ts | 2 + src/testRunner/unittests/tsc/incremental.ts | 11 +- src/testRunner/unittests/tscWatch/helpers.ts | 7 +- .../reference/api/tsserverlibrary.d.ts | 2 +- tests/baselines/reference/api/typescript.d.ts | 2 +- .../reports-syntax-errors-in-config-file.js | 8 +- ...nce-and-both-extend-config-with-include.js | 12 +- ...th-projects-extends-config-with-include.js | 12 +- ...ter-initial-build-doesnt-build-anything.js | 18 +- ...ugh-triple-slash-but-uses-no-references.js | 13 +- ...file-is-referenced-through-triple-slash.js | 24 +- ...d-inferred-type-from-referenced-project.js | 12 +- ...ng-setup-correctly-and-reports-no-error.js | 28 +- ...-emitDeclarationOnly-and-declarationMap.js | 12 +- ...import-project-with-emitDeclarationOnly.js | 12 +- ...mports-project-with-emitDeclarationOnly.js | 29 +- ...es-is-empty-and-references-are-provided.js | 6 +- ...-transitive-module-with-isolatedModules.js | 32 +- .../inferred-type-from-transitive-module.js | 29 +- ...hange-in-signature-with-isolatedModules.js | 42 +-- ...based-projects-and-emits-them-correctly.js | 27 +- ...ved-json-files-and-emits-them-correctly.js | 27 +- ...project-correctly-with-preserveSymlinks.js | 12 +- ...-file-from-referenced-project-correctly.js | 12 +- ...t-resolution-options-referenced-project.js | 12 +- ...fiers-across-projects-resolve-correctly.js | 31 +- ...zed-module-specifiers-resolve-correctly.js | 18 +- .../non-module-projects-without-prepend.js | 24 +- ...otDir-is-not-specified-and-is-composite.js | 6 +- ...iles-belong-to-rootDir-and-is-composite.js | 8 +- .../builds-correctly.js | 20 +- ...nfo-file-because-no-rootDir-in-the-base.js | 6 +- ...reports-error-for-same-tsbuildinfo-file.js | 6 +- ...eports-no-error-when-tsbuildinfo-differ.js | 20 +- .../files-containing-json-file.js | 12 +- ...le-from-project-reference-discrepancies.js | 10 - ...ting-json-module-from-project-reference.js | 12 +- .../resolveJsonModule/include-and-files.js | 12 +- ...r-include-and-file-name-matches-ts-file.js | 12 +- ...nclude-of-json-along-with-other-include.js | 12 +- .../sourcemap-discrepancies.js | 10 - .../tsbuild/resolveJsonModule/sourcemap.js | 12 +- .../without-outDir-discrepancies.js | 10 - .../resolveJsonModule/without-outDir.js | 12 +- .../always-builds-under-with-force-option.js | 28 +- .../building-using-buildReferencedProject.js | 18 +- ...uilding-using-getNextInvalidatedProject.js | 28 +- ...rectly-when-declarationDir-is-specified.js | 28 +- ...ilds-correctly-when-outDir-is-specified.js | 28 +- .../sample1/builds-till-project-specified.js | 18 +- .../can-detect-when-and-what-to-rebuild.js | 34 +- ...t-in-not-build-order-doesnt-throw-error.js | 28 +- .../sample1/cleans-till-project-specified.js | 28 +- ...ojects-if-upstream-projects-have-errors.js | 8 +- .../reference/tsbuild/sample1/explainFiles.js | 40 +-- ...it-would-skip-builds-during-a-dry-build.js | 28 +- .../sample1/invalidates-projects-correctly.js | 28 +- .../tsbuild/sample1/listEmittedFiles.js | 40 +-- .../reference/tsbuild/sample1/listFiles.js | 40 +-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 56 ++-- ...uilds-from-start-if-force-option-is-set.js | 28 +- ...uilds-when-extended-config-file-changes.js | 38 ++- .../sample1/removes-all-files-it-built.js | 28 +- .../reference/tsbuild/sample1/sample.js | 40 +-- .../when-declaration-option-changes.js | 8 +- .../when-esModuleInterop-option-changes.js | 38 ++- .../when-logic-specifies-tsBuildInfoFile.js | 28 +- ...roject-uses-different-module-resolution.js | 12 +- .../transitiveReferences/builds-correctly.js | 12 +- ...de-resolution-with-external-module-name.js | 6 +- .../demo/updates-with-circular-reference.js | 38 +-- ...for-changes-to-package-json-main-fields.js | 16 +- ...t-correctly-with-cts-and-mts-extensions.js | 18 +- ...se-different-module-resolution-settings.js | 28 +- .../creates-solution-in-watch-mode.js | 36 +-- .../incremental-updates-in-verbose-mode.js | 36 +-- .../when-file-with-no-error-changes.js | 12 +- ...ing-errors-only-changed-file-is-emitted.js | 55 +--- .../when-file-with-no-error-changes.js | 2 +- ...ixing-error-files-all-files-are-emitted.js | 8 +- .../when-preserveWatchOutput-is-not-used.js | 42 +-- ...veWatchOutput-is-passed-on-command-line.js | 42 +-- ...e-of-program-emit-with-outDir-specified.js | 20 +- ...r-recompilation-because-of-program-emit.js | 20 +- ...-references-watches-only-those-projects.js | 24 +- ...tches-config-files-that-are-not-present.js | 36 +-- ...e-down-stream-project-and-then-fixes-it.js | 8 +- ...le-is-added,-and-its-subsequent-updates.js | 52 +-- ...hanges-and-reports-found-errors-message.js | 54 ++-- ...not-start-build-of-referencing-projects.js | 42 +-- ...le-is-added,-and-its-subsequent-updates.js | 52 +-- ...hanges-and-reports-found-errors-message.js | 54 ++-- ...not-start-build-of-referencing-projects.js | 42 +-- ...project-with-extended-config-is-removed.js | 20 +- .../works-with-extended-source-files.js | 20 +- .../reexport/Reports-errors-correctly.js | 8 +- .../noEmit-changes-composite-discrepancies.js | 302 +----------------- .../incremental/noEmit-changes-composite.js | 108 +++---- ...s-incremental-declaration-discrepancies.js | 302 +----------------- .../noEmit-changes-incremental-declaration.js | 108 +++---- ...-initial-noEmit-composite-discrepancies.js | 40 --- ...t-changes-with-initial-noEmit-composite.js | 58 ++-- ...t-incremental-declaration-discrepancies.js | 40 --- ...-initial-noEmit-incremental-declaration.js | 58 ++-- ...he-signatures-are-updated-discrepancies.js | 15 - ...le-is-added,-the-signatures-are-updated.js | 36 +-- ...file-is-added-to-the-referenced-project.js | 6 +- .../errors-for-.d.ts-change.js | 2 +- .../errors-for-.ts-change.js | 35 +- ...g-a-deep-multilevel-import-that-changes.js | 80 +++-- .../no-circular-import/export.js | 56 +--- .../yes-circular-import/exports.js | 62 +--- .../with-noEmitOnError-with-incremental.js | 24 +- .../errors-for-.d.ts-change.js | 8 +- .../errors-for-.ts-change.js | 23 +- ...g-a-deep-multilevel-import-that-changes.js | 41 +-- .../no-circular-import/export.js | 50 ++- .../yes-circular-import/exports.js | 59 ++-- .../with-noEmitOnError-with-incremental.js | 24 +- .../errors-for-.d.ts-change.js | 38 +-- .../errors-for-.ts-change.js | 102 ++---- ...g-a-deep-multilevel-import-that-changes.js | 256 ++++++++++++--- .../no-circular-import/export.js | 162 ++-------- .../yes-circular-import/exports.js | 170 ++-------- .../with-noEmitOnError-with-incremental.js | 24 +- .../with-noEmitOnError.js | 24 +- .../errors-for-.d.ts-change.js | 44 +-- .../errors-for-.ts-change.js | 54 ++-- ...g-a-deep-multilevel-import-that-changes.js | 82 ++--- .../no-circular-import/export.js | 99 +++--- .../yes-circular-import/exports.js | 114 +++---- .../with-noEmitOnError-with-incremental.js | 24 +- .../defaultAndD/with-noEmitOnError.js | 24 +- .../errors-for-.d.ts-change.js | 44 +-- .../errors-for-.ts-change.js | 64 ++-- ...g-a-deep-multilevel-import-that-changes.js | 96 +++--- .../no-circular-import/export.js | 112 +++---- .../yes-circular-import/exports.js | 128 ++++---- .../with-noEmitOnError-with-incremental.js | 24 +- .../isolatedModulesAndD/with-noEmitOnError.js | 24 +- .../errors-for-.d.ts-change.js | 8 +- .../errors-for-.ts-change.js | 18 +- ...g-a-deep-multilevel-import-that-changes.js | 34 +- .../no-circular-import/export.js | 42 +-- .../yes-circular-import/exports.js | 50 +-- .../with-noEmitOnError-with-incremental.js | 24 +- .../declarationDir-is-specified.js | 4 +- ...-outDir-and-declarationDir-is-specified.js | 4 +- ...e-is-specified-with-declaration-enabled.js | 4 +- ...file-is-added-to-the-referenced-project.js | 8 +- .../on-sample-project.js | 28 +- ...-different-folders-with-no-files-clause.js | 12 +- ...nsitive-references-in-different-folders.js | 12 +- .../on-transitive-references.js | 12 +- ...roject-uses-different-module-resolution.js | 12 +- ...es-field-when-solution-is-already-built.js | 21 +- ...Symlinks-when-solution-is-already-built.js | 21 +- ...n-has-types-field-with-preserveSymlinks.js | 15 +- ...-package-when-solution-is-already-built.js | 21 +- ...Symlinks-when-solution-is-already-built.js | 21 +- ...th-scoped-package-with-preserveSymlinks.js | 15 +- ...son-has-types-field-with-scoped-package.js | 15 +- .../when-packageJson-has-types-field.js | 15 +- ...ubFolder-when-solution-is-already-built.js | 21 +- ...Symlinks-when-solution-is-already-built.js | 21 +- ...le-from-subFolder-with-preserveSymlinks.js | 15 +- ...-package-when-solution-is-already-built.js | 21 +- ...Symlinks-when-solution-is-already-built.js | 21 +- ...th-scoped-package-with-preserveSymlinks.js | 15 +- ...file-from-subFolder-with-scoped-package.js | 15 +- .../when-referencing-file-from-subFolder.js | 15 +- ...-project-when-solution-is-already-built.js | 34 +- .../with-simple-project.js | 22 +- ...noEmit-with-composite-with-emit-builder.js | 26 +- ...it-with-composite-with-semantic-builder.js | 26 +- ...nError-with-composite-with-emit-builder.js | 6 +- ...or-with-composite-with-semantic-builder.js | 6 +- .../watchApi/semantic-builder-emitOnlyDts.js | 6 +- ...ing-useSourceOfProjectReferenceRedirect.js | 8 +- ...-host-implementing-getParsedCommandLine.js | 8 +- ...ory-with-outDir-and-declaration-enabled.js | 2 +- 193 files changed, 2486 insertions(+), 3719 deletions(-) delete mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js delete mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js delete mode 100644 tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js delete mode 100644 tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 9d4ce0595eb93..c8b0eaa0c1d17 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -161,6 +161,8 @@ namespace ts { * true if program has been emitted */ programEmitComplete?: true; + /** Stores list of files that change signature during emit - test only */ + filesChangingSignature?: Set; } function hasSameKeys(map1: ReadonlyCollection | undefined, map2: ReadonlyCollection | undefined): boolean { @@ -1088,7 +1090,9 @@ namespace ts { // Otherwise just affected file Debug.checkDefined(state.program).emit( affected === state.program ? undefined : affected as SourceFile, - writeFile || maybeBind(host, host.writeFile), + affected !== state.program && getEmitDeclarations(state.compilerOptions) && !customTransformers ? + getWriteFileUpdatingSignatureCallback(writeFile) : + writeFile || maybeBind(host, host.writeFile), cancellationToken, emitOnlyDtsFiles || emitKind === BuilderFileEmit.DtsOnly, customTransformers @@ -1099,6 +1103,33 @@ namespace ts { ); } + function getWriteFileUpdatingSignatureCallback(writeFile: WriteFileCallback | undefined): WriteFileCallback { + return (fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos) => { + if (sourceFiles?.length === 1 && isDeclarationFileName(fileName)) { + const file = sourceFiles[0]; + const info = state.fileInfos.get(file.resolvedPath)!; + const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; + if (signature === file.version) { + const newSignature = (computeHash || generateDjb2Hash)(sourceMapUrlPos !== undefined ? data.substring(0, sourceMapUrlPos) : data); + if (newSignature !== file.version) { // Update it + if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); + if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); + if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { + state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); + } + else { + info.signature = newSignature; + if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + } + } + } + } + if (writeFile) writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + else if (host.writeFile) host.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + else state.program!.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + }; + } + /** * Emits the JavaScript and declaration files. * When targetSource file is specified, emits the files corresponding to that source file, @@ -1153,7 +1184,15 @@ namespace ts { } } } - return Debug.checkDefined(state.program).emit(targetSourceFile, writeFile || maybeBind(host, host.writeFile), cancellationToken, emitOnlyDtsFiles, customTransformers); + return Debug.checkDefined(state.program).emit( + targetSourceFile, + !outFile(state.compilerOptions) && getEmitDeclarations(state.compilerOptions) && !customTransformers ? + getWriteFileUpdatingSignatureCallback(writeFile) : + writeFile || maybeBind(host, host.writeFile), + cancellationToken, + emitOnlyDtsFiles, + customTransformers + ); } /** diff --git a/src/compiler/builderPublic.ts b/src/compiler/builderPublic.ts index 5d5d2ed25dd52..a3527a83f9fa2 100644 --- a/src/compiler/builderPublic.ts +++ b/src/compiler/builderPublic.ts @@ -20,6 +20,11 @@ namespace ts { */ /*@internal*/ disableUseFileVersionAsSignature?: boolean; + /** + * Store the list of files that update signature during the emit + */ + /*@internal*/ + storeFilesChangingSignatureDuringEmit?: boolean; } /** diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index d78a107472cd5..f501eda66a1d1 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -450,7 +450,7 @@ namespace ts { /** * Coverts the declaration emit result into exported modules map */ - function updateExportedModules(sourceFile: SourceFile, exportedModulesFromDeclarationEmit: ExportedModulesFromDeclarationEmit | undefined, exportedModulesMapCache: ManyToManyPathMap) { + export function updateExportedModules(sourceFile: SourceFile, exportedModulesFromDeclarationEmit: ExportedModulesFromDeclarationEmit | undefined, exportedModulesMapCache: ManyToManyPathMap) { if (!exportedModulesFromDeclarationEmit) { exportedModulesMapCache.deleteKey(sourceFile.resolvedPath); return; diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index aca15c666a6ef..7d425b3b8e3fc 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -531,6 +531,7 @@ namespace ts { printer.writeFile(sourceFile!, writer, sourceMapGenerator); } + let sourceMapUrlPos; if (sourceMapGenerator) { if (sourceMapDataList) { sourceMapDataList.push({ @@ -548,6 +549,7 @@ namespace ts { if (sourceMappingURL) { if (!writer.isAtStartOfLine()) writer.rawWrite(newLine); + sourceMapUrlPos = writer.getTextPos(); writer.writeComment(`//# ${"sourceMappingURL"}=${sourceMappingURL}`); // Tools can sometimes see this line as a source mapping url comment } @@ -562,7 +564,7 @@ namespace ts { } // Write the output file - writeFile(host, emitterDiagnostics, jsFilePath, writer.getText(), !!compilerOptions.emitBOM, sourceFiles); + writeFile(host, emitterDiagnostics, jsFilePath, writer.getText(), !!compilerOptions.emitBOM, sourceFiles, sourceMapUrlPos); // Reset state writer.clear(); diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 615d52fb68e44..c8c4cd0aeb085 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -262,7 +262,7 @@ namespace ts { return newValue; }; if (originalWriteFile) { - host.writeFile = (fileName, data, writeByteOrderMark, onError, sourceFiles) => { + host.writeFile = (fileName, data, ...rest) => { const key = toPath(fileName); fileExistsCache.delete(key); @@ -277,7 +277,7 @@ namespace ts { sourceFileCache.delete(key); } } - originalWriteFile.call(host, fileName, data, writeByteOrderMark, onError, sourceFiles); + originalWriteFile.call(host, fileName, data, ...rest); }; } @@ -1340,6 +1340,7 @@ namespace ts { useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), getFileIncludeReasons: () => fileReasons, structureIsReused, + writeFile, }; onProgramCreateComplete(); @@ -1894,8 +1895,7 @@ namespace ts { getProjectReferenceRedirect, isSourceOfProjectReferenceRedirect, getSymlinkCache, - writeFile: writeFileCallback || ( - (fileName, data, writeByteOrderMark, onError, sourceFiles) => host.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles)), + writeFile: writeFileCallback || writeFile, isEmitBlocked, readFile: f => host.readFile(f), fileExists: f => { @@ -1914,6 +1914,17 @@ namespace ts { }; } + function writeFile( + fileName: string, + data: string, + writeByteOrderMark: boolean, + onError?: (message: string) => void, + sourceFiles?: readonly SourceFile[], + sourceMapUrlPos?: number, + ) { + host.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + } + function emitBuildInfo(writeFileCallback?: WriteFileCallback): EmitResult { Debug.assert(!outFile(options)); tracing?.push(tracing.Phase.Emit, "emitBuildInfo", {}, /*separateBeginAndEnd*/ true); diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 48ac670c8bea3..6cdcc6a26b9e4 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -1210,11 +1210,13 @@ namespace ts { base64decode?(input: string): string; base64encode?(input: string): string; /*@internal*/ bufferFrom?(input: string, encoding?: string): Buffer; + /*@internal*/ require?(baseDir: string, moduleName: string): RequireResult; + /*@internal*/ defaultWatchFileKind?(): WatchFileKind | undefined; + // For testing /*@internal*/ now?(): Date; /*@internal*/ disableUseFileVersionAsSignature?: boolean; - /*@internal*/ require?(baseDir: string, moduleName: string): RequireResult; - /*@internal*/ defaultWatchFileKind?(): WatchFileKind | undefined; + /*@internal*/ storeFilesChangingSignatureDuringEmit?: boolean; } export interface FileWatcher { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 3a88c1b5c3774..01a52be9845ab 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -3862,6 +3862,7 @@ namespace ts { writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], + sourceMapUrlPos?: number, ) => void; export class OperationCanceledException { } @@ -4067,6 +4068,8 @@ namespace ts { * This implementation handles file exists to be true if file is source of project reference redirect when program is created using useSourceOfProjectReferenceRedirect */ /*@internal*/ fileExists(fileName: string): boolean; + /** Call compilerHost.writeFile on host program was created with */ + /*@internal*/ writeFile: WriteFileCallback; } /*@internal*/ @@ -6782,6 +6785,7 @@ namespace ts { // For testing: /*@internal*/ disableUseFileVersionAsSignature?: boolean; + /*@internal*/ storeFilesChangingSignatureDuringEmit?: boolean; } /** true if --out otherwise source file name */ diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index d44df87c458a6..be724bc9a18b6 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -4459,10 +4459,10 @@ namespace ts { return combinePaths(newDirPath, sourceFilePath); } - export function writeFile(host: { writeFile: WriteFileCallback; }, diagnostics: DiagnosticCollection, fileName: string, data: string, writeByteOrderMark: boolean, sourceFiles?: readonly SourceFile[]) { + export function writeFile(host: { writeFile: WriteFileCallback; }, diagnostics: DiagnosticCollection, fileName: string, data: string, writeByteOrderMark: boolean, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) { host.writeFile(fileName, data, writeByteOrderMark, hostErrorMessage => { diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage)); - }, sourceFiles); + }, sourceFiles, sourceMapUrlPos); } function ensureDirectoriesExist( diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index b2f7a0a3bc540..6c422d31f0cd5 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -573,6 +573,7 @@ namespace ts { createHash: maybeBind(host, host.createHash), readDirectory: maybeBind(host, host.readDirectory), disableUseFileVersionAsSignature: host.disableUseFileVersionAsSignature, + storeFilesChangingSignatureDuringEmit: host.storeFilesChangingSignatureDuringEmit, }; function writeFile(fileName: string, text: string, writeByteOrderMark: boolean, onError: (message: string) => void) { @@ -637,6 +638,7 @@ namespace ts { createHash: maybeBind(system, system.createHash), createProgram: createProgram || createEmitAndSemanticDiagnosticsBuilderProgram as any as CreateProgram, disableUseFileVersionAsSignature: system.disableUseFileVersionAsSignature, + storeFilesChangingSignatureDuringEmit: system.storeFilesChangingSignatureDuringEmit, }; } diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 095c0f69a1083..8af1397e19cff 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -20,6 +20,7 @@ namespace ts { const host = createCompilerHostWorker(options, /*setParentNodes*/ undefined, system); host.createHash = maybeBind(system, system.createHash); host.disableUseFileVersionAsSignature = system.disableUseFileVersionAsSignature; + host.storeFilesChangingSignatureDuringEmit = system.storeFilesChangingSignatureDuringEmit; setGetSourceFileAsHashVersioned(host, system); changeCompilerHostLikeToUseCache(host, fileName => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName)); return host; @@ -114,6 +115,7 @@ namespace ts { writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void; // For testing disableUseFileVersionAsSignature?: boolean; + storeFilesChangingSignatureDuringEmit?: boolean; } export interface WatchCompilerHost extends ProgramHost, WatchHost { diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 332022570fb88..829d6e8fa41f4 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -396,6 +396,7 @@ interface Array { length: number; [n: number]: T; }` private readonly currentDirectory: string; public require: ((initialPath: string, moduleName: string) => RequireResult) | undefined; public defaultWatchFileKind?: () => WatchFileKind | undefined; + public storeFilesChangingSignatureDuringEmit = true; watchFile: HostWatchFile; watchDirectory: HostWatchDirectory; constructor( diff --git a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts index 4dfa27b63c8ab..834d5825377f2 100644 --- a/src/testRunner/unittests/tsbuild/resolveJsonModule.ts +++ b/src/testRunner/unittests/tsbuild/resolveJsonModule.ts @@ -57,7 +57,7 @@ export default hello.hello`); fs: () => projFs, commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose", "--explainFiles"], modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"composite": true,`, `"composite": true, "sourceMap": true,`), - edits: noChangeWithExportsDescripencyOnlyRuns + edits: noChangeOnlyRuns }); verifyTscWithEdits({ @@ -66,7 +66,7 @@ export default hello.hello`); fs: () => projFs, commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose"], modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"outDir": "dist",`, ""), - edits: noChangeWithExportsDescripencyOnlyRuns + edits: noChangeOnlyRuns }); }); @@ -76,7 +76,7 @@ export default hello.hello`); subScenario: "importing json module from project reference", fs: () => loadProjectFromDisk("tests/projects/importJsonFromProjectReference"), commandLineArgs: ["--b", "src/tsconfig.json", "--verbose", "--explainFiles"], - edits: noChangeWithExportsDescripencyOnlyRuns + edits: noChangeOnlyRuns }); }); } diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index 434a45c693724..aa7b4f250d6f5 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -3,6 +3,7 @@ namespace ts { writtenFiles: Set; baseLine(): { file: string; text: string; }; disableUseFileVersionAsSignature?: boolean; + storeFilesChangingSignatureDuringEmit?: boolean; }; export const noChangeRun: TestTscEdit = { @@ -91,6 +92,7 @@ namespace ts { // Create system const sys = new fakes.System(fs, { executingFilePath: "/lib/tsc", env: environmentVariables }) as TscCompileSystem; if (input.disableUseFileVersionAsSignature) sys.disableUseFileVersionAsSignature = true; + sys.storeFilesChangingSignatureDuringEmit = true; sys.write(`${sys.getExecutingFilePath()} ${commandLineArgs.join(" ")}\n`); sys.exit = exitCode => sys.exitCode = exitCode; worker(sys); diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index 99ce9d20b1f42..b4227d442b19f 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -124,12 +124,12 @@ const a: string = 10;`, "utf-8"), function verifyNoEmitChanges(compilerOptions: CompilerOptions) { const noChangeRunWithNoEmit: TestTscEdit = { - ...noChangeWithExportsDescripencyRun, + ...(getEmitDeclarations(compilerOptions) ? noChangeRun : noChangeWithExportsDescripencyRun), subScenario: "No Change run with noEmit", commandLineArgs: ["--p", "src/project", "--noEmit"], }; const noChangeRunWithEmit: TestTscEdit = { - ...noChangeWithExportsDescripencyRun, + ...(getEmitDeclarations(compilerOptions) ? noChangeRun : noChangeWithExportsDescripencyRun), subScenario: "No Change run with emit", commandLineArgs: ["--p", "src/project"], }; @@ -152,11 +152,12 @@ const a: string = 10;`, "utf-8"), subScenario: "Introduce error but still noEmit", commandLineArgs: ["--p", "src/project", "--noEmit"], modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"), + descripencyExplaination: getEmitDeclarations(compilerOptions) ? noChangeWithExportsDescripencyRun.descripencyExplaination : undefined, }, { subScenario: "Fix error and emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), - descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, + descripencyExplaination: getEmitDeclarations(compilerOptions) ? undefined : noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -165,7 +166,7 @@ const a: string = 10;`, "utf-8"), { subScenario: "Introduce error and emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"), - descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, + descripencyExplaination: getEmitDeclarations(compilerOptions) ? undefined : noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -256,7 +257,7 @@ const a: string = 10;`, "utf-8"), }), commandLineArgs: ["--p", "src/project"], edits: [ - noChangeWithExportsDescripencyRun, + noChangeRun, { subScenario: "Modify main file", modifyFs: fs => appendText(fs, `/src/project/src/main.ts`, `something();`), diff --git a/src/testRunner/unittests/tscWatch/helpers.ts b/src/testRunner/unittests/tscWatch/helpers.ts index 74786c0e1cfc7..501264b40ff32 100644 --- a/src/testRunner/unittests/tscWatch/helpers.ts +++ b/src/testRunner/unittests/tscWatch/helpers.ts @@ -337,7 +337,7 @@ namespace ts.tscWatch { if (!builderProgram) return; if (builderProgram !== oldProgram?.[1]) { const state = builderProgram.getState(); - const internalState = state as unknown as BuilderState; + const internalState = state as unknown as BuilderProgramState; if (state.semanticDiagnosticsPerFile?.size) { baseline.push("Semantic diagnostics in builder refreshed for::"); for (const file of program.getSourceFiles()) { @@ -355,9 +355,12 @@ namespace ts.tscWatch { baseline.push("Shape signatures in builder refreshed for::"); internalState.hasCalledUpdateShapeSignature.forEach((path: Path) => { const info = state.fileInfos.get(path); - if(info?.version === info?.signature || !info?.signature) { + if (info?.version === info?.signature || !info?.signature) { baseline.push(path + " (used version)"); } + else if (internalState.filesChangingSignature?.has(path)) { + baseline.push(path + " (computed .d.ts during emit)"); + } else { baseline.push(path + " (computed .d.ts)"); } diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index a08dea9d05f4a..64bb6b2363e75 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -2172,7 +2172,7 @@ declare namespace ts { export type ResolvedConfigFileName = string & { _isResolvedConfigFileName: never; }; - export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[]) => void; + export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) => void; export class OperationCanceledException { } export interface CancellationToken { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 22af7579a0367..40be185d9f3f7 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2172,7 +2172,7 @@ declare namespace ts { export type ResolvedConfigFileName = string & { _isResolvedConfigFileName: never; }; - export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[]) => void; + export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) => void; export class OperationCanceledException { } export interface CancellationToken { diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 54ef641091235..9486e97e75108 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -160,7 +160,7 @@ exports.bar = bar; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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},"9819159940-export function foo() { }export function fooBar() { }","1045484683-export function bar() { }"],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-827728784-export declare function foo(): void;\r\nexport declare function fooBar(): void;\r\n"},{"version":"1045484683-export function bar() { }","signature":"-1357953631-export declare function bar(): void;\r\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,11 +178,11 @@ exports.bar = bar; }, "./a.ts": { "version": "9819159940-export function foo() { }export function fooBar() { }", - "signature": "9819159940-export function foo() { }export function fooBar() { }" + "signature": "-827728784-export declare function foo(): void;\r\nexport declare function fooBar(): void;\r\n" }, "./b.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-1357953631-export declare function bar(): void;\r\n" } }, "options": { @@ -198,6 +198,6 @@ exports.bar = bar; ] }, "version": "FakeTSVersion", - "size": 816 + "size": 1016 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 7f10bc7140a55..59c5133c2dead 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -72,7 +72,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},"-22125360210-export const a: Unrestricted = 1;",{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -90,7 +90,7 @@ exports.a = 1; }, "../../shared/index.ts": { "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "-22125360210-export const a: Unrestricted = 1;" + "signature": "-478734393-export declare const a: Unrestricted;\r\n" }, "../../shared/typings-base/globals.d.ts": { "version": "4725476611-type Unrestricted = any;", @@ -112,7 +112,7 @@ exports.a = 1; ] }, "version": "FakeTSVersion", - "size": 901 + "size": 980 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -127,7 +127,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},"-14405273073-export const b: Unrestricted = 1;",{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,7 +145,7 @@ exports.b = 1; }, "../../webpack/index.ts": { "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-14405273073-export const b: Unrestricted = 1;" + "signature": "-5074241048-export declare const b: Unrestricted;\r\n" }, "../../shared/typings-base/globals.d.ts": { "version": "4725476611-type Unrestricted = any;", @@ -167,6 +167,6 @@ exports.b = 1; ] }, "version": "FakeTSVersion", - "size": 902 + "size": 982 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 5602d28c95eed..80699604c08fc 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -73,7 +73,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},"-22125360210-export const a: Unrestricted = 1;",{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,7 +91,7 @@ exports.a = 1; }, "../../shared/index.ts": { "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "-22125360210-export const a: Unrestricted = 1;" + "signature": "-478734393-export declare const a: Unrestricted;\r\n" }, "../../shared/typings-base/globals.d.ts": { "version": "4725476611-type Unrestricted = any;", @@ -113,7 +113,7 @@ exports.a = 1; ] }, "version": "FakeTSVersion", - "size": 901 + "size": 980 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -128,7 +128,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},"-14405273073-export const b: Unrestricted = 1;",{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,7 +146,7 @@ exports.b = 1; }, "../../webpack/index.ts": { "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-14405273073-export const b: Unrestricted = 1;" + "signature": "-5074241048-export declare const b: Unrestricted;\r\n" }, "../../shared/typings-base/globals.d.ts": { "version": "4725476611-type Unrestricted = any;", @@ -168,6 +168,6 @@ exports.b = 1; ] }, "version": "FakeTSVersion", - "size": 902 + "size": 982 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 86fadcf744e09..2ce246e4af508 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -112,7 +112,7 @@ exports.x = 10; //// [/src/src/folder/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},"-10726455937-export const x = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/src/folder/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -129,7 +129,7 @@ exports.x = 10; }, "./index.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -143,7 +143,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 726 + "size": 797 } //// [/src/src/folder2/index.d.ts] @@ -158,7 +158,7 @@ exports.x = 10; //// [/src/src/folder2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},"-10726455937-export const x = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/src/folder2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,7 +175,7 @@ exports.x = 10; }, "./index.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -189,7 +189,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 726 + "size": 797 } //// [/src/tests/index.d.ts] @@ -204,7 +204,7 @@ exports.x = 10; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"-10726455937-export const x = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,7 +221,7 @@ exports.x = 10; }, "./index.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -235,7 +235,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 723 + "size": 794 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 9fdd096c56333..a0ea8ab754c19 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -112,7 +112,7 @@ exports.getVar = getVar; //// [/src/solution/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"4107369137-/// \nexport declare type Nominal = MyNominal;","-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}"],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/solution/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,15 +148,15 @@ exports.getVar = getVar; }, "../src/common/nominal.ts": { "version": "4107369137-/// \nexport declare type Nominal = MyNominal;", - "signature": "4107369137-/// \nexport declare type Nominal = MyNominal;" + "signature": "-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n" }, "../src/subproject/index.ts": { "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;" + "signature": "-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n" }, "../src/subproject2/index.ts": { "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}" + "signature": "-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n" } }, "options": { @@ -176,9 +176,6 @@ exports.getVar = getVar; ] }, "exportedModulesMap": { - "../src/common/nominal.ts": [ - "../src/common/types.d.ts" - ], "../src/subproject/index.ts": [ "../src/common/nominal.ts" ], @@ -195,6 +192,6 @@ exports.getVar = getVar; ] }, "version": "FakeTSVersion", - "size": 1455 + "size": 2003 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 45cfb1e5eccbc..3de7c42c59538 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -92,7 +92,7 @@ exports.__esModule = true; //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"4107369137-/// \nexport declare type Nominal = MyNominal;"],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -120,7 +120,7 @@ exports.__esModule = true; }, "../../../src/common/nominal.ts": { "version": "4107369137-/// \nexport declare type Nominal = MyNominal;", - "signature": "4107369137-/// \nexport declare type Nominal = MyNominal;" + "signature": "-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n" } }, "options": { @@ -133,11 +133,7 @@ exports.__esModule = true; "../../../src/common/types.d.ts" ] }, - "exportedModulesMap": { - "../../../src/common/nominal.ts": [ - "../../../src/common/types.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../lib/lib.d.ts", "../../../src/common/nominal.ts", @@ -145,7 +141,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 1081 + "size": 1254 } //// [/src/solution/lib/src/subProject/index.d.ts] @@ -159,7 +155,7 @@ exports.__esModule = true; //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n","-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;"],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -195,7 +191,7 @@ exports.__esModule = true; }, "../../../src/subproject/index.ts": { "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;" + "signature": "-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n" } }, "options": { @@ -227,7 +223,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 1267 + "size": 1420 } //// [/src/solution/lib/src/subProject2/index.d.ts] @@ -253,7 +249,7 @@ exports.getVar = getVar; //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n","2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}"],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,4,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,4,2,5]},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -297,7 +293,7 @@ exports.getVar = getVar; }, "../../../src/subproject2/index.ts": { "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}" + "signature": "-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n" } }, "options": { @@ -336,6 +332,6 @@ exports.getVar = getVar; ] }, "version": "FakeTSVersion", - "size": 1518 + "size": 1741 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index ab98ee67ab57a..8e9bd8c3463f6 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -72,7 +72,7 @@ exports.__esModule = true; //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"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},"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -89,7 +89,7 @@ exports.__esModule = true; }, "../src/index.ts": { "version": "-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}", - "signature": "-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}" + "signature": "-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n" } }, "options": { @@ -104,7 +104,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 819 + "size": 968 } //// [/src/packages/pkg2/lib/src/index.d.ts] @@ -123,7 +123,7 @@ exports.fn4 = fn4; //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"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},"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n","8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}"],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"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},"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-9447422063-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,7 +150,7 @@ exports.fn4 = fn4; }, "../src/index.ts": { "version": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}", - "signature": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}" + "signature": "-9447422063-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n" } }, "options": { @@ -174,6 +174,6 @@ exports.fn4 = fn4; ] }, "version": "FakeTSVersion", - "size": 1050 + "size": 1158 } diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 5e680bd649136..3d6db1f835f27 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -220,7 +220,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () //// [/src/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n"},"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} //// [/src/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -240,6 +240,9 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () [ "../../animals/animal.ts", "../../animals/dog.ts" + ], + [ + "../../animals/index.ts" ] ], "fileInfos": { @@ -250,11 +253,11 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "../../animals/animal.ts": { "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", - "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + "signature": "13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" }, "../../animals/index.ts": { "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", - "signature": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" + "signature": "4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" }, "../core/utilities.d.ts": { "version": "-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n", @@ -262,7 +265,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "../../animals/dog.ts": { "version": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n", - "signature": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n" + "signature": "10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n" } }, "options": { @@ -290,8 +293,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "exportedModulesMap": { "../../animals/dog.ts": [ - "../../animals/index.ts", - "../core/utilities.d.ts" + "../../animals/index.ts" ], "../../animals/index.ts": [ "../../animals/animal.ts", @@ -307,11 +309,11 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () ] }, "version": "FakeTSVersion", - "size": 1903 + "size": 2443 } //// [/src/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/utilities.ts"],"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},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -328,7 +330,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "../../core/utilities.ts": { "version": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n", - "signature": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n" + "signature": "-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n" } }, "options": { @@ -352,7 +354,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () ] }, "version": "FakeTSVersion", - "size": 1149 + "size": 1311 } //// [/src/lib/core/utilities.d.ts] @@ -377,7 +379,7 @@ exports.lastElementOf = lastElementOf; //// [/src/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n","4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n","4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"-17433436879-import { Dog } from '../animals/index';\r\nexport declare function createZoo(): Array;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} //// [/src/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,7 +420,7 @@ exports.lastElementOf = lastElementOf; }, "../../zoo/zoo.ts": { "version": "8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n", - "signature": "8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n" + "signature": "-17433436879-import { Dog } from '../animals/index';\r\nexport declare function createZoo(): Array;\r\n" } }, "options": { @@ -467,7 +469,7 @@ exports.lastElementOf = lastElementOf; ] }, "version": "FakeTSVersion", - "size": 1670 + "size": 1805 } //// [/src/lib/zoo/zoo.d.ts] diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index fd95ccb3f2a0f..2e34936ad43e3 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -120,7 +120,7 @@ export { C } from "./c"; {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,19 +156,19 @@ export { C } from "./c"; }, "./src/c.ts": { "version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n" + "signature": "-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n" }, "./src/b.ts": { "version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n" + "signature": "20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n" }, "./src/a.ts": { "version": "-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n" + "signature": "-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n" }, "./src/index.ts": { "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" + "signature": "-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n" } }, "options": { @@ -225,7 +225,7 @@ export { C } from "./c"; ] }, "version": "FakeTSVersion", - "size": 1328 + "size": 1790 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index f4298481591b7..d54ea707e2c46 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -108,7 +108,7 @@ export { C } from "./c"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -144,19 +144,19 @@ export { C } from "./c"; }, "./src/c.ts": { "version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n" + "signature": "-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n" }, "./src/b.ts": { "version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n" + "signature": "20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n" }, "./src/a.ts": { "version": "-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n" + "signature": "-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n" }, "./src/index.ts": { "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" + "signature": "-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n" } }, "options": { @@ -212,7 +212,7 @@ export { C } from "./c"; ] }, "version": "FakeTSVersion", - "size": 1306 + "size": 1768 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index d8a0c848a1d12..9f067f0726e82 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -107,7 +107,7 @@ export interface C { {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../src/c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -134,15 +134,15 @@ export interface C { }, "./src/a.ts": { "version": "11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n", - "signature": "11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n" + "signature": "-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n" }, "./src/c.ts": { "version": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n" + "signature": "-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n" }, "./src/b.ts": { "version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n" + "signature": "20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n" } }, "options": { @@ -182,7 +182,7 @@ export interface C { ] }, "version": "FakeTSVersion", - "size": 1184 + "size": 1541 } @@ -209,6 +209,8 @@ Output:: [12:00:23 AM] Building project '/src/tsconfig.json'... +[12:00:28 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... + exitCode:: ExitStatus.Success @@ -216,10 +218,7 @@ exitCode:: ExitStatus.Success //// [/src/lib/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} -//// [/src/lib/b.d.ts] file written with same contents -//// [/src/lib/b.d.ts.map] file written with same contents -//// [/src/lib/c.d.ts] file written with same contents -//// [/src/lib/c.d.ts.map] file written with same contents +//// [/src/lib/b.d.ts] file changed its modified time //// [/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} @@ -316,12 +315,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:33 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/tsconfig.json -[12:00:34 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:36 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' -[12:00:35 AM] Building project '/src/tsconfig.json'... +[12:00:37 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -344,7 +343,7 @@ export interface A { //// [/src/lib/c.d.ts] file written with same contents //// [/src/lib/c.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -379,7 +378,7 @@ export interface A { }, "./src/b.ts": { "version": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n" + "signature": "20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n" } }, "options": { @@ -419,6 +418,6 @@ export interface A { ] }, "version": "FakeTSVersion", - "size": 1469 + "size": 1580 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index fa52d73100170..575b201365469 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -80,7 +80,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7111849992-export declare function multiply(a: number, b: number): number;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -97,7 +97,7 @@ exports.multiply = multiply; }, "./index.ts": { "version": "5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7111849992-export declare function multiply(a: number, b: number): number;\r\n" } }, "options": { @@ -114,6 +114,6 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 837 + "size": 943 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index f6dc7b6622989..eb3f872d7a944 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -152,7 +152,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,11 +182,11 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "../bar.ts": { "version": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});", - "signature": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});" + "signature": "11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n" }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -195,11 +195,11 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "../lazyindex.ts": { "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -235,7 +235,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret ] }, "version": "FakeTSVersion", - "size": 1937 + "size": 2690 } @@ -288,7 +288,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -322,7 +322,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -331,11 +331,11 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "../lazyindex.ts": { "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -371,7 +371,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] }, "version": "FakeTSVersion", - "size": 2029 + "size": 2649 } @@ -424,7 +424,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -458,7 +458,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -467,11 +467,11 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "../lazyindex.ts": { "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -507,6 +507,6 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] }, "version": "FakeTSVersion", - "size": 2056 + "size": 2690 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 76b3926517188..b507ad314cd90 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -152,7 +152,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,11 +182,11 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "../bar.ts": { "version": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});", - "signature": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});" + "signature": "11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n" }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -195,11 +195,11 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "../lazyindex.ts": { "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -235,7 +235,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret ] }, "version": "FakeTSVersion", - "size": 1937 + "size": 2690 } @@ -264,7 +264,7 @@ Output:: [12:00:23 AM] Building project '/src/tsconfig.json'... -[12:00:32 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:31 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -286,11 +286,10 @@ import { LazyAction } from './bundling'; export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex")>; -//// [/src/obj/index.js] file written with same contents //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/lazyIndex.js] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -324,7 +323,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -373,7 +372,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" ] }, "version": "FakeTSVersion", - "size": 2282 + "size": 2649 } @@ -427,7 +426,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/lazyIndex.js] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-6956449754-export { default as bar } from './bar';\n","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -461,7 +460,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -474,7 +473,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -510,6 +509,6 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( ] }, "version": "FakeTSVersion", - "size": 2138 + "size": 2690 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 99508fbea6884..9ddb383e8d5c0 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -156,7 +156,7 @@ var bar_2 = require("./bar"); //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,11 +186,11 @@ var bar_2 = require("./bar"); }, "../bar.ts": { "version": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});", - "signature": "5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});" + "signature": "11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n" }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -199,11 +199,11 @@ var bar_2 = require("./bar"); }, "../lazyindex.ts": { "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -239,7 +239,7 @@ var bar_2 = require("./bar"); ] }, "version": "FakeTSVersion", - "size": 1994 + "size": 2747 } @@ -280,7 +280,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -314,7 +314,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -389,7 +389,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2260 + "size": 2627 } @@ -428,7 +428,7 @@ exitCode:: ExitStatus.Success //// [/src/obj/index.d.ts] file written with same contents //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"5936740878-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(param: string): void {\r\n});","signature":"11191036521-declare const _default: (param: string) => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -462,7 +462,7 @@ exitCode:: ExitStatus.Success }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -471,11 +471,11 @@ exitCode:: ExitStatus.Success }, "../lazyindex.ts": { "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");" + "signature": "-6224542381-export { default as bar } from './bar';\r\n" }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "18468008756-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -511,7 +511,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 2113 + "size": 2747 } @@ -552,7 +552,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -586,7 +586,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -661,7 +661,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2260 + "size": 2627 } @@ -719,7 +719,7 @@ var bar_2 = require("./bar"); //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n",{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6224542381-export { default as bar } from './bar';\r\n"},"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6224542381-export { default as bar } from './bar';\r\n"},{"version":"-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);","signature":"6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n"}],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,5]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -753,7 +753,7 @@ var bar_2 = require("./bar"); }, "../bundling.ts": { "version": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n", - "signature": "-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n" + "signature": "-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n" }, "../global.d.ts": { "version": "-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}", @@ -766,7 +766,7 @@ var bar_2 = require("./bar"); }, "../index.ts": { "version": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);", - "signature": "-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);" + "signature": "6256067474-import { LazyAction } from './bundling';\r\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\r\n" } }, "options": { @@ -802,6 +802,6 @@ var bar_2 = require("./bar"); ] }, "version": "FakeTSVersion", - "size": 2160 + "size": 2698 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index c91586ee3dd77..e2b0c11bbcc8f 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -133,7 +133,7 @@ module.exports = {}; //// [/lib/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n"],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/lib/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,7 +150,7 @@ module.exports = {}; }, "../../src/common/nominal.js": { "version": "-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n", - "signature": "-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n" + "signature": "-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n" } }, "options": { @@ -168,7 +168,7 @@ module.exports = {}; ] }, "version": "FakeTSVersion", - "size": 1104 + "size": 1221 } //// [/lib/sub-project/index.d.ts] @@ -185,7 +185,7 @@ exports.__esModule = true; //// [/lib/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n"],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[2,1,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","signature":"-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1,3]},"version":"FakeTSVersion"} //// [/lib/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -212,7 +212,7 @@ exports.__esModule = true; }, "../../src/sub-project/index.js": { "version": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", - "signature": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n" + "signature": "-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n" } }, "options": { @@ -227,11 +227,7 @@ exports.__esModule = true; "../common/nominal.d.ts" ] }, - "exportedModulesMap": { - "../../src/sub-project/index.js": [ - "../common/nominal.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../common/nominal.d.ts", "../lib.d.ts", @@ -239,7 +235,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 1264 + "size": 1405 } //// [/lib/sub-project-2/index.d.ts] @@ -271,7 +267,7 @@ exports.getVar = getVar; //// [/lib/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n","9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[2,1,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n",{"version":"9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n","signature":"-8647857726-/**\r\n * @return {keyof typeof variable}\r\n */\r\nexport function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\nimport { MyNominal } from \"../sub-project/index\";\r\nexport {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[2,1,3,4]},"version":"FakeTSVersion"} //// [/lib/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -306,7 +302,7 @@ exports.getVar = getVar; }, "../../src/sub-project-2/index.js": { "version": "9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n", - "signature": "9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n" + "signature": "-8647857726-/**\r\n * @return {keyof typeof variable}\r\n */\r\nexport function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\nimport { MyNominal } from \"../sub-project/index\";\r\nexport {};\r\n" } }, "options": { @@ -327,9 +323,6 @@ exports.getVar = getVar; "exportedModulesMap": { "../sub-project/index.d.ts": [ "../common/nominal.d.ts" - ], - "../../src/sub-project-2/index.js": [ - "../sub-project/index.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -340,6 +333,6 @@ exports.getVar = getVar; ] }, "version": "FakeTSVersion", - "size": 1540 + "size": 1812 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 3c400b67add90..565c3f004e736 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -136,7 +136,7 @@ exports.m = common_1["default"]; //// [/out/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n","-14684157955-import mod from '../common';\n\nexport const m = mod;\n"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-15768184370-export const m: {\r\n val: number;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/out/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -171,7 +171,7 @@ exports.m = common_1["default"]; }, "../../src/sub-project/index.js": { "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", - "signature": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n" + "signature": "-15768184370-export const m: {\r\n val: number;\r\n};\r\n" } }, "options": { @@ -193,9 +193,6 @@ exports.m = common_1["default"]; "exportedModulesMap": { "../../src/common/index.d.ts": [ "../../src/common/obj.json" - ], - "../../src/sub-project/index.js": [ - "../../src/common/index.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -206,7 +203,7 @@ exports.m = common_1["default"]; ] }, "version": "FakeTSVersion", - "size": 1299 + "size": 1380 } //// [/out/sub-project-2/index.d.ts] @@ -232,7 +229,7 @@ exports.getVar = getVar; //// [/out/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15768184370-export const m: {\r\n val: number;\r\n};\r\n","13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15768184370-export const m: {\r\n val: number;\r\n};\r\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"-2686589794-export function getVar(): {\r\n key: {\r\n val: number;\r\n };\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/out/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,7 +256,7 @@ exports.getVar = getVar; }, "../../src/sub-project-2/index.js": { "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", - "signature": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n" + "signature": "-2686589794-export function getVar(): {\r\n key: {\r\n val: number;\r\n };\r\n};\r\n" } }, "options": { @@ -275,11 +272,7 @@ exports.getVar = getVar; "../sub-project/index.d.ts" ] }, - "exportedModulesMap": { - "../../src/sub-project-2/index.js": [ - "../sub-project/index.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../sub-project/index.d.ts", @@ -287,7 +280,7 @@ exports.getVar = getVar; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1412 } //// [/src/common/index.d.ts] @@ -302,7 +295,7 @@ module.exports = x; //// [/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}",{"version":"-5032674136-import x = require(\"./obj.json\");\nexport = x;\n","signature":"-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -329,7 +322,7 @@ module.exports = x; }, "./index.ts": { "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n" + "signature": "-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n" } }, "options": { @@ -357,6 +350,6 @@ module.exports = x; ] }, "version": "FakeTSVersion", - "size": 1137 + "size": 1230 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index 0ee13b9f5459d..c55b036326f9c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -103,8 +103,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/packages/pkg2/const.ts (used version) -/user/username/projects/myproject/packages/pkg2/index.ts (used version) +/user/username/projects/myproject/packages/pkg2/const.ts (computed .d.ts during emit) +/user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/myproject/packages/pkg1/index.ts"] Program options: {"outDir":"/user/username/projects/myproject/packages/pkg1/build","preserveSymlinks":true,"traceResolution":true,"configFilePath":"/user/username/projects/myproject/packages/pkg1/tsconfig.json"} @@ -154,7 +154,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},"-11202312776-export type TheNum = 42;","-10837689162-export type { TheNum } from 'const';"],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,11 +177,11 @@ export type { TheNum } from 'const'; }, "../const.ts": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-11202312776-export type TheNum = 42;" + "signature": "-9649133742-export declare type TheNum = 42;\n" }, "../index.ts": { "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-10837689162-export type { TheNum } from 'const';" + "signature": "-9751391360-export type { TheNum } from 'const';\n" } }, "options": { @@ -205,7 +205,7 @@ export type { TheNum } from 'const'; ] }, "version": "FakeTSVersion", - "size": 777 + "size": 927 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 6f698d19a52eb..2f25668c14d83 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -104,8 +104,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/packages/pkg2/const.ts (used version) -/user/username/projects/myproject/packages/pkg2/index.ts (used version) +/user/username/projects/myproject/packages/pkg2/const.ts (computed .d.ts during emit) +/user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/myproject/packages/pkg1/index.ts"] Program options: {"outDir":"/user/username/projects/myproject/packages/pkg1/build","traceResolution":true,"configFilePath":"/user/username/projects/myproject/packages/pkg1/tsconfig.json"} @@ -155,7 +155,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},"-11202312776-export type TheNum = 42;","-10837689162-export type { TheNum } from 'const';"],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,11 +178,11 @@ export type { TheNum } from 'const'; }, "../const.ts": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-11202312776-export type TheNum = 42;" + "signature": "-9649133742-export declare type TheNum = 42;\n" }, "../index.ts": { "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-10837689162-export type { TheNum } from 'const';" + "signature": "-9751391360-export type { TheNum } from 'const';\n" } }, "options": { @@ -206,7 +206,7 @@ export type { TheNum } from 'const'; ] }, "version": "FakeTSVersion", - "size": 777 + "size": 927 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index 6ddd71e5b7fa6..577f875cc7c5e 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -64,7 +64,7 @@ exitCode:: ExitStatus.Success //// [/src/packages/pkg1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},"-9601687719-export const theNum: TheNum = \"type1\";",{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -82,7 +82,7 @@ exitCode:: ExitStatus.Success }, "./pkg1_index.ts": { "version": "-9601687719-export const theNum: TheNum = \"type1\";", - "signature": "-9601687719-export const theNum: TheNum = \"type1\";" + "signature": "-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n" }, "./typeroot1/sometype/index.d.ts": { "version": "-4557394441-declare type TheNum = \"type1\";", @@ -102,7 +102,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 868 + "size": 987 } //// [/src/packages/pkg1_index.d.ts] @@ -118,7 +118,7 @@ exports.theNum = "type1"; //// [/src/packages/pkg2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"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},"-12823281204-export const theNum: TheNum2 = \"type2\";",{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"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},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-7237564442-/// \r\nexport declare const theNum: TheNum2;\r\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -136,7 +136,7 @@ exports.theNum = "type1"; }, "./pkg2_index.ts": { "version": "-12823281204-export const theNum: TheNum2 = \"type2\";", - "signature": "-12823281204-export const theNum: TheNum2 = \"type2\";" + "signature": "-7237564442-/// \r\nexport declare const theNum: TheNum2;\r\n" }, "./typeroot2/sometype/index.d.ts": { "version": "-980425686-declare type TheNum2 = \"type2\";", @@ -156,7 +156,7 @@ exports.theNum = "type1"; ] }, "version": "FakeTSVersion", - "size": 870 + "size": 990 } //// [/src/packages/pkg2_index.d.ts] diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 9ed239f0b345d..c8c48ac9ca7e8 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -203,7 +203,7 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; //// [/src/src-dogs/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[3,4],[3],[3,7],[5,6],[2]],"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"exportedModulesMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"semanticDiagnosticsPerFile":[1,5,4,8,6,7,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","signature":"17588480778-import { DogConfig } from 'src-types';\r\nexport declare const DOG_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","signature":"22128633249-import { DogConfig } from 'src-types';\r\nexport declare abstract class Dog {\r\n static getCapabilities(): DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","signature":"8131483665-import { DogConfig } from 'src-types';\r\nexport declare const LASSIE_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","signature":"-20244062422-import { Dog } from '../dog.js';\r\nexport declare class LassieDog extends Dog {\r\n protected static getDogConfig: () => import(\"../index.js\").DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","signature":"-16783836862-export * from 'src-types';\r\nexport * from './lassie/lassiedog.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[3,4],[3],[3,7],[5,6],[2],[5,8]],"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"exportedModulesMap":[[5,2],[4,2],[8,3],[6,2],[7,6],[3,5]],"semanticDiagnosticsPerFile":[1,5,4,8,6,7,2,3]},"version":"FakeTSVersion"} //// [/src/src-dogs/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -236,6 +236,10 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; ], [ "../src-types/dogconfig.d.ts" + ], + [ + "./dog.ts", + "./index.ts" ] ], "fileInfos": { @@ -257,27 +261,27 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; }, "./dogconfig.ts": { "version": "1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n", - "signature": "1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n", + "signature": "17588480778-import { DogConfig } from 'src-types';\r\nexport declare const DOG_CONFIG: DogConfig;\r\n", "impliedFormat": 99 }, "./dog.ts": { "version": "6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n", - "signature": "6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n", + "signature": "22128633249-import { DogConfig } from 'src-types';\r\nexport declare abstract class Dog {\r\n static getCapabilities(): DogConfig;\r\n}\r\n", "impliedFormat": 99 }, "./lassie/lassieconfig.ts": { "version": "4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n", - "signature": "4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n", + "signature": "8131483665-import { DogConfig } from 'src-types';\r\nexport declare const LASSIE_CONFIG: DogConfig;\r\n", "impliedFormat": 99 }, "./lassie/lassiedog.ts": { "version": "-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n", - "signature": "-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n", + "signature": "-20244062422-import { Dog } from '../dog.js';\r\nexport declare class LassieDog extends Dog {\r\n protected static getDogConfig: () => import(\"../index.js\").DogConfig;\r\n}\r\n", "impliedFormat": 99 }, "./index.ts": { "version": "-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n", - "signature": "-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n", + "signature": "-16783836862-export * from 'src-types';\r\nexport * from './lassie/lassiedog.js';\r\n", "impliedFormat": 99 } }, @@ -311,8 +315,7 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; }, "exportedModulesMap": { "./dog.ts": [ - "../src-types/index.d.ts", - "./dogconfig.ts" + "../src-types/index.d.ts" ], "./dogconfig.ts": [ "../src-types/index.d.ts" @@ -326,7 +329,7 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; ], "./lassie/lassiedog.ts": [ "./dog.ts", - "./lassie/lassieconfig.ts" + "./index.ts" ], "../src-types/index.d.ts": [ "../src-types/dogconfig.d.ts" @@ -344,7 +347,7 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; ] }, "version": "FakeTSVersion", - "size": 2019 + "size": 2712 } //// [/src/src-types/dogconfig.d.ts] @@ -366,7 +369,7 @@ export * from './dogconfig.js'; //// [/src/src-types/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","./dogconfig.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","./dogconfig.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","signature":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","signature":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/src-types/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -390,12 +393,12 @@ export * from './dogconfig.js'; }, "./dogconfig.ts": { "version": "-5575793279-export interface DogConfig {\n name: string;\n}", - "signature": "-5575793279-export interface DogConfig {\n name: string;\n}", + "signature": "-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n", "impliedFormat": 99 }, "./index.ts": { "version": "-6189272282-export * from './dogconfig.js';", - "signature": "-6189272282-export * from './dogconfig.js';", + "signature": "-5608794531-export * from './dogconfig.js';\r\n", "impliedFormat": 99 } }, @@ -421,6 +424,6 @@ export * from './dogconfig.js'; ] }, "version": "FakeTSVersion", - "size": 891 + "size": 1038 } diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 1d07febf05411..b1b2feb8dd399 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -150,7 +150,7 @@ exports.__esModule = true; //// [/src/lib/solution/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n"],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","signature":"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/lib/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,7 +167,7 @@ exports.__esModule = true; }, "../../../solution/common/nominal.ts": { "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" + "signature": "-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n" } }, "options": { @@ -184,7 +184,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 1097 + "size": 1236 } //// [/src/lib/solution/sub-project/index.d.ts] @@ -198,7 +198,7 @@ exports.__esModule = true; //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n"],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,7 +225,7 @@ exports.__esModule = true; }, "../../../solution/sub-project/index.ts": { "version": "-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n", - "signature": "-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n" + "signature": "-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n" } }, "options": { @@ -251,7 +251,7 @@ exports.__esModule = true; ] }, "version": "FakeTSVersion", - "size": 1281 + "size": 1434 } //// [/src/lib/solution/sub-project-2/index.d.ts] @@ -277,7 +277,7 @@ exports.getVar = getVar; //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n","-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n"],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"881159974-import { MyNominal } from '../sub-project/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -312,7 +312,7 @@ exports.getVar = getVar; }, "../../../solution/sub-project-2/index.ts": { "version": "-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n", - "signature": "-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n" + "signature": "881159974-import { MyNominal } from '../sub-project/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n" } }, "options": { @@ -345,6 +345,6 @@ exports.getVar = getVar; ] }, "version": "FakeTSVersion", - "size": 1539 + "size": 1761 } diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index cf13a3f071953..8903f45aeb498 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -202,7 +202,7 @@ function f() { {"version":3,"file":"first_part3.js","sourceRoot":"","sources":["first_part3.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"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},{"version":"-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","affectsGlobalScope":true},{"version":"4973778178-console.log(f());\r\n","affectsGlobalScope":true},{"version":"6202806249-function f() {\r\n return \"JS does hoists\";\r\n}","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"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},{"version":"-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","signature":"-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n","affectsGlobalScope":true},{"version":"4973778178-console.log(f());\r\n","signature":"5381-","affectsGlobalScope":true},{"version":"6202806249-function f() {\r\n return \"JS does hoists\";\r\n}","signature":"-5732730923-declare function f(): string;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/first/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,17 +221,17 @@ function f() { }, "./first_part1.ts": { "version": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", - "signature": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "signature": "-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n", "affectsGlobalScope": true }, "./first_part2.ts": { "version": "4973778178-console.log(f());\r\n", - "signature": "4973778178-console.log(f());\r\n", + "signature": "5381-", "affectsGlobalScope": true }, "./first_part3.ts": { "version": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}", - "signature": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}", + "signature": "-5732730923-declare function f(): string;\r\n", "affectsGlobalScope": true } }, @@ -253,7 +253,7 @@ function f() { ] }, "version": "FakeTSVersion", - "size": 1214 + "size": 1464 } //// [/src/second/second_part1.d.ts] @@ -303,7 +303,7 @@ var C = (function () { {"version":3,"file":"second_part2.js","sourceRoot":"","sources":["second_part2.ts"],"names":[],"mappings":"AAAA;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/second/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"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},{"version":"-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","affectsGlobalScope":true},{"version":"9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"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},{"version":"-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","signature":"-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n","affectsGlobalScope":true},{"version":"9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","signature":"1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/second/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,12 +321,12 @@ var C = (function () { }, "./second_part1.ts": { "version": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", - "signature": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "signature": "-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n", "affectsGlobalScope": true }, "./second_part2.ts": { "version": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", - "signature": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", + "signature": "1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n", "affectsGlobalScope": true } }, @@ -348,7 +348,7 @@ var C = (function () { ] }, "version": "FakeTSVersion", - "size": 1174 + "size": 1341 } //// [/src/third/third_part1.d.ts] @@ -367,7 +367,7 @@ c.doSomething(); {"version":3,"file":"third_part1.js","sourceRoot":"","sources":["third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"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},{"version":"-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map","affectsGlobalScope":true},{"version":"-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map","affectsGlobalScope":true},{"version":"6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"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},{"version":"-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map","affectsGlobalScope":true},{"version":"-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map","affectsGlobalScope":true},{"version":"6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","signature":"2394638288-declare var c: C;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7]},"version":"FakeTSVersion"} //// [/src/third/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -413,7 +413,7 @@ c.doSomething(); }, "./third_part1.ts": { "version": "10470273651-var c = new C();\r\nc.doSomething();\r\n", - "signature": "10470273651-var c = new C();\r\nc.doSomething();\r\n", + "signature": "2394638288-declare var c: C;\r\n", "affectsGlobalScope": true } }, @@ -439,6 +439,6 @@ c.doSomething(); ] }, "version": "FakeTSVersion", - "size": 1764 + "size": 1811 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 5e94c2474be2b..ea46431e9b3a4 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -46,7 +46,7 @@ exports.x = 10; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"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},"-10726455937-export const x = 10;"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -63,7 +63,7 @@ exports.x = 10; }, "../src/index.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -78,7 +78,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 742 + "size": 813 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index c5e549dd3268b..b5088545626c2 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -99,7 +99,7 @@ exports.x = 10; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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},"-10726455937-export const x = 10;","-4885977236-export type t = string;"],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"-4885977236-export type t = string;","signature":"-4409762125-export declare type t = string;\r\n"}],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,11 +117,11 @@ exports.x = 10; }, "./src/index.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6057683066-export declare const x = 10;\r\n" }, "./types/type.ts": { "version": "-4885977236-export type t = string;", - "signature": "-4885977236-export type t = string;" + "signature": "-4409762125-export declare type t = string;\r\n" } }, "options": { @@ -133,7 +133,7 @@ exports.x = 10; "exportedModulesMap": {} }, "version": "FakeTSVersion", - "size": 781 + "size": 926 } //// [/src/types/type.d.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 951c80ec293c0..29d1169125a6d 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -83,7 +83,7 @@ exports.b = 0; //// [/src/dist/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"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},"-11678562673-export const b = 0;\r\n","-17071184049-import { b } from './b';\r\nconst a = b;"],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/dist/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,11 +106,11 @@ exports.b = 0; }, "../../src/main/b.ts": { "version": "-11678562673-export const b = 0;\r\n", - "signature": "-11678562673-export const b = 0;\r\n" + "signature": "-3829176033-export declare const b = 0;\r\n" }, "../../src/main/a.ts": { "version": "-17071184049-import { b } from './b';\r\nconst a = b;", - "signature": "-17071184049-import { b } from './b';\r\nconst a = b;" + "signature": "-4882119183-export {};\r\n" } }, "options": { @@ -125,11 +125,7 @@ exports.b = 0; "../../src/main/b.ts" ] }, - "exportedModulesMap": { - "../../src/main/a.ts": [ - "../../src/main/b.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts", "../../src/main/a.ts", @@ -137,7 +133,7 @@ exports.b = 0; ] }, "version": "FakeTSVersion", - "size": 930 + "size": 1048 } //// [/src/dist/other/other.d.ts] @@ -152,7 +148,7 @@ exports.Other = 0; //// [/src/dist/other/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"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},"-2951227185-export const Other = 0;\r\n"],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/dist/other/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,7 +165,7 @@ exports.Other = 0; }, "../../src/other/other.ts": { "version": "-2951227185-export const Other = 0;\r\n", - "signature": "-2951227185-export const Other = 0;\r\n" + "signature": "-7996259489-export declare const Other = 0;\r\n" } }, "options": { @@ -187,6 +183,6 @@ exports.Other = 0; ] }, "version": "FakeTSVersion", - "size": 828 + "size": 902 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 9e548ba531b67..12a5c45991fae 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -92,7 +92,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},"-2951227185-export const Other = 0;\r\n"],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,7 +109,7 @@ exports.Other = 0; }, "../src/other/other.ts": { "version": "-2951227185-export const Other = 0;\r\n", - "signature": "-2951227185-export const Other = 0;\r\n" + "signature": "-7996259489-export declare const Other = 0;\r\n" } }, "options": { @@ -126,6 +126,6 @@ exports.Other = 0; ] }, "version": "FakeTSVersion", - "size": 800 + "size": 874 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index af12a1d808987..a92cfc67c9b35 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -85,7 +85,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},"-2951227185-export const Other = 0;\r\n"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -102,7 +102,7 @@ exports.Other = 0; }, "../src/other/other.ts": { "version": "-2951227185-export const Other = 0;\r\n", - "signature": "-2951227185-export const Other = 0;\r\n" + "signature": "-7996259489-export declare const Other = 0;\r\n" } }, "options": { @@ -117,6 +117,6 @@ exports.Other = 0; ] }, "version": "FakeTSVersion", - "size": 754 + "size": 828 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 65971ddb45974..93838c0fbfa04 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -99,7 +99,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.main.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"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},"-11678562673-export const b = 0;\r\n","-17071184049-import { b } from './b';\r\nconst a = b;"],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.main.tsbuildinfo.readable.baseline.txt] { @@ -122,11 +122,11 @@ exports.Other = 0; }, "../src/main/b.ts": { "version": "-11678562673-export const b = 0;\r\n", - "signature": "-11678562673-export const b = 0;\r\n" + "signature": "-3829176033-export declare const b = 0;\r\n" }, "../src/main/a.ts": { "version": "-17071184049-import { b } from './b';\r\nconst a = b;", - "signature": "-17071184049-import { b } from './b';\r\nconst a = b;" + "signature": "-4882119183-export {};\r\n" } }, "options": { @@ -138,11 +138,7 @@ exports.Other = 0; "../src/main/b.ts" ] }, - "exportedModulesMap": { - "../src/main/a.ts": [ - "../src/main/b.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/main/a.ts", @@ -150,11 +146,11 @@ exports.Other = 0; ] }, "version": "FakeTSVersion", - "size": 853 + "size": 971 } //// [/src/dist/tsconfig.other.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},"-2951227185-export const Other = 0;\r\n"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.other.tsbuildinfo.readable.baseline.txt] { @@ -171,7 +167,7 @@ exports.Other = 0; }, "../src/other/other.ts": { "version": "-2951227185-export const Other = 0;\r\n", - "signature": "-2951227185-export const Other = 0;\r\n" + "signature": "-7996259489-export declare const Other = 0;\r\n" } }, "options": { @@ -186,6 +182,6 @@ exports.Other = 0; ] }, "version": "FakeTSVersion", - "size": 754 + "size": 828 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index e0afb12bfe0e7..f3901ed5a2050 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -138,7 +138,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -165,7 +165,7 @@ exports["default"] = hello_json_1["default"].hello; }, "../src/index.ts": { "version": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello", - "signature": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -181,11 +181,7 @@ exports["default"] = hello_json_1["default"].hello; "../src/hello.json" ] }, - "exportedModulesMap": { - "../src/index.ts": [ - "../src/hello.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/hello.json", @@ -193,6 +189,6 @@ exports["default"] = hello_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 977 + "size": 1074 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js deleted file mode 100644 index 3421e39d1d657..0000000000000 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference-discrepancies.js +++ /dev/null @@ -1,10 +0,0 @@ -0:: no-change-run -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/main/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./index.ts": [ - "../strings/foo.json" - ] -} -Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index ba0598c3775fa..f472d1de303c2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -109,7 +109,7 @@ console.log(foo_json_1.foo); //// [/src/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"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},"4395333385-{\n \"foo\": \"bar baz\"\n}","-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);"],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"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},"4395333385-{\n \"foo\": \"bar baz\"\n}",{"version":"-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/src/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -136,7 +136,7 @@ console.log(foo_json_1.foo); }, "./index.ts": { "version": "-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);", - "signature": "-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);" + "signature": "-4882119183-export {};\r\n" } }, "options": { @@ -152,11 +152,7 @@ console.log(foo_json_1.foo); "../strings/foo.json" ] }, - "exportedModulesMap": { - "./index.ts": [ - "../strings/foo.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts", @@ -164,7 +160,7 @@ console.log(foo_json_1.foo); ] }, "version": "FakeTSVersion", - "size": 937 + "size": 985 } //// [/src/strings/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 3df635e6fd5c2..bebf482139e78 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -138,7 +138,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo.readable.baseline.txt] { @@ -165,7 +165,7 @@ exports["default"] = hello_json_1["default"].hello; }, "../src/index.ts": { "version": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello", - "signature": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -181,11 +181,7 @@ exports["default"] = hello_json_1["default"].hello; "../src/hello.json" ] }, - "exportedModulesMap": { - "../src/index.ts": [ - "../src/hello.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/hello.json", @@ -193,6 +189,6 @@ exports["default"] = hello_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 977 + "size": 1074 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 4f49b681e4de4..5347b4cacb6eb 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -134,7 +134,7 @@ exports["default"] = index_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"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},"-2379406821-{\"hello\":\"world\"}","-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"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},"-2379406821-{\"hello\":\"world\"}",{"version":"-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo.readable.baseline.txt] { @@ -161,7 +161,7 @@ exports["default"] = index_json_1["default"].hello; }, "../src/index.ts": { "version": "-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello", - "signature": "-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -177,11 +177,7 @@ exports["default"] = index_json_1["default"].hello; "../src/index.json" ] }, - "exportedModulesMap": { - "../src/index.ts": [ - "../src/index.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/index.json", @@ -189,6 +185,6 @@ exports["default"] = index_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 970 + "size": 1067 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index a4bf39e878b53..7696b5ed77dbe 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -138,7 +138,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo.readable.baseline.txt] { @@ -165,7 +165,7 @@ exports["default"] = hello_json_1["default"].hello; }, "../src/index.ts": { "version": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello", - "signature": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -181,11 +181,7 @@ exports["default"] = hello_json_1["default"].hello; "../src/hello.json" ] }, - "exportedModulesMap": { - "../src/index.ts": [ - "../src/hello.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/hello.json", @@ -193,6 +189,6 @@ exports["default"] = hello_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 977 + "size": 1074 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js deleted file mode 100644 index 3fc347587617d..0000000000000 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-discrepancies.js +++ /dev/null @@ -1,10 +0,0 @@ -0:: no-change-run -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dist/tsconfig_withfiles.tsbuildinfo.readable.baseline.txt -Incremental: { - "../src/index.ts": [ - "../src/hello.json" - ] -} -Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index deb036bfb1a22..f4bd738681cb3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -141,7 +141,7 @@ exports["default"] = hello_json_1["default"].hello; {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAgC;AAEhC,qBAAe,uBAAK,CAAC,KAAK,CAAA"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -168,7 +168,7 @@ exports["default"] = hello_json_1["default"].hello; }, "../src/index.ts": { "version": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello", - "signature": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -185,11 +185,7 @@ exports["default"] = hello_json_1["default"].hello; "../src/hello.json" ] }, - "exportedModulesMap": { - "../src/index.ts": [ - "../src/hello.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/hello.json", @@ -197,7 +193,7 @@ exports["default"] = hello_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 994 + "size": 1091 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js deleted file mode 100644 index 70de9ddece970..0000000000000 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-discrepancies.js +++ /dev/null @@ -1,10 +0,0 @@ -0:: no-change-run -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/tsconfig_withfiles.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/index.ts": [ - "./src/hello.json" - ] -} -Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 1bbebaaee2941..ef88243f69f6c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -125,7 +125,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -152,7 +152,7 @@ exports["default"] = hello_json_1["default"].hello; }, "./src/index.ts": { "version": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello", - "signature": "-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello" + "signature": "-1680156224-declare const _default: string;\r\nexport default _default;\r\n" } }, "options": { @@ -167,11 +167,7 @@ exports["default"] = hello_json_1["default"].hello; "./src/hello.json" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "./src/hello.json" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../lib/lib.d.ts", "./src/hello.json", @@ -179,7 +175,7 @@ exports["default"] = hello_json_1["default"].hello; ] }, "version": "FakeTSVersion", - "size": 958 + "size": 1055 } diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 3f57746c6af10..1675145260d99 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -149,7 +149,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,11 +168,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -196,7 +196,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -222,7 +222,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -237,6 +237,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -255,7 +258,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -272,7 +275,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -284,7 +286,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -305,7 +307,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,7 +349,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -370,9 +372,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -384,7 +384,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index b727d03222dc4..92c7a9311521f 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -161,7 +161,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,11 +180,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -208,7 +208,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -234,7 +234,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -249,6 +249,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -267,7 +270,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -284,7 +287,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -296,6 +298,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index a6d4a2f6f4cf8..f7896cd8809e2 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -127,7 +127,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,11 +146,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -174,7 +174,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1062 + "size": 1352 } @@ -204,7 +204,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -219,6 +219,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -237,7 +240,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -254,7 +257,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -266,7 +268,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1290 + "size": 1469 } @@ -291,7 +293,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -333,7 +335,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -356,9 +358,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -370,7 +370,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1492 + "size": 1614 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 264841f1ff168..2666ba5850792 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -137,7 +137,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,11 +156,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -184,7 +184,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.js] @@ -210,7 +210,7 @@ export declare const m: typeof mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,6 +225,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -243,7 +246,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -260,7 +263,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -272,7 +274,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1374 + "size": 1559 } //// [/src/tests/index.d.ts] @@ -293,7 +295,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -335,7 +337,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -358,9 +360,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/out/decls/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -372,6 +372,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1588 + "size": 1712 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 862ea3f092d06..29b490c871219 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -137,7 +137,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,11 +156,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -184,7 +184,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/outDir/index.d.ts] @@ -210,7 +210,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,6 +225,9 @@ exports.m = mod; [ "../../core/index.d.ts", "../../core/anothermodule.d.ts" + ], + [ + "../../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -243,7 +246,7 @@ exports.m = mod; }, "../index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -260,7 +263,6 @@ exports.m = mod; }, "exportedModulesMap": { "../index.ts": [ - "../../core/index.d.ts", "../../core/anothermodule.d.ts" ] }, @@ -272,7 +274,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1367 + "size": 1552 } //// [/src/tests/index.d.ts] @@ -293,7 +295,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -335,7 +337,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -358,9 +360,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/outdir/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -372,6 +372,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1585 + "size": 1709 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index b393c11cda150..4d661ecebcebf 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -149,7 +149,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,11 +168,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -196,7 +196,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -222,7 +222,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -237,6 +237,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -255,7 +258,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -272,7 +275,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -284,6 +286,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 929b3635693f8..eeb8a8b0474a0 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] @@ -523,7 +523,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-2157245566-export const someString: string = \"WELCOME PLANET\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-2157245566-export const someString: string = \"WELCOME PLANET\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -542,7 +542,7 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-2157245566-export const someString: string = \"WELCOME PLANET\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", @@ -570,7 +570,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1351 + "size": 1433 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index 802a37ab3b4fb..fbce043a86c26 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index 48d1f2020a450..7499c9141cd13 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 01c41dab134b7..4e885be7d2d36 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -174,7 +174,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -193,11 +193,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -221,7 +221,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 808c5c6bc0994..d075688f2ddf7 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -198,7 +198,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -217,11 +217,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -245,7 +245,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -271,7 +271,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -286,6 +286,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -304,7 +307,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -321,7 +324,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -333,7 +335,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -354,7 +356,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -396,7 +398,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -419,9 +421,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -433,7 +433,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } @@ -535,7 +535,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -554,7 +554,7 @@ exports.someClass = someClass; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -582,7 +582,7 @@ exports.someClass = someClass; ] }, "version": "FakeTSVersion", - "size": 1420 + "size": 1502 } //// [/src/logic/index.d.ts] file written with same contents @@ -810,7 +810,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -829,7 +829,7 @@ var someClass2 = /** @class */ (function () { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }", @@ -857,7 +857,7 @@ var someClass2 = /** @class */ (function () { ] }, "version": "FakeTSVersion", - "size": 1442 + "size": 1524 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 1d42350b957e9..6d248452c79c0 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index b3e1a88294dd7..e67f096921f18 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -123,7 +123,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -142,11 +142,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -170,7 +170,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1062 + "size": 1352 } //// [/user/username/projects/logic/index.js.map] @@ -196,7 +196,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -211,6 +211,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -229,7 +232,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -246,7 +249,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -258,7 +260,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1290 + "size": 1469 } //// [/user/username/projects/tests/index.js] @@ -279,7 +281,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -344,9 +346,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1492 + "size": 1614 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 9e846b4e58545..df09baa764240 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -163,7 +163,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,11 +182,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -210,7 +210,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -236,7 +236,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,6 +251,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -269,7 +272,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -286,7 +289,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -298,7 +300,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -319,7 +321,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -361,7 +363,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -384,9 +386,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -398,7 +398,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } @@ -460,7 +460,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -479,7 +479,7 @@ exports.someClass = someClass; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -507,7 +507,7 @@ exports.someClass = someClass; ] }, "version": "FakeTSVersion", - "size": 1420 + "size": 1502 } //// [/src/logic/index.d.ts] file written with same contents @@ -712,7 +712,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -731,7 +731,7 @@ var someClass2 = /** @class */ (function () { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }", @@ -759,7 +759,7 @@ var someClass2 = /** @class */ (function () { ] }, "version": "FakeTSVersion", - "size": 1442 + "size": 1524 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index c0c59efa0cced..15474e1e56611 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -162,7 +162,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,11 +181,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -209,7 +209,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -235,7 +235,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -250,6 +250,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -268,7 +271,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -285,7 +288,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -297,7 +299,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -318,7 +320,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -360,7 +362,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -383,9 +385,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -397,7 +397,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } @@ -461,7 +461,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -480,7 +480,7 @@ exports.someClass = someClass; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -508,7 +508,7 @@ exports.someClass = someClass; ] }, "version": "FakeTSVersion", - "size": 1420 + "size": 1502 } //// [/src/logic/index.d.ts] file written with same contents @@ -713,7 +713,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -732,7 +732,7 @@ var someClass2 = /** @class */ (function () { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }", @@ -760,7 +760,7 @@ var someClass2 = /** @class */ (function () { ] }, "version": "FakeTSVersion", - "size": 1442 + "size": 1524 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index dbf3b21241103..9815aec4bd243 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] @@ -411,7 +411,7 @@ exitCode:: ExitStatus.Success //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSCurrentVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -430,11 +430,11 @@ exitCode:: ExitStatus.Success }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -458,14 +458,14 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSCurrentVersion", - "size": 1141 + "size": 1438 } //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSCurrentVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -480,6 +480,9 @@ exitCode:: ExitStatus.Success [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -498,7 +501,7 @@ exitCode:: ExitStatus.Success }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -515,7 +518,6 @@ exitCode:: ExitStatus.Success }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -527,13 +529,13 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSCurrentVersion", - "size": 1377 + "size": 1562 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSCurrentVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -575,7 +577,7 @@ exitCode:: ExitStatus.Success }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -598,9 +600,7 @@ exitCode:: ExitStatus.Success "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -612,6 +612,6 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSCurrentVersion", - "size": 1585 + "size": 1709 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index bb33691aba34a..3f96dc28c2d8e 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 73feedb3b6ce9..7f358a2228e6d 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -169,7 +169,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -188,11 +188,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -216,7 +216,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -242,7 +242,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,6 +257,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -275,7 +278,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -292,7 +295,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -304,7 +306,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -325,7 +327,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -367,7 +369,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -391,9 +393,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -405,7 +405,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1589 + "size": 1713 } @@ -438,7 +438,7 @@ exitCode:: ExitStatus.Success //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -480,7 +480,7 @@ exitCode:: ExitStatus.Success }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -503,9 +503,7 @@ exitCode:: ExitStatus.Success "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -517,6 +515,6 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index af761e1adac15..e1550c0794621 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,11 +92,11 @@ declare const dts: any; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -120,7 +120,7 @@ declare const dts: any; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -170,7 +170,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,6 +185,9 @@ export const m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -203,7 +206,7 @@ export const m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -220,7 +223,6 @@ export const m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -232,7 +234,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -279,7 +281,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,7 +323,7 @@ export const m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -344,9 +346,7 @@ export const m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -358,7 +358,7 @@ export const m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index dbeb8cafdb38a..056af692914e8 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -331,7 +331,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -350,11 +350,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -378,7 +378,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -529,7 +529,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -544,6 +544,9 @@ sourceFile:index.ts [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -562,7 +565,7 @@ sourceFile:index.ts }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -579,7 +582,6 @@ sourceFile:index.ts }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -591,7 +593,7 @@ sourceFile:index.ts ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -612,7 +614,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -654,7 +656,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -677,9 +679,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -691,7 +691,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } @@ -912,7 +912,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -931,7 +931,7 @@ exports.someClass = someClass; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -959,7 +959,7 @@ exports.someClass = someClass; ] }, "version": "FakeTSVersion", - "size": 1420 + "size": 1502 } //// [/src/logic/index.d.ts] file written with same contents @@ -1193,7 +1193,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1212,7 +1212,7 @@ var someClass2 = /** @class */ (function () { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }", @@ -1240,7 +1240,7 @@ var someClass2 = /** @class */ (function () { ] }, "version": "FakeTSVersion", - "size": 1442 + "size": 1524 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 678e42639478c..8cbc1cb61707d 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -224,7 +224,7 @@ export declare function multiply(a: number, b: number): number; //// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -243,11 +243,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -269,6 +269,6 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1095 + "size": 1392 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 3a5c255046bcd..8d12675ce94c4 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -167,7 +167,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,11 +186,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -214,7 +214,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -240,7 +240,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -255,6 +255,9 @@ exports.m = mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -273,7 +276,7 @@ exports.m = mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -290,7 +293,6 @@ exports.m = mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -302,7 +304,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1555 } //// [/src/tests/index.d.ts] @@ -323,7 +325,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -365,7 +367,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -389,9 +391,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -403,7 +403,7 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1602 + "size": 1726 } @@ -483,7 +483,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -525,7 +525,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -549,9 +549,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -563,6 +561,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1601 + "size": 1725 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 3c5c5c394b32a..ce034e806bb15 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -332,7 +332,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -351,11 +351,11 @@ exports.multiply = multiply; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -379,7 +379,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1134 + "size": 1431 } //// [/src/logic/index.d.ts] @@ -530,7 +530,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/ownFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/logic/ownFile.tsbuildinfo.readable.baseline.txt] { @@ -545,6 +545,9 @@ sourceFile:index.ts [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -563,7 +566,7 @@ sourceFile:index.ts }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -581,7 +584,6 @@ sourceFile:index.ts }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -593,7 +595,7 @@ sourceFile:index.ts ] }, "version": "FakeTSVersion", - "size": 1412 + "size": 1597 } //// [/src/tests/index.d.ts] @@ -614,7 +616,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -656,7 +658,7 @@ exports.m = mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" } }, "options": { @@ -679,9 +681,7 @@ exports.m = mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -693,6 +693,6 @@ exports.m = mod; ] }, "version": "FakeTSVersion", - "size": 1578 + "size": 1702 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 2251184ac9dfd..c26dfd38b381d 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -110,7 +110,7 @@ a_1.X; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -127,7 +127,7 @@ a_1.X; }, "./a.ts": { "version": "-8566332115-export class A {}\r\n", - "signature": "-8566332115-export class A {}\r\n" + "signature": "-9529994156-export declare class A {\r\n}\r\n" } }, "options": { @@ -141,11 +141,11 @@ a_1.X; ] }, "version": "FakeTSVersion", - "size": 716 + "size": 788 } //// [/src/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n","-17186364832-import {A} from 'a';\nexport const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-9520743082-import { A } from 'a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -172,7 +172,7 @@ a_1.X; }, "./b.ts": { "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "signature": "-17186364832-import {A} from 'a';\nexport const b = new A();" + "signature": "-9520743082-import { A } from 'a';\r\nexport declare const b: A;\r\n" } }, "options": { @@ -195,6 +195,6 @@ a_1.X; ] }, "version": "FakeTSVersion", - "size": 834 + "size": 929 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 39e43f277e7db..f6c83225f3db0 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -122,7 +122,7 @@ a_1.X; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -139,7 +139,7 @@ a_1.X; }, "./a.ts": { "version": "-8566332115-export class A {}\r\n", - "signature": "-8566332115-export class A {}\r\n" + "signature": "-9529994156-export declare class A {\r\n}\r\n" } }, "options": { @@ -153,11 +153,11 @@ a_1.X; ] }, "version": "FakeTSVersion", - "size": 716 + "size": 788 } //// [/src/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n","-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-10067914302-import { A } from '@ref/a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -184,7 +184,7 @@ a_1.X; }, "./b.ts": { "version": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n", - "signature": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n" + "signature": "-10067914302-import { A } from '@ref/a';\r\nexport declare const b: A;\r\n" } }, "options": { @@ -207,6 +207,6 @@ a_1.X; ] }, "version": "FakeTSVersion", - "size": 845 + "size": 946 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 57a215cb7eca1..5be1234237739 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -90,7 +90,7 @@ exports.A = A; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -107,7 +107,7 @@ exports.A = A; }, "./a.ts": { "version": "-8566332115-export class A {}\r\n", - "signature": "-8566332115-export class A {}\r\n" + "signature": "-9529994156-export declare class A {\r\n}\r\n" } }, "options": { @@ -121,7 +121,7 @@ exports.A = A; ] }, "version": "FakeTSVersion", - "size": 716 + "size": 788 } //// [/src/tsconfig.b.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 62e75a2149514..2b7648cb5a452 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -248,7 +248,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/demo/core/utilities.ts (used version) +/user/username/projects/demo/core/utilities.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/demo/animals/animal.ts","/user/username/projects/demo/animals/dog.ts","/user/username/projects/demo/animals/index.ts"] Program options: {"declaration":true,"target":1,"module":1,"strict":true,"noUnusedLocals":true,"noUnusedParameters":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"composite":true,"outDir":"/user/username/projects/demo/lib/animals","rootDir":"/user/username/projects/demo/animals","watch":true,"configFilePath":"/user/username/projects/demo/animals/tsconfig.json"} @@ -269,10 +269,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/demo/animals/animal.ts (used version) -/user/username/projects/demo/animals/index.ts (used version) +/user/username/projects/demo/animals/animal.ts (computed .d.ts during emit) +/user/username/projects/demo/animals/index.ts (computed .d.ts during emit) /user/username/projects/demo/lib/core/utilities.d.ts (used version) -/user/username/projects/demo/animals/dog.ts (used version) +/user/username/projects/demo/animals/dog.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/demo/zoo/zoo.ts"] Program options: {"declaration":true,"target":1,"module":1,"strict":true,"noUnusedLocals":true,"noUnusedParameters":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"composite":true,"outDir":"/user/username/projects/demo/lib/zoo","rootDir":"/user/username/projects/demo/zoo","watch":true,"configFilePath":"/user/username/projects/demo/zoo/tsconfig.json"} @@ -296,7 +296,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/demo/lib/animals/animal.d.ts (used version) /user/username/projects/demo/lib/animals/dog.d.ts (used version) /user/username/projects/demo/lib/animals/index.d.ts (used version) -/user/username/projects/demo/zoo/zoo.ts (used version) +/user/username/projects/demo/zoo/zoo.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/demo/animals/tsconfig.json: @@ -354,7 +354,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -371,7 +371,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; }, "../../core/utilities.ts": { "version": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n", - "signature": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "options": { @@ -395,7 +395,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ] }, "version": "FakeTSVersion", - "size": 1160 + "size": 1319 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -452,7 +452,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -472,6 +472,9 @@ export declare function createDog(): Dog; [ "../../animals/animal.ts", "../../animals/dog.ts" + ], + [ + "../../animals/index.ts" ] ], "fileInfos": { @@ -482,11 +485,11 @@ export declare function createDog(): Dog; }, "../../animals/animal.ts": { "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", - "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + "signature": "-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", - "signature": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../core/utilities.d.ts": { "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", @@ -494,7 +497,7 @@ export declare function createDog(): Dog; }, "../../animals/dog.ts": { "version": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n", - "signature": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "options": { @@ -522,8 +525,7 @@ export declare function createDog(): Dog; }, "exportedModulesMap": { "../../animals/dog.ts": [ - "../../animals/index.ts", - "../core/utilities.d.ts" + "../../animals/index.ts" ], "../../animals/index.ts": [ "../../animals/animal.ts", @@ -539,7 +541,7 @@ export declare function createDog(): Dog; ] }, "version": "FakeTSVersion", - "size": 1911 + "size": 2423 } //// [/user/username/projects/demo/lib/zoo/zoo.js] @@ -561,7 +563,7 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -602,7 +604,7 @@ export declare function createZoo(): Array; }, "../../zoo/zoo.ts": { "version": "8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n", - "signature": "8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n" + "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n" } }, "options": { @@ -651,6 +653,6 @@ export declare function createZoo(): Array; ] }, "version": "FakeTSVersion", - "size": 1653 + "size": 1783 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index ceff417c49b78..3396771bc5867 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -123,9 +123,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/packages/pkg2/const.ts (used version) -/user/username/projects/myproject/packages/pkg2/index.ts (used version) -/user/username/projects/myproject/packages/pkg2/other.ts (used version) +/user/username/projects/myproject/packages/pkg2/const.ts (computed .d.ts during emit) +/user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) +/user/username/projects/myproject/packages/pkg2/other.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/myproject/packages/pkg1/index.ts"] Program options: {"outDir":"/user/username/projects/myproject/packages/pkg1/build","watch":true,"traceResolution":true,"configFilePath":"/user/username/projects/myproject/packages/pkg1/tsconfig.json"} @@ -202,7 +202,7 @@ export declare type TheStr = string; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"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},"-11202312776-export type TheNum = 42;","-11225381282-export type { TheNum } from './const.js';","-4609154030-export type TheStr = string;"],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-10420741908-export declare type TheStr = string;\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -226,15 +226,15 @@ export declare type TheStr = string; }, "../const.ts": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-11202312776-export type TheNum = 42;" + "signature": "-9649133742-export declare type TheNum = 42;\n" }, "../index.ts": { "version": "-11225381282-export type { TheNum } from './const.js';", - "signature": "-11225381282-export type { TheNum } from './const.js';" + "signature": "-9660329432-export type { TheNum } from './const.js';\n" }, "../other.ts": { "version": "-4609154030-export type TheStr = string;", - "signature": "-4609154030-export type TheStr = string;" + "signature": "-10420741908-export declare type TheStr = string;\n" } }, "options": { @@ -259,7 +259,7 @@ export declare type TheStr = string; ] }, "version": "FakeTSVersion", - "size": 841 + "size": 1074 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 465f08c8b2d56..07de3842a6fa7 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -118,8 +118,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.es2020.full.d.ts (used version) -/user/username/projects/myproject/packages/pkg2/const.cts (used version) -/user/username/projects/myproject/packages/pkg2/index.ts (used version) +/user/username/projects/myproject/packages/pkg2/const.cts (computed .d.ts during emit) +/user/username/projects/myproject/packages/pkg2/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/myproject/packages/pkg1/index.ts"] Program options: {"outDir":"/user/username/projects/myproject/packages/pkg1/build","module":100,"watch":true,"traceResolution":true,"configFilePath":"/user/username/projects/myproject/packages/pkg1/tsconfig.json"} @@ -198,7 +198,7 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.ts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","impliedFormat":99}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.ts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":99}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -222,12 +222,12 @@ export type { TheNum } from './const.cjs'; }, "../const.cts": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-11202312776-export type TheNum = 42;", + "signature": "-9649133742-export declare type TheNum = 42;\n", "impliedFormat": 1 }, "../index.ts": { "version": "-9668872159-export type { TheNum } from './const.cjs';", - "signature": "-9668872159-export type { TheNum } from './const.cjs';", + "signature": "-9835135925-export type { TheNum } from './const.cjs';\n", "impliedFormat": 99 } }, @@ -253,7 +253,7 @@ export type { TheNum } from './const.cjs'; ] }, "version": "FakeTSVersion", - "size": 887 + "size": 1019 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -701,7 +701,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg2/build/const.cjs] file changed its modified time //// [/user/username/projects/myproject/packages/pkg2/build/const.d.cts] file changed its modified time //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -725,7 +725,7 @@ exitCode:: ExitStatus.undefined }, "../const.cts": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-11202312776-export type TheNum = 42;", + "signature": "-9649133742-export declare type TheNum = 42;\n", "impliedFormat": 1 }, "../index.cts": { @@ -756,7 +756,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 958 + "size": 1019 } //// [/user/username/projects/myproject/packages/pkg2/build/index.cjs] diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index fca44bf5be1a7..9c07d419818b8 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -82,7 +82,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/project1/node_modules/file/index.d.ts (used version) -/user/username/projects/myproject/project1/index.ts (used version) +/user/username/projects/myproject/project1/index.ts (computed .d.ts during emit) /user/username/projects/myproject/node_modules/@types/foo/index.d.ts (used version) /user/username/projects/myproject/node_modules/@types/bar/index.d.ts (used version) @@ -104,7 +104,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/project2/file.d.ts (used version) -/user/username/projects/myproject/project2/index.ts (used version) +/user/username/projects/myproject/project2/index.ts (computed .d.ts during emit) /user/username/projects/myproject/node_modules/@types/foo/index.d.ts (used version) WatchedFiles:: @@ -144,7 +144,7 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;","-4708082513-import { foo } from \"file\";","-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,5,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,7 +173,7 @@ export {}; }, "./index.ts": { "version": "-4708082513-import { foo } from \"file\";", - "signature": "-4708082513-import { foo } from \"file\";" + "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { "version": "-12737086933-export const foo = 10;", @@ -192,11 +192,7 @@ export {}; "./node_modules/file/index.d.ts" ] }, - "exportedModulesMap": { - "./index.ts": [ - "./node_modules/file/index.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "../node_modules/@types/bar/index.d.ts", @@ -206,7 +202,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 925 + "size": 971 } //// [/user/username/projects/myproject/project2/index.js] @@ -219,7 +215,7 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"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},"-12737086933-export const foo = 10;","-4708082513-import { foo } from \"file\";","-12737086933-export const foo = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,4,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -247,7 +243,7 @@ export {}; }, "./index.ts": { "version": "-4708082513-import { foo } from \"file\";", - "signature": "-4708082513-import { foo } from \"file\";" + "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { "version": "-12737086933-export const foo = 10;", @@ -262,11 +258,7 @@ export {}; "./file.d.ts" ] }, - "exportedModulesMap": { - "./index.ts": [ - "./file.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "../node_modules/@types/foo/index.d.ts", @@ -275,7 +267,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 826 + "size": 872 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 68b8c770706d9..cdd4fcec9999d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -172,7 +172,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -235,7 +235,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,11 +253,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -275,7 +275,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -301,7 +301,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,6 +316,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -334,7 +337,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -351,7 +354,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -363,7 +365,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -384,7 +386,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,7 +428,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -449,9 +451,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -463,6 +463,6 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 86b26975fc304..643d73446c30f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -143,8 +143,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -165,7 +165,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -189,7 +189,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -252,7 +252,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -270,11 +270,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -292,7 +292,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -318,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -333,6 +333,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -351,7 +354,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -368,7 +371,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -380,7 +382,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -401,7 +403,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -443,7 +445,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -466,9 +468,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -480,7 +480,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index f70fee5d4592e..8c730f537d280 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -49,8 +49,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (used version) +/user/username/projects/solution/app/filewitherror.ts (computed .d.ts during emit) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: @@ -106,7 +106,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","-11785903855-export class myClass { }"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -124,11 +124,11 @@ export declare class myClass { }, "./filewitherror.ts": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "version": "-11785903855-export class myClass { }", - "signature": "-11785903855-export class myClass { }" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "options": { @@ -143,7 +143,7 @@ export declare class myClass { ] }, "version": "FakeTSVersion", - "size": 782 + "size": 984 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index b12349bed94ae..5995d27a3ddd1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -49,8 +49,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (used version) +/user/username/projects/solution/app/filewitherror.ts (computed .d.ts during emit) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: @@ -106,7 +106,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","-11785903855-export class myClass { }"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -124,11 +124,11 @@ export declare class myClass { }, "./filewitherror.ts": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "version": "-11785903855-export class myClass { }", - "signature": "-11785903855-export class myClass { }" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "options": { @@ -143,7 +143,7 @@ export declare class myClass { ] }, "version": "FakeTSVersion", - "size": 782 + "size": 984 } @@ -253,44 +253,5 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/solution/app/fileWithError.d.ts] file written with same contents //// [/user/username/projects/solution/app/fileWithoutError.js] file changed its modified time //// [/user/username/projects/solution/app/fileWithoutError.d.ts] file changed its modified time -//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},"-11785903855-export class myClass { }"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} - -//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "./filewitherror.ts", - "./filewithouterror.ts" - ], - "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "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 - }, - "./filewitherror.ts": { - "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" - }, - "./filewithouterror.ts": { - "version": "-11785903855-export class myClass { }", - "signature": "-11785903855-export class myClass { }" - } - }, - "options": { - "composite": true - }, - "referencedMap": {}, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "./filewitherror.ts", - "./filewithouterror.ts" - ] - }, - "version": "FakeTSVersion", - "size": 910 -} - +//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents +//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index fc29f8536a4ff..4015ea581646e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -55,7 +55,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (used version) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 420053ce275ff..c019a99ee91c7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -55,7 +55,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (used version) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: @@ -160,7 +160,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},"-11785903855-export class myClass { }"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,7 +182,7 @@ export declare class myClass { }, "./filewithouterror.ts": { "version": "-11785903855-export class myClass { }", - "signature": "-11785903855-export class myClass { }" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "options": { @@ -197,6 +197,6 @@ export declare class myClass { ] }, "version": "FakeTSVersion", - "size": 910 + "size": 984 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 90e048179dd4f..a8153212b3918 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -172,7 +172,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -235,7 +235,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,11 +253,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -275,7 +275,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -301,7 +301,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,6 +316,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -334,7 +337,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -351,7 +354,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -363,7 +365,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -384,7 +386,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,7 +428,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -449,9 +451,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -463,7 +463,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } @@ -692,7 +692,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -710,7 +710,7 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;", @@ -750,6 +750,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1450 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 8dafd22d581f0..eb6b300a47b3e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -125,8 +125,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"preserveWatchOutput":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -147,7 +147,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"preserveWatchOutput":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -171,7 +171,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -234,7 +234,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -252,11 +252,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -274,7 +274,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -300,7 +300,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -315,6 +315,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -333,7 +336,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -350,7 +353,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -362,7 +364,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -383,7 +385,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -425,7 +427,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -448,9 +450,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -462,7 +462,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } @@ -689,7 +689,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -707,7 +707,7 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;", @@ -747,6 +747,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1370 + "size": 1450 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index d2637c2a767a7..7a9b4eeb19a32 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -57,8 +57,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -105,7 +105,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -123,11 +123,11 @@ export declare function multiply(a: number, b: number): number; }, "../anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -143,7 +143,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 915 + "size": 1205 } @@ -229,7 +229,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/outDir/index.js] file changed its modified time //// [/user/username/projects/sample1/core/outDir/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -248,7 +248,7 @@ exitCode:: ExitStatus.undefined }, "../anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../file3.ts": { "version": "-13729955264-export const y = 10;", @@ -256,7 +256,7 @@ exitCode:: ExitStatus.undefined }, "../index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -273,7 +273,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1036 + "size": 1326 } //// [/user/username/projects/sample1/core/outDir/file3.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 2d0701aa9ebc1..c81779a12522e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -64,8 +64,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -118,7 +118,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -136,11 +136,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } @@ -246,7 +246,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time //// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -265,7 +265,7 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./file3.ts": { "version": "-13729955264-export const y = 10;", @@ -273,7 +273,7 @@ exitCode:: ExitStatus.undefined }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -292,7 +292,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1084 + "size": 1374 } //// [/user/username/projects/sample1/core/file3.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 2400cdfd5cd1b..caef5fcf161d3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -207,7 +207,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,11 +225,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -247,7 +247,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -273,7 +273,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -288,6 +288,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -306,7 +309,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -323,7 +326,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -335,6 +337,6 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index c4f0f7c44da9a..a9713a1320982 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -94,8 +94,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -154,7 +154,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,11 +172,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -194,7 +194,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } @@ -242,7 +242,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -293,7 +293,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -308,6 +308,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -326,7 +329,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -343,7 +346,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -355,7 +357,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } @@ -390,7 +392,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -436,7 +438,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -478,7 +480,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -501,9 +503,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -515,6 +515,6 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 3f01c3bbc16e8..bc3d7d649a1e7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -59,7 +59,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/library/library.ts (used version) +/user/username/projects/sample1/library/library.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/App/app.ts"] Program options: {"watch":true,"configFilePath":"/user/username/projects/sample1/App/tsconfig.json"} @@ -120,7 +120,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -137,7 +137,7 @@ export {}; }, "./library.ts": { "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", - "signature": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}" + "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" } }, "options": { @@ -151,7 +151,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 795 + "size": 953 } //// [/user/username/projects/sample1/App/app.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 30fe91bdc9bf2..47c6be2b3967e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -100,8 +100,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -122,7 +122,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -146,7 +146,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -203,7 +203,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,11 +221,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -241,7 +241,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 915 + "size": 1205 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -267,7 +267,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,6 +282,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -300,7 +303,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -317,7 +320,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -329,7 +331,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1215 + "size": 1394 } //// [/user/username/projects/sample1/tests/index.js] @@ -350,7 +352,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -392,7 +394,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -415,9 +417,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -429,7 +429,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1417 + "size": 1539 } @@ -494,7 +494,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/index.js] file changed its modified time //// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -513,11 +513,11 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "version": "-16320201030-export const newFileConst = 30;", @@ -538,7 +538,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1060 + "size": 1350 } //// [/user/username/projects/sample1/core/newfile.js] @@ -722,7 +722,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/index.js] file changed its modified time //// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -741,11 +741,11 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", @@ -766,7 +766,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1126 + "size": 1416 } //// [/user/username/projects/sample1/core/newfile.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 572630b21e765..c75488ba556f3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -100,8 +100,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -122,7 +122,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -146,7 +146,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -203,7 +203,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,11 +221,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -241,7 +241,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 915 + "size": 1205 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -267,7 +267,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,6 +282,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -300,7 +303,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -317,7 +320,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -329,7 +331,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1215 + "size": 1394 } //// [/user/username/projects/sample1/tests/index.js] @@ -350,7 +352,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -392,7 +394,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -415,9 +417,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -429,7 +429,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1417 + "size": 1539 } @@ -518,7 +518,7 @@ export declare class someClass { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -536,7 +536,7 @@ export declare class someClass { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -556,7 +556,7 @@ export declare class someClass { ] }, "version": "FakeTSVersion", - "size": 1190 + "size": 1270 } @@ -894,7 +894,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -912,7 +912,7 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", @@ -932,7 +932,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1125 + "size": 1205 } @@ -1288,7 +1288,7 @@ export declare class someClass2 { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1306,7 +1306,7 @@ export declare class someClass2 { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }", @@ -1326,7 +1326,7 @@ export declare class someClass2 { ] }, "version": "FakeTSVersion", - "size": 1256 + "size": 1336 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index faf36160c574d..3d6e66045df24 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -100,8 +100,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -122,7 +122,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -146,7 +146,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -203,7 +203,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,11 +221,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -241,7 +241,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 915 + "size": 1205 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -267,7 +267,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,6 +282,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -300,7 +303,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -317,7 +320,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -329,7 +331,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1215 + "size": 1394 } //// [/user/username/projects/sample1/tests/index.js] @@ -350,7 +352,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -392,7 +394,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -415,9 +417,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -429,7 +429,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1417 + "size": 1539 } @@ -506,7 +506,7 @@ function foo() { } //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -524,7 +524,7 @@ function foo() { } }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }", @@ -544,7 +544,7 @@ function foo() { } ] }, "version": "FakeTSVersion", - "size": 1145 + "size": 1225 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 98a5dd023b708..6aafabd4097ae 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -172,7 +172,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -235,7 +235,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,11 +253,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -275,7 +275,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -301,7 +301,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,6 +316,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -334,7 +337,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -351,7 +354,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -363,7 +365,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -384,7 +386,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,7 +428,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -449,9 +451,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -463,7 +463,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } @@ -530,7 +530,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time //// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -549,11 +549,11 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "version": "-16320201030-export const newFileConst = 30;", @@ -576,7 +576,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1109 + "size": 1399 } //// [/user/username/projects/sample1/core/newfile.js] @@ -765,7 +765,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time //// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -784,11 +784,11 @@ exitCode:: ExitStatus.undefined }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", @@ -811,7 +811,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1175 + "size": 1465 } //// [/user/username/projects/sample1/core/newfile.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index fc63f6a918530..d8fc2592bbe8d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -172,7 +172,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -235,7 +235,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,11 +253,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -275,7 +275,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -301,7 +301,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,6 +316,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -334,7 +337,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -351,7 +354,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -363,7 +365,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -384,7 +386,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,7 +428,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -449,9 +451,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -463,7 +463,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } @@ -556,7 +556,7 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -574,7 +574,7 @@ export declare class someClass { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }", @@ -596,7 +596,7 @@ export declare class someClass { ] }, "version": "FakeTSVersion", - "size": 1239 + "size": 1319 } @@ -938,7 +938,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -956,7 +956,7 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", @@ -978,7 +978,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1174 + "size": 1254 } @@ -1338,7 +1338,7 @@ export declare class someClass2 { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1356,7 +1356,7 @@ export declare class someClass2 { }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }", @@ -1378,7 +1378,7 @@ export declare class someClass2 { ] }, "version": "FakeTSVersion", - "size": 1305 + "size": 1385 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 8b21e84add55a..bfe1294d29024 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -126,8 +126,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/sample1/core/anothermodule.ts (used version) -/user/username/projects/sample1/core/index.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/logic/index.ts"] Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} @@ -148,7 +148,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) Program root files: ["/user/username/projects/sample1/tests/index.ts"] Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"configFilePath":"/user/username/projects/sample1/tests/tsconfig.json"} @@ -172,7 +172,7 @@ Shape signatures in builder refreshed for:: /user/username/projects/sample1/core/index.d.ts (used version) /user/username/projects/sample1/core/anothermodule.d.ts (used version) /user/username/projects/sample1/logic/index.d.ts (used version) -/user/username/projects/sample1/tests/index.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/sample1/core/tsconfig.json: @@ -235,7 +235,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,11 +253,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" } }, "options": { @@ -275,7 +275,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 964 + "size": 1254 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -301,7 +301,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,6 +316,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -334,7 +337,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -351,7 +354,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -363,7 +365,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -384,7 +386,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,7 +428,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -449,9 +451,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -463,7 +463,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } @@ -542,7 +542,7 @@ function foo() { } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},"-2676574883-export const World = \"hello\";\r\n",{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -560,7 +560,7 @@ function foo() { } }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }", @@ -582,7 +582,7 @@ function foo() { } ] }, "version": "FakeTSVersion", - "size": 1194 + "size": 1274 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index b389fa1e55e38..02d8ce95925ff 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -74,8 +74,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/a/b/commonfile1.ts (used version) -/a/b/commonfile2.ts (used version) +/a/b/commonfile1.ts (computed .d.ts during emit) +/a/b/commonfile2.ts (computed .d.ts during emit) Program root files: ["/a/b/other.ts"] Program options: {"strict":true,"composite":true,"watch":true,"configFilePath":"/a/b/project2.tsconfig.json"} @@ -90,7 +90,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/a/b/other.ts (used version) +/a/b/other.ts (computed .d.ts during emit) WatchedFiles:: /a/b/project1.tsconfig.json: @@ -135,7 +135,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","affectsGlobalScope":true},{"version":"2168322129-let y = 1","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -153,12 +153,12 @@ declare let y: number; }, "./commonfile1.ts": { "version": "2167136208-let x = 1", - "signature": "2167136208-let x = 1", + "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true }, "./commonfile2.ts": { "version": "2168322129-let y = 1", - "signature": "2168322129-let y = 1", + "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true } }, @@ -175,7 +175,7 @@ declare let y: number; ] }, "version": "FakeTSVersion", - "size": 767 + "size": 866 } //// [/a/b/other.js] @@ -188,7 +188,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -205,7 +205,7 @@ declare let z: number; }, "./other.ts": { "version": "2874288940-let z = 0;", - "signature": "2874288940-let z = 0;", + "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true } }, @@ -221,7 +221,7 @@ declare let z: number; ] }, "version": "FakeTSVersion", - "size": 680 + "size": 731 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index f6635b289db38..abb8acaffde47 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -70,8 +70,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/a/b/commonfile1.ts (used version) -/a/b/commonfile2.ts (used version) +/a/b/commonfile1.ts (computed .d.ts during emit) +/a/b/commonfile2.ts (computed .d.ts during emit) Program root files: ["/a/b/other.ts"] Program options: {"composite":true,"watch":true,"configFilePath":"/a/b/project2.tsconfig.json"} @@ -86,7 +86,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/a/b/other.ts (used version) +/a/b/other.ts (computed .d.ts during emit) WatchedFiles:: /a/b/project1.tsconfig.json: @@ -127,7 +127,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","affectsGlobalScope":true},{"version":"2168322129-let y = 1","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,12 +145,12 @@ declare let y: number; }, "./commonfile1.ts": { "version": "2167136208-let x = 1", - "signature": "2167136208-let x = 1", + "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true }, "./commonfile2.ts": { "version": "2168322129-let y = 1", - "signature": "2168322129-let y = 1", + "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true } }, @@ -166,7 +166,7 @@ declare let y: number; ] }, "version": "FakeTSVersion", - "size": 753 + "size": 852 } //// [/a/b/other.js] @@ -178,7 +178,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -195,7 +195,7 @@ declare let z: number; }, "./other.ts": { "version": "2874288940-let z = 0;", - "signature": "2874288940-let z = 0;", + "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true } }, @@ -210,7 +210,7 @@ declare let z: number; ] }, "version": "FakeTSVersion", - "size": 666 + "size": 717 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 09cf4605ade15..0128d3c6f49ca 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -101,7 +101,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/reexport/src/pure/session.ts (used version) +/user/username/projects/reexport/src/pure/session.ts (computed .d.ts during emit) /user/username/projects/reexport/src/pure/index.ts (used version) Program root files: ["/user/username/projects/reexport/src/main/index.ts"] @@ -187,7 +187,7 @@ export * from "./session"; //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -210,7 +210,7 @@ export * from "./session"; }, "../../src/pure/session.ts": { "version": "5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n", - "signature": "5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n" + "signature": "-1218067212-export interface Session {\n foo: number;\n}\n" }, "../../src/pure/index.ts": { "version": "-5356193041-export * from \"./session\";\n", @@ -239,7 +239,7 @@ export * from "./session"; ] }, "version": "FakeTSVersion", - "size": 935 + "size": 1023 } //// [/user/username/projects/reexport/out/main/index.js] diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js index 5ca669ee35451..306d3f5a69a03 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js @@ -1,224 +1,4 @@ -0:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -1:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -3:: Fix error and emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -4:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -5:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -6:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -7:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -8:: Introduce error and emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -9:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -10:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -11:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -12:: No Change run with emit +2:: Introduce error but still noEmit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt @@ -253,86 +33,6 @@ Incremental: { "./src/indirectclass.ts" ] } -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -14:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -15:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -16:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -17:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} Clean: { "./src/indirectclass.ts": [ "./src/class.ts" diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 6e44cb64d2998..3409cacd28bad 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -148,7 +148,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,27 +178,27 @@ function someFunc(arguments) { }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}" + "signature": "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + "signature": "-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -217,14 +217,8 @@ function someFunc(arguments) { ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -251,7 +245,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1651 + "size": 2178 } @@ -319,7 +313,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -357,19 +351,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-4882119183-export {};\r\n" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-4882119183-export {};\r\n" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -388,8 +382,14 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "exportedModulesMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], "./src/indirectclass.ts": [ "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -465,7 +465,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ], [ "./src/directuse.ts", - "Full" + "DtsOnly" ], [ "./src/indirectclass.ts", @@ -473,12 +473,12 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ], [ "./src/indirectuse.ts", - "Full" + "DtsOnly" ] ] }, "version": "FakeTSVersion", - "size": 2657 + "size": 2754 } @@ -508,13 +508,11 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents //// [/src/project/src/directUse.d.ts] file written with same contents -//// [/src/project/src/directUse.js] file written with same contents //// [/src/project/src/indirectClass.d.ts] file written with same contents //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents -//// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -552,19 +550,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -583,14 +581,8 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -617,7 +609,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 1893 + "size": 2178 } @@ -752,7 +744,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -790,19 +782,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -821,14 +813,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -899,7 +885,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2510 + "size": 2795 } @@ -1079,7 +1065,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1125,11 +1111,11 @@ exitCode:: ExitStatus.Success }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -1200,7 +1186,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1946 + "size": 2137 } @@ -1246,7 +1232,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1284,19 +1270,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -1315,14 +1301,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -1349,7 +1329,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1893 + "size": 2178 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js index 5ca669ee35451..306d3f5a69a03 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration-discrepancies.js @@ -1,224 +1,4 @@ -0:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -1:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -3:: Fix error and emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -4:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -5:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -6:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -7:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -8:: Introduce error and emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -9:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -10:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -11:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -12:: No Change run with emit +2:: Introduce error but still noEmit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt @@ -253,86 +33,6 @@ Incremental: { "./src/indirectclass.ts" ] } -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -14:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -15:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -16:: No Change run with noEmit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -17:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} Clean: { "./src/indirectclass.ts": [ "./src/class.ts" diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index 2e2f7e9a2dc6b..cf58b47ce13d4 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -148,7 +148,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,27 +178,27 @@ function someFunc(arguments) { }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}" + "signature": "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + "signature": "-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -217,14 +217,8 @@ function someFunc(arguments) { ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -251,7 +245,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1653 + "size": 2180 } @@ -319,7 +313,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -357,19 +351,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-4882119183-export {};\r\n" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-4882119183-export {};\r\n" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -388,8 +382,14 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "exportedModulesMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], "./src/indirectclass.ts": [ "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -465,7 +465,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ], [ "./src/directuse.ts", - "Full" + "DtsOnly" ], [ "./src/indirectclass.ts", @@ -473,12 +473,12 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ], [ "./src/indirectuse.ts", - "Full" + "DtsOnly" ] ] }, "version": "FakeTSVersion", - "size": 2659 + "size": 2756 } @@ -508,13 +508,11 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents //// [/src/project/src/directUse.d.ts] file written with same contents -//// [/src/project/src/directUse.js] file written with same contents //// [/src/project/src/indirectClass.d.ts] file written with same contents //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents -//// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -552,19 +550,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -583,14 +581,8 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -617,7 +609,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 1895 + "size": 2180 } @@ -752,7 +744,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -790,19 +782,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -821,14 +813,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -899,7 +885,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2512 + "size": 2797 } @@ -1079,7 +1065,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1125,11 +1111,11 @@ exitCode:: ExitStatus.Success }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -1200,7 +1186,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1948 + "size": 2139 } @@ -1246,7 +1232,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1284,19 +1270,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -1315,14 +1301,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -1349,7 +1329,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1895 + "size": 2180 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js index fe04fe3808e0e..59964403c42da 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js @@ -1,23 +1,3 @@ -0:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} 2:: Fix error and no emit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed @@ -33,26 +13,6 @@ Incremental: { "./src/indirectclass.ts" ] } -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -3:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} Clean: { "./src/indirectclass.ts": [ "./src/class.ts" diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index ff0eb3c71d80d..328b68562b35d 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -292,7 +292,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -322,27 +322,27 @@ function someFunc(arguments) { }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}" + "signature": "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + "signature": "-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -361,14 +361,8 @@ function someFunc(arguments) { ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -395,7 +389,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1651 + "size": 2178 } @@ -466,13 +460,11 @@ exports.classC = classC; //// [/src/project/src/directUse.d.ts] file written with same contents -//// [/src/project/src/directUse.js] file written with same contents //// [/src/project/src/indirectClass.d.ts] file written with same contents //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents -//// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -518,11 +510,11 @@ exports.classC = classC; }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -613,7 +605,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2604 + "size": 2795 } @@ -633,7 +625,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -679,11 +671,11 @@ exitCode:: ExitStatus.Success }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -754,7 +746,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1946 + "size": 2137 } @@ -800,7 +792,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -838,19 +830,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -869,14 +861,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -903,6 +889,6 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1893 + "size": 2178 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js index fe04fe3808e0e..59964403c42da 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration-discrepancies.js @@ -1,23 +1,3 @@ -0:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} 2:: Fix error and no emit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed @@ -33,26 +13,6 @@ Incremental: { "./src/indirectclass.ts" ] } -Clean: { - "./src/indirectclass.ts": [ - "./src/class.ts" - ] -} -3:: No Change run with emit -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], - "./src/indirectclass.ts": [ - "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" - ] -} Clean: { "./src/indirectclass.ts": [ "./src/class.ts" diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 4fc2bd2751e26..969989ad6328e 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -292,7 +292,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -322,27 +322,27 @@ function someFunc(arguments) { }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}" + "signature": "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + "signature": "-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -361,14 +361,8 @@ function someFunc(arguments) { ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -395,7 +389,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1653 + "size": 2180 } @@ -466,13 +460,11 @@ exports.classC = classC; //// [/src/project/src/directUse.d.ts] file written with same contents -//// [/src/project/src/directUse.js] file written with same contents //// [/src/project/src/indirectClass.d.ts] file written with same contents //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents -//// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -518,11 +510,11 @@ exports.classC = classC; }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -613,7 +605,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2606 + "size": 2797 } @@ -633,7 +625,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -679,11 +671,11 @@ exitCode:: ExitStatus.Success }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -754,7 +746,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1948 + "size": 2139 } @@ -800,7 +792,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -838,19 +830,19 @@ exports.classC = classC; }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + "signature": "-4882119183-export {};\r\n" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}" + "signature": "8117292349-export declare function writeLog(s: string): void;\r\n" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "signature": "-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n", "affectsGlobalScope": true } }, @@ -869,14 +861,8 @@ exports.classC = classC; ] }, "exportedModulesMap": { - "./src/directuse.ts": [ - "./src/indirectclass.ts" - ], "./src/indirectclass.ts": [ "./src/class.ts" - ], - "./src/indirectuse.ts": [ - "./src/indirectclass.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -903,6 +889,6 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1895 + "size": 2180 } diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js deleted file mode 100644 index f9358e2eda544..0000000000000 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated-discrepancies.js +++ /dev/null @@ -1,15 +0,0 @@ -0:: no-change-run -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./src/anotherfilewithsamereferenes.ts": [ - "./src/filepresent.ts", - "./src/filenotfound.ts" - ], - "./src/main.ts": [ - "./src/filepresent.ts", - "./src/filenotfound.ts" - ] -} -Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index 996ed74a21088..45d6bab61cc94 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -70,9 +70,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /lib/lib.d.ts (used version) -/src/project/src/filepresent.ts (used version) -/src/project/src/anotherfilewithsamereferenes.ts (used version) -/src/project/src/main.ts (used version) +/src/project/src/filepresent.ts (computed .d.ts during emit) +/src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts during emit) +/src/project/src/main.ts (computed .d.ts during emit) //// [/src/project/src/anotherFileWithSameReferenes.d.ts] @@ -106,7 +106,7 @@ function main() { } //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[[3,1],[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -132,17 +132,17 @@ function main() { } }, "./src/filepresent.ts": { "version": "-12346563362-function something() { return 10; }", - "signature": "-12346563362-function something() { return 10; }", + "signature": "-2893492081-declare function something(): number;\r\n", "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", - "signature": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", + "signature": "5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n", "affectsGlobalScope": true }, "./src/main.ts": { "version": "-21256825585-/// \n/// \nfunction main() { }\n", - "signature": "-21256825585-/// \n/// \nfunction main() { }\n", + "signature": "-7575087679-/// \r\ndeclare function main(): void;\r\n", "affectsGlobalScope": true } }, @@ -159,16 +159,7 @@ function main() { } "./src/filenotfound.ts" ] }, - "exportedModulesMap": { - "./src/anotherfilewithsamereferenes.ts": [ - "./src/filepresent.ts", - "./src/filenotfound.ts" - ], - "./src/main.ts": [ - "./src/filepresent.ts", - "./src/filenotfound.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./src/anotherfilewithsamereferenes.ts", @@ -177,7 +168,7 @@ function main() { } ] }, "version": "FakeTSVersion", - "size": 1266 + "size": 1562 } @@ -260,21 +251,12 @@ Program files:: /src/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/lib/lib.d.ts -/src/project/src/filePresent.ts -/src/project/src/anotherFileWithSameReferenes.ts /src/project/src/main.ts Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) -/src/project/src/filepresent.ts (computed .d.ts) -/src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts) -//// [/src/project/src/anotherFileWithSameReferenes.d.ts] file written with same contents -//// [/src/project/src/anotherFileWithSameReferenes.js] file written with same contents -//// [/src/project/src/filePresent.d.ts] file written with same contents -//// [/src/project/src/filePresent.js] file written with same contents //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] /// diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index 8127ee0512290..0c1569a5bb7c0 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -50,7 +50,7 @@ var class2 = /** @class */ (function () { //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -73,7 +73,7 @@ var class2 = /** @class */ (function () { }, "./class2.ts": { "version": "777969115-class class2 {}", - "signature": "777969115-class class2 {}", + "signature": "-2390931783-declare class class2 {\r\n}\r\n", "affectsGlobalScope": true } }, @@ -88,7 +88,7 @@ var class2 = /** @class */ (function () { ] }, "version": "FakeTSVersion", - "size": 829 + "size": 887 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index bead8dc0ba853..3bfc8798173ab 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 6748443571038..1b5b6508729ef 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -154,12 +154,7 @@ Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. - -4 console.log(b.c.d); -   ~ - -[12:01:01 AM] Found 1 error. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -175,12 +170,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts -/user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -225,8 +218,6 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/a.js] file written with same contents -//// [/user/username/projects/myproject/a.d.ts] file written with same contents Change:: Rename property d2 to d of class C to revert back to original text @@ -240,14 +231,9 @@ export class C Output:: >> Screen clear -[12:01:05 AM] File change detected. Starting incremental compilation... - -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. +[12:00:59 AM] File change detected. Starting incremental compilation... -4 console.log(b.c.d); -   ~ - -[12:01:18 AM] Found 1 error. Watching for file changes. +[12:01:12 AM] Found 0 errors. Watching for file changes. @@ -324,14 +310,9 @@ export class C Output:: >> Screen clear -[12:01:22 AM] File change detected. Starting incremental compilation... - -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. - -4 console.log(b.c.d); -   ~ +[12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Found 1 error. Watching for file changes. +[12:01:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 38ef212cd10c7..261571ca33d61 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -217,7 +217,23 @@ Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Found 0 errors. Watching for file changes. +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. + +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ + +[12:01:07 AM] Found 2 errors. Watching for file changes. @@ -235,16 +251,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts -/user/username/projects/myproject/c.ts -/user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/d.ts (computed .d.ts) -/user/username/projects/myproject/e.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -286,12 +296,6 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/c.js] file written with same contents -//// [/user/username/projects/myproject/c.d.ts] file written with same contents -//// [/user/username/projects/myproject/d.js] file written with same contents -//// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.js] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents Change:: Rename property x to x2 of interface Coords to revert back to original text @@ -309,9 +313,25 @@ export interface Coords { Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:11 AM] File change detected. Starting incremental compilation... -[12:01:42 AM] Found 0 errors. Watching for file changes. +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. + +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ + +[12:01:24 AM] Found 2 errors. Watching for file changes. @@ -391,9 +411,25 @@ export interface Coords { Output:: >> Screen clear -[12:01:46 AM] File change detected. Starting incremental compilation... +[12:01:28 AM] File change detected. Starting incremental compilation... + +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. + +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ -[12:01:59 AM] Found 0 errors. Watching for file changes. +[12:01:41 AM] Found 2 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 28f3a658982f5..3606da8908821 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -256,13 +256,7 @@ Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:01:43 AM] Found 1 error. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. @@ -281,18 +275,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts /user/username/projects/myproject/lib1/tools/public.ts -/user/username/projects/myproject/lib1/public.ts -/user/username/projects/myproject/lib2/data.ts -/user/username/projects/myproject/lib2/public.ts -/user/username/projects/myproject/app.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -329,14 +315,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents -//// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents -//// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents -//// [/user/username/projects/myproject/app.d.ts] file written with same contents Change:: Rename property title2 to title of interface ITest to revert back to original text @@ -349,15 +327,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:47 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:01:23 AM] File change detected. Starting incremental compilation... -[12:02:00 AM] Found 1 error. Watching for file changes. +[12:01:36 AM] Found 0 errors. Watching for file changes. @@ -428,15 +400,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:04 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:01:40 AM] File change detected. Starting incremental compilation... -[12:02:17 AM] Found 1 error. Watching for file changes. +[12:01:53 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 78a60956f6cda..1b1c6a5f0fadf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -288,13 +288,7 @@ Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:01:55 AM] Found 1 error. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -314,20 +308,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts /user/username/projects/myproject/lib1/tools/public.ts -/user/username/projects/myproject/lib1/public.ts -/user/username/projects/myproject/lib2/data2.ts -/user/username/projects/myproject/lib2/data.ts -/user/username/projects/myproject/lib2/public.ts -/user/username/projects/myproject/app.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data2.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -366,16 +350,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents -//// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents -//// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents -//// [/user/username/projects/myproject/app.d.ts] file written with same contents Change:: Rename property title2 to title of interface ITest to revert back to original text @@ -388,15 +362,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:01:29 AM] File change detected. Starting incremental compilation... -[12:02:12 AM] Found 1 error. Watching for file changes. +[12:01:42 AM] Found 0 errors. Watching for file changes. @@ -470,15 +438,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:16 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:01:46 AM] File change detected. Starting incremental compilation... -[12:02:29 AM] Found 1 error. Watching for file changes. +[12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index 2390754cc1538..ba89be276eac7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -278,7 +278,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,7 +302,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -310,7 +310,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -333,7 +333,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1115 + "size": 1249 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -429,7 +429,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -453,7 +453,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -461,7 +461,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -502,7 +502,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1278 + "size": 1412 } @@ -614,7 +614,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -638,7 +638,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -646,7 +646,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -669,7 +669,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1106 + "size": 1240 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index c8f5d8e987901..881bb3fb80725 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -142,7 +142,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -205,7 +205,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -273,7 +273,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index d37fad35d5baa..461b77f5037bb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -159,7 +159,7 @@ Output:: 4 console.log(b.c.d);    ~ -[12:01:01 AM] Found 1 error. Watching for file changes. +[12:00:58 AM] Found 1 error. Watching for file changes. @@ -180,7 +180,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (computed .d.ts) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -225,7 +225,6 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents Change:: Rename property d2 to d of class C to revert back to original text @@ -240,9 +239,9 @@ export class C Output:: >> Screen clear -[12:01:05 AM] File change detected. Starting incremental compilation... +[12:01:02 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:18 AM] Found 0 errors. Watching for file changes. @@ -263,7 +262,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -322,14 +321,14 @@ export class C Output:: >> Screen clear -[12:01:25 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d);    ~ -[12:01:41 AM] Found 1 error. Watching for file changes. +[12:01:38 AM] Found 1 error. Watching for file changes. @@ -350,7 +349,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index c64eaa430fb4f..80810ab0ec43a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -217,7 +217,7 @@ Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Found 0 errors. Watching for file changes. +[12:01:13 AM] Found 0 errors. Watching for file changes. @@ -237,14 +237,12 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/d.ts (computed .d.ts) -/user/username/projects/myproject/e.ts (computed .d.ts) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -286,12 +284,8 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/c.js] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents -//// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.js] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents Change:: Rename property x to x2 of interface Coords to revert back to original text @@ -309,7 +303,7 @@ export interface Coords { Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -327,7 +321,7 @@ Output:: 2 getPoint().c.x;    ~ -[12:01:48 AM] Found 2 errors. Watching for file changes. +[12:01:36 AM] Found 2 errors. Watching for file changes. @@ -351,8 +345,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -413,9 +407,9 @@ export interface Coords { Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:40 AM] File change detected. Starting incremental compilation... -[12:02:14 AM] Found 0 errors. Watching for file changes. +[12:01:59 AM] Found 0 errors. Watching for file changes. @@ -435,14 +429,12 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -486,4 +478,3 @@ export interface Coords { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 8d05ca1c19fc6..3daa1e66f2f5d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -262,7 +262,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:01:43 AM] Found 1 error. Watching for file changes. +[12:01:31 AM] Found 1 error. Watching for file changes. @@ -289,10 +289,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -329,13 +329,9 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents Change:: Rename property title2 to title of interface ITest to revert back to original text @@ -349,9 +345,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:47 AM] File change detected. Starting incremental compilation... +[12:01:35 AM] File change detected. Starting incremental compilation... -[12:02:12 AM] Found 0 errors. Watching for file changes. +[12:02:00 AM] Found 0 errors. Watching for file changes. @@ -378,10 +374,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -434,7 +430,7 @@ export interface ITest { Output:: >> Screen clear -[12:02:16 AM] File change detected. Starting incremental compilation... +[12:02:04 AM] File change detected. Starting incremental compilation... lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? @@ -442,7 +438,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:02:41 AM] Found 1 error. Watching for file changes. +[12:02:29 AM] Found 1 error. Watching for file changes. @@ -469,10 +465,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index d50dd2518dd79..d90b5e2271ced 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -294,7 +294,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:01:55 AM] Found 1 error. Watching for file changes. +[12:01:40 AM] Found 1 error. Watching for file changes. @@ -323,11 +323,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data2.ts (computed .d.ts) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -366,15 +366,10 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.js] file written with same contents //// [/user/username/projects/myproject/lib2/data2.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents Change:: Rename property title2 to title of interface ITest to revert back to original text @@ -388,9 +383,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... -[12:02:27 AM] Found 0 errors. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -419,11 +414,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -479,7 +474,7 @@ export interface ITest { Output:: >> Screen clear -[12:02:31 AM] File change detected. Starting incremental compilation... +[12:02:16 AM] File change detected. Starting incremental compilation... lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? @@ -487,7 +482,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:02:59 AM] Found 1 error. Watching for file changes. +[12:02:44 AM] Found 1 error. Watching for file changes. @@ -516,11 +511,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index 3e5507d61da81..a7e1626c8dc86 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 95aaa391d12c5..59e9152a272f4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -102,7 +102,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -137,7 +137,7 @@ export {}; }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -153,9 +153,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -168,7 +165,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 958 + "size": 1003 } @@ -232,7 +229,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -267,7 +264,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -283,9 +280,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -298,7 +292,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 959 + "size": 1004 } @@ -362,7 +356,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -397,7 +391,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -413,9 +407,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -428,7 +419,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 958 + "size": 1003 } @@ -492,7 +483,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -527,7 +518,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -543,9 +534,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -558,6 +546,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 959 + "size": 1004 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 25e1c52670879..34d7a6f01d14b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -140,7 +140,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,15 +167,15 @@ export {}; }, "./c.ts": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -191,9 +191,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -206,7 +203,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 957 + "size": 1190 } @@ -224,12 +221,7 @@ Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. - -4 console.log(b.c.d); -   ~ - -[12:01:08 AM] Found 1 error. Watching for file changes. +[12:01:02 AM] Found 0 errors. Watching for file changes. @@ -245,12 +237,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts -/user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -295,10 +285,8 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/a.js] file written with same contents -//// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,25 +343,13 @@ export declare class C { }, "semanticDiagnosticsPerFile": [ "../../../../a/lib/lib.d.ts", - [ - "./a.ts", - [ - { - "file": "./a.ts", - "start": 82, - "length": 1, - "code": 2339, - "category": 1, - "messageText": "Property 'd' does not exist on type 'C'." - } - ] - ], + "./a.ts", "./b.ts", "./c.ts" ] }, "version": "FakeTSVersion", - "size": 1318 + "size": 1192 } @@ -389,14 +365,9 @@ export class C Output:: >> Screen clear -[12:01:15 AM] File change detected. Starting incremental compilation... - -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. - -4 console.log(b.c.d); -   ~ +[12:01:09 AM] File change detected. Starting incremental compilation... -[12:01:31 AM] Found 1 error. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -461,7 +432,7 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -518,25 +489,13 @@ export declare class C { }, "semanticDiagnosticsPerFile": [ "../../../../a/lib/lib.d.ts", - [ - "./a.ts", - [ - { - "file": "./a.ts", - "start": 82, - "length": 1, - "code": 2339, - "category": 1, - "messageText": "Property 'd' does not exist on type 'C'." - } - ] - ], + "./a.ts", "./b.ts", "./c.ts" ] }, "version": "FakeTSVersion", - "size": 1316 + "size": 1190 } @@ -552,14 +511,9 @@ export class C Output:: >> Screen clear -[12:01:38 AM] File change detected. Starting incremental compilation... +[12:01:32 AM] File change detected. Starting incremental compilation... -a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. - -4 console.log(b.c.d); -   ~ - -[12:01:54 AM] Found 1 error. Watching for file changes. +[12:01:48 AM] Found 0 errors. Watching for file changes. @@ -624,7 +578,7 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -681,24 +635,12 @@ export declare class C { }, "semanticDiagnosticsPerFile": [ "../../../../a/lib/lib.d.ts", - [ - "./a.ts", - [ - { - "file": "./a.ts", - "start": 82, - "length": 1, - "code": 2339, - "category": 1, - "messageText": "Property 'd' does not exist on type 'C'." - } - ] - ], + "./a.ts", "./b.ts", "./c.ts" ] }, "version": "FakeTSVersion", - "size": 1318 + "size": 1192 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 8c4566702fc78..684bae78c879c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -199,7 +199,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,23 +234,23 @@ import "./d"; }, "./a.ts": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -278,9 +278,6 @@ import "./d"; "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -340,7 +337,7 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 1985 + "size": 2501 } @@ -362,7 +359,23 @@ Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. + +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ + +[12:01:14 AM] Found 2 errors. Watching for file changes. @@ -380,16 +393,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts -/user/username/projects/myproject/c.ts -/user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/d.ts (computed .d.ts) -/user/username/projects/myproject/e.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -431,14 +438,8 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/c.js] file written with same contents -//// [/user/username/projects/myproject/c.d.ts] file written with same contents -//// [/user/username/projects/myproject/d.js] file written with same contents -//// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.js] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -525,13 +526,58 @@ export interface Coords { "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts", - "./c.ts", - "./d.ts", + [ + "./c.ts", + [ + { + "file": "./c.ts", + "start": 139, + "length": 4, + "code": 2322, + "category": 1, + "messageText": { + "messageText": "Type '{ x: number; y: number; }' is not assignable to type 'Coords'.", + "category": 1, + "code": 2322, + "next": [ + { + "messageText": "Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.", + "category": 1, + "code": 2353 + } + ] + }, + "relatedInformation": [ + { + "file": "./a.ts", + "start": 47, + "length": 1, + "messageText": "The expected type comes from property 'c' which is declared here on type 'PointWrapper'", + "category": 3, + "code": 6500 + } + ] + } + ] + ], + [ + "./d.ts", + [ + { + "file": "./d.ts", + "start": 45, + "length": 1, + "code": 2339, + "category": 1, + "messageText": "Property 'x' does not exist on type 'Coords'." + } + ] + ], "./e.ts" ] }, "version": "FakeTSVersion", - "size": 1836 + "size": 2498 } @@ -551,9 +597,25 @@ export interface Coords { Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:21 AM] File change detected. Starting incremental compilation... -[12:01:55 AM] Found 0 errors. Watching for file changes. +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. + +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ + +[12:01:37 AM] Found 2 errors. Watching for file changes. @@ -617,7 +679,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -704,13 +766,58 @@ export interface Coords { "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts", - "./c.ts", - "./d.ts", + [ + "./c.ts", + [ + { + "file": "./c.ts", + "start": 139, + "length": 4, + "code": 2322, + "category": 1, + "messageText": { + "messageText": "Type '{ x: number; y: number; }' is not assignable to type 'Coords'.", + "category": 1, + "code": 2322, + "next": [ + { + "messageText": "Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.", + "category": 1, + "code": 2353 + } + ] + }, + "relatedInformation": [ + { + "file": "./a.ts", + "start": 47, + "length": 1, + "messageText": "The expected type comes from property 'c' which is declared here on type 'PointWrapper'", + "category": 3, + "code": 6500 + } + ] + } + ] + ], + [ + "./d.ts", + [ + { + "file": "./d.ts", + "start": 45, + "length": 1, + "code": 2339, + "category": 1, + "messageText": "Property 'x' does not exist on type 'Coords'." + } + ] + ], "./e.ts" ] }, "version": "FakeTSVersion", - "size": 1839 + "size": 2501 } @@ -730,9 +837,25 @@ export interface Coords { Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... + +c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. + Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. -[12:02:18 AM] Found 0 errors. Watching for file changes. +6 x: 1, +   ~~~~ + + a.ts:3:5 + 3 c: Coords; +    ~ + The expected type comes from property 'c' which is declared here on type 'PointWrapper' + +d.ts:2:14 - error TS2339: Property 'x' does not exist on type 'Coords'. + +2 getPoint().c.x; +   ~ + +[12:02:00 AM] Found 2 errors. Watching for file changes. @@ -796,7 +919,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -883,12 +1006,57 @@ export interface Coords { "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts", - "./c.ts", - "./d.ts", + [ + "./c.ts", + [ + { + "file": "./c.ts", + "start": 139, + "length": 4, + "code": 2322, + "category": 1, + "messageText": { + "messageText": "Type '{ x: number; y: number; }' is not assignable to type 'Coords'.", + "category": 1, + "code": 2322, + "next": [ + { + "messageText": "Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.", + "category": 1, + "code": 2353 + } + ] + }, + "relatedInformation": [ + { + "file": "./a.ts", + "start": 47, + "length": 1, + "messageText": "The expected type comes from property 'c' which is declared here on type 'PointWrapper'", + "category": 3, + "code": 6500 + } + ] + } + ] + ], + [ + "./d.ts", + [ + { + "file": "./d.ts", + "start": 45, + "length": 1, + "code": 2339, + "category": 1, + "messageText": "Property 'x' does not exist on type 'Coords'." + } + ] + ], "./e.ts" ] }, "version": "FakeTSVersion", - "size": 1836 + "size": 2498 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index e9705bfdad79a..21eff29fc5920 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -243,7 +243,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,27 +282,27 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -327,9 +327,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -354,7 +351,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1427 + "size": 1950 } @@ -371,13 +368,7 @@ Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:01:50 AM] Found 1 error. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -396,18 +387,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts /user/username/projects/myproject/lib1/tools/public.ts -/user/username/projects/myproject/lib1/public.ts -/user/username/projects/myproject/lib2/data.ts -/user/username/projects/myproject/lib2/public.ts -/user/username/projects/myproject/app.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -444,16 +427,8 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents -//// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents -//// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents -//// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -556,35 +531,12 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 121, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2327 + "size": 1952 } @@ -599,15 +551,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:57 AM] File change detected. Starting incremental compilation... +[12:01:33 AM] File change detected. Starting incremental compilation... -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:02:13 AM] Found 1 error. Watching for file changes. +[12:01:49 AM] Found 0 errors. Watching for file changes. @@ -667,7 +613,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -770,35 +716,12 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 121, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2325 + "size": 1950 } @@ -813,15 +736,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:20 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:02:36 AM] Found 1 error. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -881,7 +798,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -984,34 +901,11 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 121, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2327 + "size": 1952 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index b3d83d79b0afa..a0b4491f09040 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -275,7 +275,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,31 +316,31 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -369,9 +369,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -401,7 +398,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1612 + "size": 2313 } @@ -418,13 +415,7 @@ Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:02:02 AM] Found 1 error. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. @@ -444,20 +435,10 @@ Program files:: Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts /user/username/projects/myproject/lib1/tools/public.ts -/user/username/projects/myproject/lib1/public.ts -/user/username/projects/myproject/lib2/data2.ts -/user/username/projects/myproject/lib2/data.ts -/user/username/projects/myproject/lib2/public.ts -/user/username/projects/myproject/app.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data2.ts (computed .d.ts) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -496,18 +477,8 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents -//// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents -//// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents -//// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents -//// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -624,36 +595,13 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 174, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/data2.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2690 + "size": 2315 } @@ -668,15 +616,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? +[12:01:39 AM] File change detected. Starting incremental compilation... -5 title: "title" -   ~~~~~~~~~~~~~~ - -[12:02:25 AM] Found 1 error. Watching for file changes. +[12:01:55 AM] Found 0 errors. Watching for file changes. @@ -739,7 +681,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -856,36 +798,13 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 174, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/data2.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2688 + "size": 2313 } @@ -900,15 +819,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:32 AM] File change detected. Starting incremental compilation... - -lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. - Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? - -5 title: "title" -   ~~~~~~~~~~~~~~ +[12:02:02 AM] File change detected. Starting incremental compilation... -[12:02:48 AM] Found 1 error. Watching for file changes. +[12:02:18 AM] Found 0 errors. Watching for file changes. @@ -971,7 +884,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1088,35 +1001,12 @@ export interface ITest { "./lib1/public.ts", "./lib1/tools/public.ts", "./lib1/tools/tools.interface.ts", - [ - "./lib2/data.ts", - [ - { - "file": "./lib2/data.ts", - "start": 174, - "length": 14, - "code": 2322, - "category": 1, - "messageText": { - "messageText": "Type '{ title: string; }' is not assignable to type 'ITest'.", - "category": 1, - "code": 2322, - "next": [ - { - "messageText": "Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?", - "category": 1, - "code": 2561 - } - ] - } - } - ] - ], + "./lib2/data.ts", "./lib2/data2.ts", "./lib2/public.ts" ] }, "version": "FakeTSVersion", - "size": 2690 + "size": 2315 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index a4f88ae81e0a5..bfdf6d81126b5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -278,7 +278,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,7 +302,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -310,7 +310,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -333,7 +333,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1115 + "size": 1249 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -429,7 +429,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -453,7 +453,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -461,7 +461,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -502,7 +502,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1278 + "size": 1412 } @@ -614,7 +614,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -638,7 +638,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -646,7 +646,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -669,7 +669,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1106 + "size": 1240 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index 869ce1a85e67a..3f2c70b67c6d6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -278,7 +278,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,7 +302,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -310,7 +310,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -333,7 +333,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1115 + "size": 1249 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -429,7 +429,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -453,7 +453,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -461,7 +461,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -502,7 +502,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1278 + "size": 1412 } @@ -614,7 +614,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -638,7 +638,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -646,7 +646,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -669,7 +669,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1106 + "size": 1240 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 8411f24f3faca..c440413b8f56a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -102,7 +102,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -137,7 +137,7 @@ export {}; }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -152,9 +152,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -167,7 +164,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 909 + "size": 954 } @@ -211,7 +208,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -239,7 +236,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -274,7 +271,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -289,9 +286,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -316,7 +310,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1036 + "size": 1081 } @@ -355,7 +349,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -383,7 +377,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,7 +412,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -433,9 +427,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -448,7 +439,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 909 + "size": 954 } @@ -492,7 +483,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -520,7 +511,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -555,7 +546,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -570,9 +561,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -597,6 +585,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1036 + "size": 1081 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 5d9c84706fccd..e9cf233438753 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -140,7 +140,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,15 +167,15 @@ export {}; }, "./c.ts": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -190,9 +190,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -205,7 +202,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 908 + "size": 1141 } @@ -228,7 +225,7 @@ Output:: 4 console.log(b.c.d);    ~ -[12:01:08 AM] Found 1 error. Watching for file changes. +[12:01:05 AM] Found 1 error. Watching for file changes. @@ -249,7 +246,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (computed .d.ts) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -294,7 +291,6 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} @@ -387,9 +383,9 @@ export class C Output:: >> Screen clear -[12:01:15 AM] File change detected. Starting incremental compilation... +[12:01:12 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:01:31 AM] Found 0 errors. Watching for file changes. @@ -410,7 +406,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -457,7 +453,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -492,7 +488,7 @@ export declare class C { }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -507,9 +503,6 @@ export declare class C { ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -522,7 +515,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1096 + "size": 1141 } @@ -538,14 +531,14 @@ export class C Output:: >> Screen clear -[12:01:41 AM] File change detected. Starting incremental compilation... +[12:01:38 AM] File change detected. Starting incremental compilation... a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d);    ~ -[12:02:00 AM] Found 1 error. Watching for file changes. +[12:01:57 AM] Found 1 error. Watching for file changes. @@ -566,7 +559,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -613,7 +606,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -648,7 +641,7 @@ export declare class C { }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -663,9 +656,6 @@ export declare class C { ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -690,6 +680,6 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1224 + "size": 1269 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 2797064f88b98..081531da6d496 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -199,7 +199,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,23 +234,23 @@ import "./d"; }, "./a.ts": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -277,9 +277,6 @@ import "./d"; "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -339,7 +336,7 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 1936 + "size": 2452 } @@ -361,7 +358,7 @@ Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -381,14 +378,12 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/d.ts (computed .d.ts) -/user/username/projects/myproject/e.ts (computed .d.ts) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -430,12 +425,8 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -//// [/user/username/projects/myproject/c.js] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents -//// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.js] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} @@ -549,7 +540,7 @@ export interface Coords { Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -567,7 +558,7 @@ Output:: 2 getPoint().c.x;    ~ -[12:02:01 AM] Found 2 errors. Watching for file changes. +[12:01:49 AM] Found 2 errors. Watching for file changes. @@ -591,8 +582,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -637,7 +628,7 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;",{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -680,11 +671,11 @@ export interface Coords { }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", @@ -715,9 +706,6 @@ export interface Coords { "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -777,7 +765,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2278 + "size": 2452 } @@ -797,9 +785,9 @@ export interface Coords { Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:02:33 AM] Found 0 errors. Watching for file changes. +[12:02:18 AM] Found 0 errors. Watching for file changes. @@ -819,14 +807,12 @@ Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/d.ts -/user/username/projects/myproject/e.ts Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -870,9 +856,8 @@ export interface Coords { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -//// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -915,15 +900,15 @@ export interface Coords { }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -950,9 +935,6 @@ export interface Coords { "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -967,6 +949,6 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1557 + "size": 1787 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js index 8037a31e3aa56..3553ec1da0723 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -243,7 +243,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,27 +282,27 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -326,9 +326,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -353,7 +350,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1378 + "size": 1901 } @@ -376,7 +373,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:01:50 AM] Found 1 error. Watching for file changes. +[12:01:38 AM] Found 1 error. Watching for file changes. @@ -403,10 +400,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -443,13 +440,9 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} @@ -597,9 +590,9 @@ export interface ITest { Output:: >> Screen clear -[12:01:57 AM] File change detected. Starting incremental compilation... +[12:01:45 AM] File change detected. Starting incremental compilation... -[12:02:25 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. @@ -626,10 +619,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -671,7 +664,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -718,19 +711,19 @@ export interface ITest { }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -754,9 +747,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -781,7 +771,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1544 + "size": 1901 } @@ -796,7 +786,7 @@ export interface ITest { Output:: >> Screen clear -[12:02:32 AM] File change detected. Starting incremental compilation... +[12:02:20 AM] File change detected. Starting incremental compilation... lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? @@ -804,7 +794,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:03:00 AM] Found 1 error. Watching for file changes. +[12:02:48 AM] Found 1 error. Watching for file changes. @@ -831,10 +821,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -876,7 +866,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -923,19 +913,19 @@ export interface ITest { }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -959,9 +949,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -1009,6 +996,6 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1921 + "size": 2278 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js index d858978aba489..8e8b28d62f71b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -275,7 +275,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,31 +316,31 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -368,9 +368,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -400,7 +397,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1563 + "size": 2264 } @@ -423,7 +420,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:02:02 AM] Found 1 error. Watching for file changes. +[12:01:47 AM] Found 1 error. Watching for file changes. @@ -452,11 +449,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data.ts (computed .d.ts) -/user/username/projects/myproject/lib2/public.ts (computed .d.ts) -/user/username/projects/myproject/app.ts (computed .d.ts) -/user/username/projects/myproject/lib2/data2.ts (computed .d.ts) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -495,15 +492,10 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib1/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data2.js] file written with same contents //// [/user/username/projects/myproject/lib2/data2.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/data.js] file written with same contents //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents -//// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents -//// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} @@ -666,9 +658,9 @@ export interface ITest { Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... +[12:01:54 AM] File change detected. Starting incremental compilation... -[12:02:40 AM] Found 0 errors. Watching for file changes. +[12:02:25 AM] Found 0 errors. Watching for file changes. @@ -697,11 +689,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -746,7 +738,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -795,23 +787,23 @@ export interface ITest { }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -839,9 +831,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -871,7 +860,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1729 + "size": 2264 } @@ -886,7 +875,7 @@ export interface ITest { Output:: >> Screen clear -[12:02:47 AM] File change detected. Starting incremental compilation... +[12:02:32 AM] File change detected. Starting incremental compilation... lib2/data.ts:5:13 - error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'? @@ -894,7 +883,7 @@ Output:: 5 title: "title"    ~~~~~~~~~~~~~~ -[12:03:18 AM] Found 1 error. Watching for file changes. +[12:03:03 AM] Found 1 error. Watching for file changes. @@ -923,11 +912,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) /user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -972,7 +961,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1021,23 +1010,23 @@ export interface ITest { }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -1065,9 +1054,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -1120,6 +1106,6 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2106 + "size": 2641 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js index a7fb75106e936..036a97dadd0e4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js index bc663a126affe..35a4b1f80423d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 777695e9f0d91..eac80ea725366 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -102,7 +102,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -137,7 +137,7 @@ export {}; }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -152,9 +152,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -167,7 +164,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 909 + "size": 954 } @@ -211,7 +208,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -239,7 +236,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -274,7 +271,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -289,9 +286,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -316,7 +310,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1036 + "size": 1081 } @@ -355,7 +349,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -383,7 +377,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,7 +412,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -433,9 +427,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -448,7 +439,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 909 + "size": 954 } @@ -492,7 +483,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -520,7 +511,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"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},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -555,7 +546,7 @@ exitCode:: ExitStatus.undefined }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -570,9 +561,6 @@ exitCode:: ExitStatus.undefined ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.d.ts" - ], "./b.d.ts": [ "./c.d.ts" ] @@ -597,6 +585,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1036 + "size": 1081 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 1790ea4fb899a..e611a650ee126 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -140,7 +140,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,15 +167,15 @@ export {}; }, "./c.ts": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -190,9 +190,6 @@ export {}; ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -205,7 +202,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 908 + "size": 1141 } @@ -248,8 +245,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -295,7 +292,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -326,11 +323,11 @@ export declare class C { }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -345,9 +342,6 @@ export declare class C { ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -372,7 +366,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1120 + "size": 1269 } @@ -410,8 +404,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -457,7 +451,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -488,11 +482,11 @@ export declare class C { }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -507,9 +501,6 @@ export declare class C { ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -522,7 +513,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 992 + "size": 1141 } @@ -565,8 +556,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -612,7 +603,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"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},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,[4,[{"file":"./a.ts","start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]],3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -643,11 +634,11 @@ export declare class C { }, "./b.ts": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -662,9 +653,6 @@ export declare class C { ] }, "exportedModulesMap": { - "./a.ts": [ - "./b.ts" - ], "./b.ts": [ "./c.ts" ] @@ -689,6 +677,6 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1120 + "size": 1269 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index caf1d30d235aa..ae50ce1ec816a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -199,7 +199,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,23 +234,23 @@ import "./d"; }, "./a.ts": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -277,9 +277,6 @@ import "./d"; "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -339,7 +336,7 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 1936 + "size": 2452 } @@ -385,10 +382,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -433,7 +430,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -472,19 +469,19 @@ export interface Coords { }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -511,9 +508,6 @@ export interface Coords { "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -528,7 +522,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1436 + "size": 1787 } @@ -590,10 +584,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -638,7 +632,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,[4,[{"file":"./c.ts","start":139,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type '{ x: number; y: number; }' is not assignable to type 'Coords'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","category":1,"code":2353}]},"relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"file":"./d.ts","start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -677,19 +671,19 @@ export interface Coords { }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -716,9 +710,6 @@ export interface Coords { "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -778,7 +769,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2101 + "size": 2452 } @@ -824,10 +815,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -872,7 +863,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"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},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"exportedModulesMap":[[3,1],[4,2],[6,4]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -911,19 +902,19 @@ export interface Coords { }, "./b.ts": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";" + "signature": "-3619301366-import \"./d\";\n" } }, "options": { @@ -950,9 +941,6 @@ export interface Coords { "./c.ts": [ "./b.ts" ], - "./d.ts": [ - "./c.ts" - ], "./e.ts": [ "./d.ts" ] @@ -967,6 +955,6 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1436 + "size": 1787 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index ffa7cb905e45f..ab19e60075cee 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -243,7 +243,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,27 +282,27 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -326,9 +326,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -353,7 +350,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1378 + "size": 1901 } @@ -402,11 +399,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -447,7 +444,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -490,23 +487,23 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -530,9 +527,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -580,7 +574,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1843 + "size": 2278 } @@ -623,11 +617,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -668,7 +662,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,5,6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -711,23 +705,23 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -751,9 +745,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -778,7 +769,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1466 + "size": 1901 } @@ -827,11 +818,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -872,7 +863,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"exportedModulesMap":[[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[1,7,4,3,2,[5,[{"file":"./lib2/data.ts","start":121,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],6]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -915,23 +906,23 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -955,9 +946,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -1005,6 +993,6 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1843 + "size": 2278 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 66f43221dcbe2..65720509b7e27 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -275,7 +275,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},"-4369626085-export interface ITest {\n title: string;\n}","-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -316,31 +316,31 @@ export declare class App { }, "./lib1/tools/tools.interface.ts": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -368,9 +368,6 @@ export declare class App { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -400,7 +397,7 @@ export declare class App { ] }, "version": "FakeTSVersion", - "size": 1563 + "size": 2264 } @@ -451,12 +448,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -500,7 +497,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -545,27 +542,27 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -593,9 +590,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -648,7 +642,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2028 + "size": 2641 } @@ -693,12 +687,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -742,7 +736,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,6,5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -787,27 +781,27 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -835,9 +829,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -867,7 +858,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 1651 + "size": 2264 } @@ -918,12 +909,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -967,7 +958,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-13301115055-export * from \"./tools.interface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"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},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-13301115055-export * from \"./tools.interface\";","signature":"-13735034501-export * from \"./tools.interface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"exportedModulesMap":[[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[1,8,4,3,2,[6,[{"file":"./lib2/data.ts","start":174,"length":14,"code":2322,"category":1,"messageText":{"messageText":"Type '{ title: string; }' is not assignable to type 'ITest'.","category":1,"code":2322,"next":[{"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?","category":1,"code":2561}]}}]],5,7]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1012,27 +1003,27 @@ export interface ITest { }, "./lib1/tools/public.ts": { "version": "-13301115055-export * from \"./tools.interface\";", - "signature": "-13301115055-export * from \"./tools.interface\";" + "signature": "-13735034501-export * from \"./tools.interface\";\n" }, "./lib1/public.ts": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "options": { @@ -1060,9 +1051,6 @@ export interface ITest { ] }, "exportedModulesMap": { - "./app.ts": [ - "./lib2/public.ts" - ], "./lib1/public.ts": [ "./lib1/tools/public.ts" ], @@ -1115,6 +1103,6 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2028 + "size": 2641 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 7b7d97027af24..b320338ade2cd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js index 0944f16a31671..e4a2935993f12 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index d840a16490cdf..07ddff950d931 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -63,7 +63,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -142,7 +142,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -205,7 +205,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -273,7 +273,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.d.ts (used version) /user/username/projects/myproject/b.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 13a8032b7e8a6..68a41566c5e8d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -61,9 +61,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -179,8 +179,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -260,8 +260,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -346,8 +346,8 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/c.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index d10479ad0f67e..54fdd1b5eba79 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -96,11 +96,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/a.ts (used version) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -241,10 +241,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -347,10 +347,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -437,10 +437,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/a.ts (computed .d.ts) -/user/username/projects/myproject/b.ts (used version) -/user/username/projects/myproject/c.ts (used version) -/user/username/projects/myproject/d.ts (used version) -/user/username/projects/myproject/e.ts (used version) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) +/user/username/projects/myproject/e.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 41fd01aac5d99..91452c7142d6f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -81,12 +81,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -288,11 +288,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -372,11 +372,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -462,11 +462,11 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 2ceed7c682fd6..058f6fe2036ea 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -89,13 +89,13 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/myproject/lib1/tools/tools.interface.ts (used version) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -322,12 +322,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -412,12 +412,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -508,12 +508,12 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/lib1/tools/tools.interface.ts (computed .d.ts) -/user/username/projects/myproject/lib1/tools/public.ts (used version) -/user/username/projects/myproject/lib1/public.ts (used version) -/user/username/projects/myproject/lib2/data.ts (used version) -/user/username/projects/myproject/lib2/data2.ts (used version) -/user/username/projects/myproject/lib2/public.ts (used version) -/user/username/projects/myproject/app.ts (used version) +/user/username/projects/myproject/lib1/tools/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib1/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/public.ts (computed .d.ts during emit) +/user/username/projects/myproject/app.ts (computed .d.ts during emit) +/user/username/projects/myproject/lib2/data2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index b1af51bc769ed..83a5707d25137 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -277,7 +277,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,7 +301,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", @@ -309,7 +309,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -331,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1066 + "size": 1200 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +427,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -451,7 +451,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", @@ -459,7 +459,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -499,7 +499,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1229 + "size": 1363 } @@ -611,7 +611,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,7 +635,7 @@ exitCode:: ExitStatus.undefined }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", @@ -643,7 +643,7 @@ exitCode:: ExitStatus.undefined }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1191 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index 841002b440019..6eea8b4b620a9 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -173,8 +173,8 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/user/username/projects/myproject/file1.ts (used version) -/user/username/projects/myproject/src/file2.ts (used version) +/user/username/projects/myproject/file1.ts (computed .d.ts during emit) +/user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index 7e2380200d728..aaa8113e67dc2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -173,8 +173,8 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/user/username/projects/myproject/file1.ts (used version) -/user/username/projects/myproject/src/file2.ts (used version) +/user/username/projects/myproject/file1.ts (computed .d.ts during emit) +/user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index d17968fa60d58..e7e009453d856 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -173,8 +173,8 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/user/username/projects/myproject/file1.ts (used version) -/user/username/projects/myproject/src/file2.ts (used version) +/user/username/projects/myproject/file1.ts (computed .d.ts during emit) +/user/username/projects/myproject/src/file2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index e24e1ba0986f1..c1884b9430b9a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -74,7 +74,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.d.ts (used version) -/user/username/projects/myproject/projects/project2/class2.ts (used version) +/user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/projects/project2/tsconfig.json: @@ -118,7 +118,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -141,7 +141,7 @@ declare class class2 { }, "./class2.ts": { "version": "777969115-class class2 {}", - "signature": "777969115-class class2 {}", + "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true } }, @@ -156,7 +156,7 @@ declare class class2 { ] }, "version": "FakeTSVersion", - "size": 760 + "size": 814 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 2a948e7143d96..61b51a6589ac0 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -121,7 +121,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},"-2676574883-export const World = \"hello\";\r\n","-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n",{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,11 +140,11 @@ export declare function multiply(a: number, b: number): number; }, "./anothermodule.ts": { "version": "-2676574883-export const World = \"hello\";\r\n", - "signature": "-2676574883-export const World = \"hello\";\r\n" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", - "signature": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "version": "-9253692965-declare const dts: any;\r\n", @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; ] }, "version": "FakeTSVersion", - "size": 1065 + "size": 1355 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -194,7 +194,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -209,6 +209,9 @@ export declare const m: typeof mod; [ "../core/index.d.ts", "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" ] ], "fileInfos": { @@ -227,7 +230,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -244,7 +247,6 @@ export declare const m: typeof mod; }, "exportedModulesMap": { "./index.ts": [ - "../core/index.d.ts", "../core/anothermodule.d.ts" ] }, @@ -256,7 +258,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1293 + "size": 1472 } //// [/user/username/projects/sample1/tests/index.js] @@ -277,7 +279,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -319,7 +321,7 @@ export declare const m: typeof mod; }, "./index.ts": { "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "options": { @@ -342,9 +344,7 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts" ], "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" + "../core/anothermodule.d.ts" ] }, "semanticDiagnosticsPerFile": [ @@ -356,7 +356,7 @@ export declare const m: typeof mod; ] }, "version": "FakeTSVersion", - "size": 1495 + "size": 1617 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 95c2503e227f0..6cd4f1cec3e84 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -57,7 +57,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"-7264743946-export class A {}"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -74,7 +74,7 @@ export declare class A { }, "./index.ts": { "version": "-7264743946-export class A {}", - "signature": "-7264743946-export class A {}" + "signature": "-8728835846-export declare class A {\n}\n" } }, "options": { @@ -88,7 +88,7 @@ export declare class A { ] }, "version": "FakeTSVersion", - "size": 650 + "size": 718 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -105,7 +105,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n","-2591036212-import {A} from '@ref/a';\nexport const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -132,7 +132,7 @@ export declare const b: A; }, "./index.ts": { "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "options": { @@ -155,7 +155,7 @@ export declare const b: A; ] }, "version": "FakeTSVersion", - "size": 779 + "size": 875 } //// [/user/username/projects/transitiveReferences/c/index.js] diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 1f0f8bee45198..317f977848d72 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -57,7 +57,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"-7264743946-export class A {}"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -74,7 +74,7 @@ export declare class A { }, "./index.ts": { "version": "-7264743946-export class A {}", - "signature": "-7264743946-export class A {}" + "signature": "-8728835846-export declare class A {\n}\n" } }, "options": { @@ -88,7 +88,7 @@ export declare class A { ] }, "version": "FakeTSVersion", - "size": 650 + "size": 718 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -105,7 +105,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n","-2591036212-import {A} from '@ref/a';\nexport const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -132,7 +132,7 @@ export declare const b: A; }, "./index.ts": { "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "options": { @@ -155,7 +155,7 @@ export declare const b: A; ] }, "version": "FakeTSVersion", - "size": 779 + "size": 875 } //// [/user/username/projects/transitiveReferences/c/index.js] diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 3a9647f070fd5..1ff6e1dd59894 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -81,7 +81,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -98,7 +98,7 @@ export declare class A { }, "./a.ts": { "version": "-8566332115-export class A {}\r\n", - "signature": "-8566332115-export class A {}\r\n" + "signature": "-8728835846-export declare class A {\n}\n" } }, "options": { @@ -112,7 +112,7 @@ export declare class A { ] }, "version": "FakeTSVersion", - "size": 647 + "size": 715 } //// [/user/username/projects/transitiveReferences/b.js] @@ -129,7 +129,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n","-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -156,7 +156,7 @@ export declare const b: A; }, "./b.ts": { "version": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n", - "signature": "-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "options": { @@ -179,7 +179,7 @@ export declare const b: A; ] }, "version": "FakeTSVersion", - "size": 772 + "size": 868 } //// [/user/username/projects/transitiveReferences/c.js] diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 2e510a31b3c15..4d3501b96fe19 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -68,7 +68,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},"-8566332115-export class A {}\r\n"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -85,7 +85,7 @@ export declare class A { }, "./a.ts": { "version": "-8566332115-export class A {}\r\n", - "signature": "-8566332115-export class A {}\r\n" + "signature": "-8728835846-export declare class A {\n}\n" } }, "options": { @@ -99,7 +99,7 @@ export declare class A { ] }, "version": "FakeTSVersion", - "size": 647 + "size": 715 } //// [/user/username/projects/transitiveReferences/b.js] @@ -116,7 +116,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n","-19869990292-import {A} from \"a\";export const b = new A();"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -143,7 +143,7 @@ export declare const b: A; }, "./b.ts": { "version": "-19869990292-import {A} from \"a\";export const b = new A();", - "signature": "-19869990292-import {A} from \"a\";export const b = new A();" + "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n" } }, "options": { @@ -166,7 +166,7 @@ export declare const b: A; ] }, "version": "FakeTSVersion", - "size": 761 + "size": 853 } //// [/user/username/projects/transitiveReferences/c.js] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index b40caab7ab8c8..dfcb553d113b9 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function foo(): void; }, "./src/bar.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 755 + "size": 909 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/index.ts": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../b/lib/bar.d.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/lib/index.d.ts", - "../b/lib/bar.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 934 + "size": 980 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 1a897dcd7e70e..8d9938e3c2f7d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function foo(): void; }, "./src/bar.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 755 + "size": 909 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/index.ts": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../../node_modules/b/lib/bar.d.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../../node_modules/b/lib/index.d.ts", - "../../node_modules/b/lib/bar.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../node_modules/b/lib/bar.d.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 966 + "size": 1012 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index 203755bc3fd76..e33dc889abee4 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) -/user/username/projects/myproject/packages/a/src/index.ts (used version) +/user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -121,7 +121,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,7 +154,7 @@ export {}; }, "./src/index.ts": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -168,12 +168,7 @@ export {}; "../b/src/bar.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/src/index.ts", - "../b/src/bar.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -182,6 +177,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 902 + "size": 948 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index e6e9bc63fd310..1fa905db8207b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function foo(): void; }, "./src/bar.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 755 + "size": 909 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/index.ts": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../b/lib/bar.d.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/lib/index.d.ts", - "../b/lib/bar.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 948 + "size": 994 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 319080edfd603..ea4d108d8025e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},"1045484683-export function bar() { }","4646078106-export function foo() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function foo(): void; }, "./src/bar.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 755 + "size": 909 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/index.ts": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../../node_modules/@issue/b/lib/bar.d.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../../node_modules/@issue/b/lib/index.d.ts", - "../../node_modules/@issue/b/lib/bar.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../node_modules/@issue/b/lib/bar.d.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 994 + "size": 1040 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 3e4cd0265c0cf..ca06367e52e09 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) -/user/username/projects/myproject/packages/a/src/index.ts (used version) +/user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -121,7 +121,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,7 +154,7 @@ export {}; }, "./src/index.ts": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -168,12 +168,7 @@ export {}; "../b/src/bar.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/src/index.ts", - "../b/src/bar.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -182,6 +177,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 916 + "size": 962 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index 4676094b37d82..b4fc0c61f64e5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) -/user/username/projects/myproject/packages/a/src/index.ts (used version) +/user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -121,7 +121,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,7 +154,7 @@ export {}; }, "./src/index.ts": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -168,12 +168,7 @@ export {}; "../b/src/bar.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/src/index.ts", - "../b/src/bar.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -182,6 +177,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 916 + "size": 962 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 35c1e9ff9790a..17f7653b71c29 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/index.ts (used version) /user/username/projects/myproject/packages/b/src/bar.ts (used version) -/user/username/projects/myproject/packages/a/src/index.ts (used version) +/user/username/projects/myproject/packages/a/src/index.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -121,7 +121,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,7 +154,7 @@ export {}; }, "./src/index.ts": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -168,12 +168,7 @@ export {}; "../b/src/bar.ts" ] }, - "exportedModulesMap": { - "./src/index.ts": [ - "../b/src/index.ts", - "../b/src/bar.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/index.ts", @@ -182,6 +177,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 902 + "size": 948 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index f6a4c55670921..fe04599afb4ae 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function bar(): void; }, "./src/foo.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function bar(): void; ] }, "version": "FakeTSVersion", - "size": 757 + "size": 911 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/test.ts": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../b/lib/bar/foo.d.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/lib/foo.d.ts", - "../b/lib/bar/foo.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 948 + "size": 994 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 59c7773876358..7ac28369d8853 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function bar(): void; }, "./src/foo.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function bar(): void; ] }, "version": "FakeTSVersion", - "size": 757 + "size": 911 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/test.ts": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../../node_modules/b/lib/bar/foo.d.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../../node_modules/b/lib/foo.d.ts", - "../../node_modules/b/lib/bar/foo.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../node_modules/b/lib/bar/foo.d.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 980 + "size": 1026 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index a6aa5ac0f6622..444de1c145a95 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) -/user/username/projects/myproject/packages/a/src/test.ts (used version) +/user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -123,7 +123,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,7 +156,7 @@ export {}; }, "./src/test.ts": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -170,12 +170,7 @@ export {}; "../b/src/bar/foo.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/src/foo.ts", - "../b/src/bar/foo.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -184,6 +179,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 916 + "size": 962 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 712297c5b5497..b07af8c25e319 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function bar(): void; }, "./src/foo.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function bar(): void; ] }, "version": "FakeTSVersion", - "size": 757 + "size": 911 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/test.ts": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../b/lib/bar/foo.d.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/lib/foo.d.ts", - "../b/lib/bar/foo.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 963 + "size": 1009 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index d3bb601e66067..ae9408fe9835d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,11 +78,11 @@ export declare function bar(): void; }, "./src/foo.ts": { "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "options": { @@ -99,7 +99,7 @@ export declare function bar(): void; ] }, "version": "FakeTSVersion", - "size": 757 + "size": 911 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +116,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,7 +149,7 @@ export {}; }, "./src/test.ts": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -163,12 +163,7 @@ export {}; "../../node_modules/@issue/b/lib/bar/foo.d.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../../node_modules/@issue/b/lib/foo.d.ts", - "../../node_modules/@issue/b/lib/bar/foo.d.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../node_modules/@issue/b/lib/bar/foo.d.ts", @@ -177,7 +172,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1009 + "size": 1055 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index fee6d4d90e60e..99a07c3d2a35e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) -/user/username/projects/myproject/packages/a/src/test.ts (used version) +/user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -123,7 +123,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,7 +156,7 @@ export {}; }, "./src/test.ts": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -170,12 +170,7 @@ export {}; "../b/src/bar/foo.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/src/foo.ts", - "../b/src/bar/foo.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -184,6 +179,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 931 + "size": 977 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index f4a1b0eb7a015..903e03e6061d2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) -/user/username/projects/myproject/packages/a/src/test.ts (used version) +/user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -123,7 +123,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,7 +156,7 @@ export {}; }, "./src/test.ts": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -170,12 +170,7 @@ export {}; "../b/src/bar/foo.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/src/foo.ts", - "../b/src/bar/foo.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -184,6 +179,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 931 + "size": 977 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index 8f46cda300e3a..5497b50617968 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -64,7 +64,7 @@ Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/packages/b/src/foo.ts (used version) /user/username/projects/myproject/packages/b/src/bar/foo.ts (used version) -/user/username/projects/myproject/packages/a/src/test.ts (used version) +/user/username/projects/myproject/packages/a/src/test.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/packages/a/tsconfig.json: @@ -123,7 +123,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }","14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n"],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,7 +156,7 @@ export {}; }, "./src/test.ts": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n" + "signature": "-3531856636-export {};\n" } }, "options": { @@ -170,12 +170,7 @@ export {}; "../b/src/bar/foo.ts" ] }, - "exportedModulesMap": { - "./src/test.ts": [ - "../b/src/foo.ts", - "../b/src/bar/foo.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "./src/test.ts", @@ -184,6 +179,6 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 916 + "size": 962 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 767fa1e008240..1e4d9c6628377 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -122,7 +122,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -139,7 +139,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; }, "../../core/utilities.ts": { "version": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n", - "signature": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "options": { @@ -163,7 +163,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; ] }, "version": "FakeTSVersion", - "size": 1160 + "size": 1319 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -220,7 +220,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -240,6 +240,9 @@ export declare function createDog(): Dog; [ "../../animals/animal.ts", "../../animals/dog.ts" + ], + [ + "../../animals/index.ts" ] ], "fileInfos": { @@ -250,11 +253,11 @@ export declare function createDog(): Dog; }, "../../animals/animal.ts": { "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", - "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + "signature": "-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", - "signature": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../core/utilities.d.ts": { "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", @@ -262,7 +265,7 @@ export declare function createDog(): Dog; }, "../../animals/dog.ts": { "version": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n", - "signature": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "options": { @@ -290,8 +293,7 @@ export declare function createDog(): Dog; }, "exportedModulesMap": { "../../animals/dog.ts": [ - "../../animals/index.ts", - "../core/utilities.d.ts" + "../../animals/index.ts" ], "../../animals/index.ts": [ "../../animals/animal.ts", @@ -307,7 +309,7 @@ export declare function createDog(): Dog; ] }, "version": "FakeTSVersion", - "size": 1911 + "size": 2423 } @@ -316,7 +318,7 @@ Output:: >> Screen clear [12:01:07 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -331,14 +333,12 @@ Program files:: /user/username/projects/demo/animals/dog.ts Semantic diagnostics in builder refreshed for:: -/user/username/projects/demo/animals/index.ts /user/username/projects/demo/core/utilities.ts /user/username/projects/demo/animals/dog.ts Shape signatures in builder refreshed for:: /user/username/projects/demo/core/utilities.ts (computed .d.ts) /user/username/projects/demo/animals/dog.ts (computed .d.ts) -/user/username/projects/demo/animals/index.ts (computed .d.ts) WatchedFiles:: /user/username/projects/demo/animals/tsconfig.json: @@ -376,12 +376,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/demo/lib/animals/index.js] file written with same contents -//// [/user/username/projects/demo/lib/animals/index.d.ts] file written with same contents //// [/user/username/projects/demo/lib/animals/dog.js] file written with same contents //// [/user/username/projects/demo/lib/animals/dog.d.ts] file written with same contents //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n",{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,7 +412,7 @@ exitCode:: ExitStatus.undefined }, "../../animals/animal.ts": { "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", - "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + "signature": "-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", @@ -470,6 +468,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 2536 + "size": 2695 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 26455e87f7649..f4c8657f89a6a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -129,10 +129,10 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) -/user/username/projects/demo/animals/animal.ts (used version) -/user/username/projects/demo/animals/index.ts (used version) +/user/username/projects/demo/animals/animal.ts (computed .d.ts during emit) +/user/username/projects/demo/animals/index.ts (computed .d.ts during emit) /user/username/projects/demo/core/utilities.ts (used version) -/user/username/projects/demo/animals/dog.ts (used version) +/user/username/projects/demo/animals/dog.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/demo/animals/tsconfig.json: @@ -224,7 +224,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -244,6 +244,9 @@ export declare function createDog(): Dog; [ "../../animals/animal.ts", "../../animals/dog.ts" + ], + [ + "../../animals/index.ts" ] ], "fileInfos": { @@ -254,11 +257,11 @@ export declare function createDog(): Dog; }, "../../animals/animal.ts": { "version": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n", - "signature": "-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n" + "signature": "-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "version": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n", - "signature": "-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { "version": "25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n", @@ -266,7 +269,7 @@ export declare function createDog(): Dog; }, "../../animals/dog.ts": { "version": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n", - "signature": "-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "options": { @@ -294,8 +297,7 @@ export declare function createDog(): Dog; }, "exportedModulesMap": { "../../animals/dog.ts": [ - "../../animals/index.ts", - "../../core/utilities.ts" + "../../animals/index.ts" ], "../../animals/index.ts": [ "../../animals/animal.ts", @@ -311,6 +313,6 @@ export declare function createDog(): Dog; ] }, "version": "FakeTSVersion", - "size": 2024 + "size": 2536 } diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index fc6493f8707e7..9c424cba570ff 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -163,7 +163,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,11 +181,11 @@ exitCode:: ExitStatus.undefined }, "./main.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -200,7 +200,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 701 + "size": 839 } //// [/user/username/projects/myproject/main.js] @@ -278,7 +278,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -300,7 +300,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -321,7 +321,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 821 + "size": 890 } @@ -367,7 +367,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -389,7 +389,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -404,7 +404,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 786 + "size": 855 } //// [/user/username/projects/myproject/main.js] @@ -470,7 +470,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -492,7 +492,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -507,7 +507,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 802 + "size": 871 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index e3d303320d697..0b67343295800 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -170,7 +170,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -188,11 +188,11 @@ exitCode:: ExitStatus.undefined }, "./main.ts": { "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -207,7 +207,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 701 + "size": 839 } //// [/user/username/projects/myproject/main.js] @@ -292,7 +292,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -314,7 +314,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -335,7 +335,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 821 + "size": 890 } @@ -388,7 +388,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -410,7 +410,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -425,7 +425,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 786 + "size": 855 } //// [/user/username/projects/myproject/main.js] @@ -498,7 +498,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -520,7 +520,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -535,7 +535,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 802 + "size": 871 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index 746f207f20c77..4ca9f5dcdf673 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -311,7 +311,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -333,7 +333,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -349,7 +349,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 791 + "size": 860 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index 4ac147998579d..d5fd4d074b4ec 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -325,7 +325,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,7 +347,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -363,7 +363,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 791 + "size": 860 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index d00e3ef9749e5..2124226bf4454 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -189,7 +189,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -211,7 +211,7 @@ exitCode:: ExitStatus.undefined }, "./other.ts": { "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;" + "signature": "-7152472870-export declare const y = 10;\n" } }, "options": { @@ -237,7 +237,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 832 + "size": 901 } //// [/user/username/projects/myproject/main.d.ts] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index 9ec37ab2c3928..4118a2f21c3e2 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -74,7 +74,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.d.ts (used version) -/user/username/projects/myproject/projects/project2/class2.ts (used version) +/user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/projects/project2/tsconfig.json: @@ -118,7 +118,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -141,7 +141,7 @@ declare class class2 { }, "./class2.ts": { "version": "777969115-class class2 {}", - "signature": "777969115-class class2 {}", + "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true } }, @@ -156,7 +156,7 @@ declare class class2 { ] }, "version": "FakeTSVersion", - "size": 760 + "size": 814 } diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index 6593e9d8cf2bf..d75dca263485b 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -74,7 +74,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/projects/project1/class1.ts (used version) -/user/username/projects/myproject/projects/project2/class2.ts (used version) +/user/username/projects/myproject/projects/project2/class2.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/projects/project2/tsconfig.json: @@ -118,7 +118,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -141,7 +141,7 @@ declare class class2 { }, "./class2.ts": { "version": "777969115-class class2 {}", - "signature": "777969115-class class2 {}", + "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true } }, @@ -156,7 +156,7 @@ declare class class2 { ] }, "version": "FakeTSVersion", - "size": 748 + "size": 802 } diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 9abf4fa0ace08..37fd4927ba263 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -47,7 +47,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/myproject/node_modules/file2/index.d.ts (used version) -/user/username/projects/myproject/src/file1.ts (used version) +/user/username/projects/myproject/src/file1.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/myproject/tsconfig.json: From 396e6c88ec940c219505426bcf00dd626f05815a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 14 Apr 2022 15:00:01 -0700 Subject: [PATCH 08/64] Make WriteFileCallback Api ready for future --- src/compiler/builder.ts | 10 +++++----- src/compiler/emitter.ts | 2 +- src/compiler/program.ts | 6 +++--- src/compiler/types.ts | 7 +++++-- src/compiler/utilities.ts | 6 +++--- tests/baselines/reference/api/tsserverlibrary.d.ts | 4 +++- tests/baselines/reference/api/typescript.d.ts | 4 +++- 7 files changed, 23 insertions(+), 16 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index c8b0eaa0c1d17..bfccd63a7ed14 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -1104,13 +1104,13 @@ namespace ts { } function getWriteFileUpdatingSignatureCallback(writeFile: WriteFileCallback | undefined): WriteFileCallback { - return (fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos) => { + return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { if (sourceFiles?.length === 1 && isDeclarationFileName(fileName)) { const file = sourceFiles[0]; const info = state.fileInfos.get(file.resolvedPath)!; const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; if (signature === file.version) { - const newSignature = (computeHash || generateDjb2Hash)(sourceMapUrlPos !== undefined ? data.substring(0, sourceMapUrlPos) : data); + const newSignature = (computeHash || generateDjb2Hash)(data?.sourceMapUrlPos !== undefined ? text.substring(0, data.sourceMapUrlPos) : text); if (newSignature !== file.version) { // Update it if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); @@ -1124,9 +1124,9 @@ namespace ts { } } } - if (writeFile) writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); - else if (host.writeFile) host.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); - else state.program!.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + if (writeFile) writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + else if (host.writeFile) host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + else state.program!.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); }; } diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 7d425b3b8e3fc..28f0d766f72ee 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -564,7 +564,7 @@ namespace ts { } // Write the output file - writeFile(host, emitterDiagnostics, jsFilePath, writer.getText(), !!compilerOptions.emitBOM, sourceFiles, sourceMapUrlPos); + writeFile(host, emitterDiagnostics, jsFilePath, writer.getText(), !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos }); // Reset state writer.clear(); diff --git a/src/compiler/program.ts b/src/compiler/program.ts index c8c4cd0aeb085..c7f886ea3119f 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1916,13 +1916,13 @@ namespace ts { function writeFile( fileName: string, - data: string, + text: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], - sourceMapUrlPos?: number, + data?: WriteFileCallbackData ) { - host.writeFile(fileName, data, writeByteOrderMark, onError, sourceFiles, sourceMapUrlPos); + host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); } function emitBuildInfo(writeFileCallback?: WriteFileCallback): EmitResult { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 01a52be9845ab..1a221cc3932d2 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -3856,13 +3856,16 @@ namespace ts { */ export type ResolvedConfigFileName = string & { _isResolvedConfigFileName: never }; + export interface WriteFileCallbackData { + /*@internal*/ sourceMapUrlPos?: number; + } export type WriteFileCallback = ( fileName: string, - data: string, + text: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], - sourceMapUrlPos?: number, + data?: WriteFileCallbackData, ) => void; export class OperationCanceledException { } diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index be724bc9a18b6..1093d9ae38484 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -4459,10 +4459,10 @@ namespace ts { return combinePaths(newDirPath, sourceFilePath); } - export function writeFile(host: { writeFile: WriteFileCallback; }, diagnostics: DiagnosticCollection, fileName: string, data: string, writeByteOrderMark: boolean, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) { - host.writeFile(fileName, data, writeByteOrderMark, hostErrorMessage => { + export function writeFile(host: { writeFile: WriteFileCallback; }, diagnostics: DiagnosticCollection, fileName: string, text: string, writeByteOrderMark: boolean, sourceFiles?: readonly SourceFile[], data?: WriteFileCallbackData) { + host.writeFile(fileName, text, writeByteOrderMark, hostErrorMessage => { diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage)); - }, sourceFiles, sourceMapUrlPos); + }, sourceFiles, data); } function ensureDirectoriesExist( diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index 64bb6b2363e75..0fd5bf9e0a933 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -2172,7 +2172,9 @@ declare namespace ts { export type ResolvedConfigFileName = string & { _isResolvedConfigFileName: never; }; - export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) => void; + export interface WriteFileCallbackData { + } + export type WriteFileCallback = (fileName: string, text: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], data?: WriteFileCallbackData) => void; export class OperationCanceledException { } export interface CancellationToken { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 40be185d9f3f7..beb29fd613a93 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2172,7 +2172,9 @@ declare namespace ts { export type ResolvedConfigFileName = string & { _isResolvedConfigFileName: never; }; - export type WriteFileCallback = (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], sourceMapUrlPos?: number) => void; + export interface WriteFileCallbackData { + } + export type WriteFileCallback = (fileName: string, text: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: readonly SourceFile[], data?: WriteFileCallbackData) => void; export class OperationCanceledException { } export interface CancellationToken { From 7084221faa09baef34ed83190a94c46a1c896935 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 15 Apr 2022 12:45:19 -0700 Subject: [PATCH 09/64] Assert that there is only single source file when emitting d.ts file --- src/compiler/builder.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index bfccd63a7ed14..9d8e78c469d13 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -1105,7 +1105,8 @@ namespace ts { function getWriteFileUpdatingSignatureCallback(writeFile: WriteFileCallback | undefined): WriteFileCallback { return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { - if (sourceFiles?.length === 1 && isDeclarationFileName(fileName)) { + if (isDeclarationFileName(fileName)) { + Debug.assert(sourceFiles?.length === 1); const file = sourceFiles[0]; const info = state.fileInfos.get(file.resolvedPath)!; const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; From 5f02cf361a52dba7506ae463b46744f25808f345 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 5 Apr 2022 15:14:50 -0700 Subject: [PATCH 10/64] Add test --- src/testRunner/unittests/tsc/incremental.ts | 35 +++ ...gh-export-in-another-file-discrepancies.js | 107 +++++++ ...e-through-indirect-import-discrepancies.js | 121 ++++++++ ...in-another-file-through-indirect-import.js | 263 ++++++++++++++++++ ...s-global-through-export-in-another-file.js | 205 ++++++++++++++ 5 files changed, 731 insertions(+) create mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js create mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index b4227d442b19f..2c95486363a5d 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -467,5 +467,40 @@ declare global { fs.writeFileSync("/lib/lib.esnext.d.ts", libContent); } }); + + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "change to type that gets used as global through export in another file", + commandLineArgs: ["-p", `src/project`], + fs: () => loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ compilerOptions: { composite: true }, }), + "/src/project/class1.ts": `const a: MagicNumber = 1; +console.log(a);`, + "/src/project/constants.ts": "export default 1;", + "/src/project/types.d.ts": `type MagicNumber = typeof import('./constants').default`, + }), + edits: [{ + subScenario: "Modify imports used in global file", + modifyFs: fs => fs.writeFileSync("/src/project/constants.ts", "export default 2;"), + }], + }); + + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "change to type that gets used as global through export in another file through indirect import", + commandLineArgs: ["-p", `src/project`], + fs: () => loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ compilerOptions: { composite: true }, }), + "/src/project/class1.ts": `const a: MagicNumber = 1; +console.log(a);`, + "/src/project/constants.ts": "export default 1;", + "/src/project/reexport.ts": `export { default as ConstantNumber } from "./constants"`, + "/src/project/types.d.ts": `type MagicNumber = typeof import('./reexport').ConstantNumber`, + }), + edits: [{ + subScenario: "Modify imports used in global file", + modifyFs: fs => fs.writeFileSync("/src/project/constants.ts", "export default 2;"), + }], + }); }); } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js new file mode 100644 index 0000000000000..84efcfa1f351e --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js @@ -0,0 +1,107 @@ +0:: Modify imports used in global file +*** Needs explaination +File: /src/project/class1.d.ts +CleanBuild: +declare const a = 2; + +IncrementalBuild: +declare const a = 1; + +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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;" + }, + "./types.d.ts": { + "version": "-2080821236-type MagicNumber = typeof import('./constants').default", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + [ + "./class1.ts", + [ + { + "file": "./class1.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '1' is not assignable to type '2'." + } + ] + ], + "./constants.ts", + "./types.d.ts" + ] + }, + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;" + }, + "./types.d.ts": { + "version": "-2080821236-type MagicNumber = typeof import('./constants').default", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion" +} +Incremental signature is neither dts signature nor file version for File:: ./class1.ts +Incremental:: { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true +} +Clean:: { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973037314-declare const a = 2;\r\n", + "affectsGlobalScope": true +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js new file mode 100644 index 0000000000000..a47c98e19d3ed --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js @@ -0,0 +1,121 @@ +0:: Modify imports used in global file +*** Needs explaination +File: /src/project/class1.d.ts +CleanBuild: +declare const a = 2; + +IncrementalBuild: +declare const a = 1; + +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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;" + }, + "./reexport.ts": { + "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"" + }, + "./types.d.ts": { + "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + [ + "./class1.ts", + [ + { + "file": "./class1.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '1' is not assignable to type '2'." + } + ] + ], + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ] + }, + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;" + }, + "./reexport.ts": { + "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"" + }, + "./types.d.ts": { + "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion" +} +Incremental signature is neither dts signature nor file version for File:: ./class1.ts +Incremental:: { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true +} +Clean:: { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973037314-declare const a = 2;\r\n", + "affectsGlobalScope": true +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js new file mode 100644 index 0000000000000..9599d65febe9e --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -0,0 +1,263 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/project/class1.ts] +const a: MagicNumber = 1; +console.log(a); + +//// [/src/project/constants.ts] +export default 1; + +//// [/src/project/reexport.ts] +export { default as ConstantNumber } from "./constants" + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true}} + +//// [/src/project/types.d.ts] +type MagicNumber = typeof import('./reexport').ConstantNumber + + + +Output:: +/lib/tsc -p src/project +exitCode:: ExitStatus.Success + + +//// [/src/project/class1.d.ts] +declare const a = 1; + + +//// [/src/project/class1.js] +var a = 1; +console.log(a); + + +//// [/src/project/constants.d.ts] +declare const _default: 1; +export default _default; + + +//// [/src/project/constants.js] +"use strict"; +exports.__esModule = true; +exports["default"] = 1; + + +//// [/src/project/reexport.d.ts] +export { default as ConstantNumber } from "./constants"; + + +//// [/src/project/reexport.js] +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +exports.__esModule = true; +exports.ConstantNumber = void 0; +var constants_1 = require("./constants"); +__createBinding(exports, constants_1, "default", "ConstantNumber"); + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ], + "fileNamesList": [ + [ + "./constants.ts" + ], + [ + "./reexport.ts" + ] + ], + "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; };", + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799048-export default 1;", + "signature": "-5298367302-declare const _default: 1;\r\nexport default _default;\r\n" + }, + "./reexport.ts": { + "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", + "signature": "-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n" + }, + "./types.d.ts": { + "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "exportedModulesMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1348 +} + + + +Change:: Modify imports used in global file +Input:: +//// [/src/project/constants.ts] +export default 2; + + + +Output:: +/lib/tsc -p src/project +exitCode:: ExitStatus.Success + + +//// [/src/project/constants.d.ts] +declare const _default: 2; +export default _default; + + +//// [/src/project/constants.js] +"use strict"; +exports.__esModule = true; +exports["default"] = 2; + + +//// [/src/project/reexport.d.ts] file written with same contents +//// [/src/project/reexport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ], + "fileNamesList": [ + [ + "./constants.ts" + ], + [ + "./reexport.ts" + ] + ], + "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; };", + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;", + "signature": "1573564507-declare const _default: 2;\r\nexport default _default;\r\n" + }, + "./reexport.ts": { + "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", + "signature": "-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n" + }, + "./types.d.ts": { + "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "exportedModulesMap": { + "./reexport.ts": [ + "./constants.ts" + ], + "./types.d.ts": [ + "./reexport.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./reexport.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1347 +} + diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js new file mode 100644 index 0000000000000..bbc1578a433f8 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -0,0 +1,205 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/project/class1.ts] +const a: MagicNumber = 1; +console.log(a); + +//// [/src/project/constants.ts] +export default 1; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true}} + +//// [/src/project/types.d.ts] +type MagicNumber = typeof import('./constants').default + + + +Output:: +/lib/tsc -p src/project +exitCode:: ExitStatus.Success + + +//// [/src/project/class1.d.ts] +declare const a = 1; + + +//// [/src/project/class1.js] +var a = 1; +console.log(a); + + +//// [/src/project/constants.d.ts] +declare const _default: 1; +export default _default; + + +//// [/src/project/constants.js] +"use strict"; +exports.__esModule = true; +exports["default"] = 1; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./types.d.ts" + ], + "fileNamesList": [ + [ + "./constants.ts" + ] + ], + "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; };", + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799048-export default 1;", + "signature": "-5298367302-declare const _default: 1;\r\nexport default _default;\r\n" + }, + "./types.d.ts": { + "version": "-2080821236-type MagicNumber = typeof import('./constants').default", + "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "exportedModulesMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1136 +} + + + +Change:: Modify imports used in global file +Input:: +//// [/src/project/constants.ts] +export default 2; + + + +Output:: +/lib/tsc -p src/project +exitCode:: ExitStatus.Success + + +//// [/src/project/constants.d.ts] +declare const _default: 2; +export default _default; + + +//// [/src/project/constants.js] +"use strict"; +exports.__esModule = true; +exports["default"] = 2; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./types.d.ts" + ], + "fileNamesList": [ + [ + "./constants.ts" + ] + ], + "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; };", + "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 + }, + "./class1.ts": { + "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", + "signature": "-4973073251-declare const a = 1;\r\n", + "affectsGlobalScope": true + }, + "./constants.ts": { + "version": "-2659799015-export default 2;", + "signature": "1573564507-declare const _default: 2;\r\nexport default _default;\r\n" + }, + "./types.d.ts": { + "version": "-2080821236-type MagicNumber = typeof import('./constants').default", + "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "exportedModulesMap": { + "./types.d.ts": [ + "./constants.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./class1.ts", + "./constants.ts", + "./types.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1135 +} + From c984298345c35723df9f13fbed41586209a00b09 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 6 Apr 2022 13:27:55 -0700 Subject: [PATCH 11/64] Renames --- src/compiler/builder.ts | 150 +++++++++++++++++++++++++++++----------- 1 file changed, 108 insertions(+), 42 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 9d8e78c469d13..94c335ba49939 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -436,25 +436,35 @@ namespace ts { return undefined; } + function removeDiagnosticsOfLibraryFiles(state: BuilderProgramState) { + if (!state.cleanedDiagnosticsOfLibFiles) { + state.cleanedDiagnosticsOfLibFiles = true; + const program = Debug.checkDefined(state.program); + const options = program.getCompilerOptions(); + forEach(program.getSourceFiles(), f => + program.isSourceFileDefaultLibrary(f) && + !skipTypeChecking(f, options, program) && + removeSemanticDiagnosticsOf(state, f.resolvedPath) + ); + } + } + /** * Handles semantic diagnostics and dts emit for affectedFile and files, that are referencing modules that export entities from affected file * This is because even though js emit doesnt change, dts emit / type used can change resulting in need for dts emit and js change */ - function handleDtsMayChangeOfAffectedFile(state: BuilderProgramState, affectedFile: SourceFile, cancellationToken: CancellationToken | undefined, computeHash: BuilderState.ComputeHash, host: BuilderProgramHost) { + function handleDtsMayChangeOfAffectedFile( + state: BuilderProgramState, + affectedFile: SourceFile, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost, + ) { removeSemanticDiagnosticsOf(state, affectedFile.resolvedPath); // If affected files is everything except default library, then nothing more to do if (state.allFilesExcludingDefaultLibraryFile === state.affectedFiles) { - if (!state.cleanedDiagnosticsOfLibFiles) { - state.cleanedDiagnosticsOfLibFiles = true; - const program = Debug.checkDefined(state.program); - const options = program.getCompilerOptions(); - forEach(program.getSourceFiles(), f => - program.isSourceFileDefaultLibrary(f) && - !skipTypeChecking(f, options, program) && - removeSemanticDiagnosticsOf(state, f.resolvedPath) - ); - } + removeDiagnosticsOfLibraryFiles(state); // When a change affects the global scope, all files are considered to be affected without updating their signature // That means when affected file is handled, its signature can be out of date // To avoid this, ensure that we update the signature for any affected file in this scenario. @@ -469,20 +479,22 @@ namespace ts { ); return; } - else { - Debug.assert(state.hasCalledUpdateShapeSignature.has(affectedFile.resolvedPath) || state.currentAffectedFilesSignatures?.has(affectedFile.resolvedPath), `Signature not updated for affected file: ${affectedFile.fileName}`); - } - - if (!state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) { - forEachReferencingModulesOfExportOfAffectedFile(state, affectedFile, (state, path) => handleDtsMayChangeOf(state, path, cancellationToken, computeHash, host)); - } + Debug.assert(state.hasCalledUpdateShapeSignature.has(affectedFile.resolvedPath) || state.currentAffectedFilesSignatures?.has(affectedFile.resolvedPath), `Signature not updated for affected file: ${affectedFile.fileName}`); + if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) return; + handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, computeHash, host); } /** * Handle the dts may change, so they need to be added to pending emit if dts emit is enabled, * Also we need to make sure signature is updated for these files */ - function handleDtsMayChangeOf(state: BuilderProgramState, path: Path, cancellationToken: CancellationToken | undefined, computeHash: BuilderState.ComputeHash, host: BuilderProgramHost): void { + function handleDtsMayChangeOf( + state: BuilderProgramState, + path: Path, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost + ): void { removeSemanticDiagnosticsOf(state, path); if (!state.changedFilesSet.has(path)) { @@ -532,15 +544,18 @@ namespace ts { } /** - * Iterate on referencing modules that export entities from affected file + * Iterate on referencing modules that export entities from affected file and delete diagnostics and add pending emit */ - function forEachReferencingModulesOfExportOfAffectedFile(state: BuilderProgramState, affectedFile: SourceFile, fn: (state: BuilderProgramState, filePath: Path) => void) { + function handleDtsMayChangeOfReferencingExportOfAffectedFile( + state: BuilderProgramState, + affectedFile: SourceFile, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost + ) { // If there was change in signature (dts output) for the changed file, // then only we need to handle pending file emit - if (!state.exportedModulesMap || !state.changedFilesSet.has(affectedFile.resolvedPath)) { - return; - } - + if (!state.exportedModulesMap || !state.changedFilesSet.has(affectedFile.resolvedPath)) return; if (!isChangedSignature(state, affectedFile.resolvedPath)) return; // Since isolated modules dont change js files, files affected by change in signature is itself @@ -553,7 +568,7 @@ namespace ts { const currentPath = queue.pop()!; if (!seenFileNamesMap.has(currentPath)) { seenFileNamesMap.set(currentPath, true); - fn(state, currentPath); + handleDtsMayChangeOf(state, currentPath, cancellationToken, computeHash, host); if (isChangedSignature(state, currentPath)) { const currentSourceFile = Debug.checkDefined(state.program).getSourceFileByPath(currentPath)!; queue.push(...BuilderState.getReferencedByPaths(state, currentSourceFile.resolvedPath)); @@ -563,12 +578,18 @@ namespace ts { } Debug.assert(!!state.currentAffectedFilesExportedModulesMap); - const seenFileAndExportsOfFile = new Set(); // Go through exported modules from cache first // If exported modules has path, all files referencing file exported from are affected state.currentAffectedFilesExportedModulesMap.getKeys(affectedFile.resolvedPath)?.forEach(exportedFromPath => - forEachFilesReferencingPath(state, exportedFromPath, seenFileAndExportsOfFile, fn) + handleDtsMayChangeOfFilesReferencingPath( + state, + exportedFromPath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host + ) ); // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected @@ -576,34 +597,66 @@ namespace ts { // If the cache had an updated value, skip !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && - forEachFilesReferencingPath(state, exportedFromPath, seenFileAndExportsOfFile, fn) + handleDtsMayChangeOfFilesReferencingPath( + state, + exportedFromPath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host + ) ); } /** - * Iterate on files referencing referencedPath + * Iterate on files referencing referencedPath and handle the dts emit and semantic diagnostics of the file */ - function forEachFilesReferencingPath(state: BuilderProgramState, referencedPath: Path, seenFileAndExportsOfFile: Set, fn: (state: BuilderProgramState, filePath: Path) => void): void { + function handleDtsMayChangeOfFilesReferencingPath( + state: BuilderProgramState, + referencedPath: Path, + seenFileAndExportsOfFile: Set, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost, + ): void { state.referencedMap!.getKeys(referencedPath)?.forEach(filePath => - forEachFileAndExportsOfFile(state, filePath, seenFileAndExportsOfFile, fn) + handleDtsMayChangeOfFileAndExportsOfFile( + state, + filePath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host, + ) ); } /** * fn on file and iterate on anything that exports this file */ - function forEachFileAndExportsOfFile(state: BuilderProgramState, filePath: Path, seenFileAndExportsOfFile: Set, fn: (state: BuilderProgramState, filePath: Path) => void): void { - if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) { - return; - } - - fn(state, filePath); - + function handleDtsMayChangeOfFileAndExportsOfFile( + state: BuilderProgramState, + filePath: Path, + seenFileAndExportsOfFile: Set, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost, + ): void { + if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) return; + + handleDtsMayChangeOf(state, filePath, cancellationToken, computeHash, host); Debug.assert(!!state.currentAffectedFilesExportedModulesMap); // Go through exported modules from cache first // If exported modules has path, all files referencing file exported from are affected state.currentAffectedFilesExportedModulesMap.getKeys(filePath)?.forEach(exportedFromPath => - forEachFileAndExportsOfFile(state, exportedFromPath, seenFileAndExportsOfFile, fn) + handleDtsMayChangeOfFileAndExportsOfFile( + state, + exportedFromPath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host, + ) ); // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected @@ -611,13 +664,26 @@ namespace ts { // If the cache had an updated value, skip !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && - forEachFileAndExportsOfFile(state, exportedFromPath, seenFileAndExportsOfFile, fn) + handleDtsMayChangeOfFileAndExportsOfFile( + state, + exportedFromPath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host, + ) ); // Remove diagnostics of files that import this file (without going to exports of referencing files) state.referencedMap!.getKeys(filePath)?.forEach(referencingFilePath => !seenFileAndExportsOfFile.has(referencingFilePath) && // Not already removed diagnostic file - fn(state, referencingFilePath) // Dont add to seen since this is not yet done with the export removal + handleDtsMayChangeOf( // Dont add to seen since this is not yet done with the export removal + state, + referencingFilePath, + cancellationToken, + computeHash, + host, + ) ); } From e4bf58a7ab779851f64718b300643b30e0a50b7f Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 6 Apr 2022 14:55:37 -0700 Subject: [PATCH 12/64] More refactoring --- src/compiler/builder.ts | 90 ++++++++++++----------------------------- 1 file changed, 25 insertions(+), 65 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 94c335ba49939..61e802f9ed762 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -543,6 +543,18 @@ namespace ts { return newSignature !== oldSignature; } + function forEachKeyOfExportedModulesMap(state: BuilderProgramState, filePath: Path, fn: (exportedFromPath: Path) => void) { + // Go through exported modules from cache first + state.currentAffectedFilesExportedModulesMap!.getKeys(filePath)?.forEach(fn); + // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected + state.exportedModulesMap!.getKeys(filePath)?.forEach(exportedFromPath => + // If the cache had an updated value, skip + !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && + !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && + fn(exportedFromPath) + ); + } + /** * Iterate on referencing modules that export entities from affected file and delete diagnostics and add pending emit */ @@ -581,58 +593,22 @@ namespace ts { const seenFileAndExportsOfFile = new Set(); // Go through exported modules from cache first // If exported modules has path, all files referencing file exported from are affected - state.currentAffectedFilesExportedModulesMap.getKeys(affectedFile.resolvedPath)?.forEach(exportedFromPath => - handleDtsMayChangeOfFilesReferencingPath( - state, - exportedFromPath, - seenFileAndExportsOfFile, - cancellationToken, - computeHash, - host - ) - ); - - // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected - state.exportedModulesMap.getKeys(affectedFile.resolvedPath)?.forEach(exportedFromPath => - // If the cache had an updated value, skip - !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && - !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && - handleDtsMayChangeOfFilesReferencingPath( - state, - exportedFromPath, - seenFileAndExportsOfFile, - cancellationToken, - computeHash, - host - ) - ); - } - - /** - * Iterate on files referencing referencedPath and handle the dts emit and semantic diagnostics of the file - */ - function handleDtsMayChangeOfFilesReferencingPath( - state: BuilderProgramState, - referencedPath: Path, - seenFileAndExportsOfFile: Set, - cancellationToken: CancellationToken | undefined, - computeHash: BuilderState.ComputeHash, - host: BuilderProgramHost, - ): void { - state.referencedMap!.getKeys(referencedPath)?.forEach(filePath => - handleDtsMayChangeOfFileAndExportsOfFile( - state, - filePath, - seenFileAndExportsOfFile, - cancellationToken, - computeHash, - host, + forEachKeyOfExportedModulesMap(state, affectedFile.resolvedPath, exportedFromPath => + state.referencedMap!.getKeys(exportedFromPath)?.forEach(filePath => + handleDtsMayChangeOfFileAndExportsOfFile( + state, + filePath, + seenFileAndExportsOfFile, + cancellationToken, + computeHash, + host, + ) ) ); } /** - * fn on file and iterate on anything that exports this file + * handle dts and semantic diagnostics on file and iterate on anything that exports this file */ function handleDtsMayChangeOfFileAndExportsOfFile( state: BuilderProgramState, @@ -646,24 +622,9 @@ namespace ts { handleDtsMayChangeOf(state, filePath, cancellationToken, computeHash, host); Debug.assert(!!state.currentAffectedFilesExportedModulesMap); - // Go through exported modules from cache first - // If exported modules has path, all files referencing file exported from are affected - state.currentAffectedFilesExportedModulesMap.getKeys(filePath)?.forEach(exportedFromPath => - handleDtsMayChangeOfFileAndExportsOfFile( - state, - exportedFromPath, - seenFileAndExportsOfFile, - cancellationToken, - computeHash, - host, - ) - ); - // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected - state.exportedModulesMap!.getKeys(filePath)?.forEach(exportedFromPath => - // If the cache had an updated value, skip - !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && - !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && + // If exported modules has path, all files referencing file exported from are affected + forEachKeyOfExportedModulesMap(state, filePath, exportedFromPath => handleDtsMayChangeOfFileAndExportsOfFile( state, exportedFromPath, @@ -687,7 +648,6 @@ namespace ts { ); } - /** * This is called after completing operation on the next affected file. * The operations here are postponed to ensure that cancellation during the iteration is handled correctly From 87a7112e878b0a926fd33abbd94343c0566cd8b1 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 6 Apr 2022 15:18:51 -0700 Subject: [PATCH 13/64] If we are updating dts of any of the file and it affects global scope, everything needs update in signature and dts emit Fixes #42769 --- src/compiler/builder.ts | 58 +++++++-- ...gh-export-in-another-file-discrepancies.js | 107 ---------------- ...e-through-indirect-import-discrepancies.js | 121 ------------------ ...in-another-file-through-indirect-import.js | 34 ++++- ...s-global-through-export-in-another-file.js | 34 ++++- 5 files changed, 105 insertions(+), 249 deletions(-) delete mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js delete mode 100644 tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 61e802f9ed762..0485f10cbf071 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -543,18 +543,48 @@ namespace ts { return newSignature !== oldSignature; } - function forEachKeyOfExportedModulesMap(state: BuilderProgramState, filePath: Path, fn: (exportedFromPath: Path) => void) { + function forEachKeyOfExportedModulesMap( + state: BuilderProgramState, + filePath: Path, + fn: (exportedFromPath: Path) => T | undefined, + ): T | undefined { // Go through exported modules from cache first - state.currentAffectedFilesExportedModulesMap!.getKeys(filePath)?.forEach(fn); + let keys = state.currentAffectedFilesExportedModulesMap!.getKeys(filePath); + const result = keys && forEachKey(keys, fn); + if (result) return result; + // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected - state.exportedModulesMap!.getKeys(filePath)?.forEach(exportedFromPath => + keys = state.exportedModulesMap!.getKeys(filePath); + return keys && forEachKey(keys, exportedFromPath => // If the cache had an updated value, skip !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && - !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) && - fn(exportedFromPath) + !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) ? + fn(exportedFromPath) : + undefined ); } + function handleDtsMayChangeOfGlobalScope( + state: BuilderProgramState, + filePath: Path, + cancellationToken: CancellationToken | undefined, + computeHash: BuilderState.ComputeHash, + host: BuilderProgramHost, + ): boolean { + if (!state.fileInfos.get(filePath)?.affectsGlobalScope) return false; + // Every file needs to be handled + BuilderState.getAllFilesExcludingDefaultLibraryFile(state, state.program!, /*firstSourceFile*/ undefined) + .forEach(file => handleDtsMayChangeOf( + state, + file.resolvedPath, + cancellationToken, + computeHash, + host, + )); + removeDiagnosticsOfLibraryFiles(state); + return true; + } + /** * Iterate on referencing modules that export entities from affected file and delete diagnostics and add pending emit */ @@ -580,6 +610,7 @@ namespace ts { const currentPath = queue.pop()!; if (!seenFileNamesMap.has(currentPath)) { seenFileNamesMap.set(currentPath, true); + if (handleDtsMayChangeOfGlobalScope(state, currentPath, cancellationToken, computeHash, host)) return; handleDtsMayChangeOf(state, currentPath, cancellationToken, computeHash, host); if (isChangedSignature(state, currentPath)) { const currentSourceFile = Debug.checkDefined(state.program).getSourceFileByPath(currentPath)!; @@ -593,8 +624,10 @@ namespace ts { const seenFileAndExportsOfFile = new Set(); // Go through exported modules from cache first // If exported modules has path, all files referencing file exported from are affected - forEachKeyOfExportedModulesMap(state, affectedFile.resolvedPath, exportedFromPath => - state.referencedMap!.getKeys(exportedFromPath)?.forEach(filePath => + forEachKeyOfExportedModulesMap(state, affectedFile.resolvedPath, exportedFromPath => { + if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, cancellationToken, computeHash, host)) return true; + const references = state.referencedMap!.getKeys(exportedFromPath); + return references && forEachKey(references, filePath => handleDtsMayChangeOfFileAndExportsOfFile( state, filePath, @@ -603,12 +636,13 @@ namespace ts { computeHash, host, ) - ) - ); + ); + }); } /** * handle dts and semantic diagnostics on file and iterate on anything that exports this file + * return true when all work is done and we can exit handling dts emit and semantic diagnostics */ function handleDtsMayChangeOfFileAndExportsOfFile( state: BuilderProgramState, @@ -617,9 +651,10 @@ namespace ts { cancellationToken: CancellationToken | undefined, computeHash: BuilderState.ComputeHash, host: BuilderProgramHost, - ): void { - if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) return; + ): boolean | undefined { + if (!tryAddToSet(seenFileAndExportsOfFile, filePath)) return undefined; + if (handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, computeHash, host)) return true; handleDtsMayChangeOf(state, filePath, cancellationToken, computeHash, host); Debug.assert(!!state.currentAffectedFilesExportedModulesMap); @@ -646,6 +681,7 @@ namespace ts { host, ) ); + return undefined; } /** diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js deleted file mode 100644 index 84efcfa1f351e..0000000000000 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-discrepancies.js +++ /dev/null @@ -1,107 +0,0 @@ -0:: Modify imports used in global file -*** Needs explaination -File: /src/project/class1.d.ts -CleanBuild: -declare const a = 2; - -IncrementalBuild: -declare const a = 1; - -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 - }, - "./class1.ts": { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "affectsGlobalScope": true - }, - "./constants.ts": { - "version": "-2659799015-export default 2;" - }, - "./types.d.ts": { - "version": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./types.d.ts": [ - "./constants.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - [ - "./class1.ts", - [ - { - "file": "./class1.ts", - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type '1' is not assignable to type '2'." - } - ] - ], - "./constants.ts", - "./types.d.ts" - ] - }, - "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 - }, - "./class1.ts": { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "affectsGlobalScope": true - }, - "./constants.ts": { - "version": "-2659799015-export default 2;" - }, - "./types.d.ts": { - "version": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./types.d.ts": [ - "./constants.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./class1.ts", - "./constants.ts", - "./types.d.ts" - ] - }, - "version": "FakeTSVersion" -} -Incremental signature is neither dts signature nor file version for File:: ./class1.ts -Incremental:: { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973073251-declare const a = 1;\r\n", - "affectsGlobalScope": true -} -Clean:: { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973037314-declare const a = 2;\r\n", - "affectsGlobalScope": true -} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js deleted file mode 100644 index a47c98e19d3ed..0000000000000 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import-discrepancies.js +++ /dev/null @@ -1,121 +0,0 @@ -0:: Modify imports used in global file -*** Needs explaination -File: /src/project/class1.d.ts -CleanBuild: -declare const a = 2; - -IncrementalBuild: -declare const a = 1; - -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 - }, - "./class1.ts": { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "affectsGlobalScope": true - }, - "./constants.ts": { - "version": "-2659799015-export default 2;" - }, - "./reexport.ts": { - "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"" - }, - "./types.d.ts": { - "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./reexport.ts": [ - "./constants.ts" - ], - "./types.d.ts": [ - "./reexport.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - [ - "./class1.ts", - [ - { - "file": "./class1.ts", - "start": 6, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type '1' is not assignable to type '2'." - } - ] - ], - "./constants.ts", - "./reexport.ts", - "./types.d.ts" - ] - }, - "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 - }, - "./class1.ts": { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "affectsGlobalScope": true - }, - "./constants.ts": { - "version": "-2659799015-export default 2;" - }, - "./reexport.ts": { - "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"" - }, - "./types.d.ts": { - "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./reexport.ts": [ - "./constants.ts" - ], - "./types.d.ts": [ - "./reexport.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./class1.ts", - "./constants.ts", - "./reexport.ts", - "./types.d.ts" - ] - }, - "version": "FakeTSVersion" -} -Incremental signature is neither dts signature nor file version for File:: ./class1.ts -Incremental:: { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973073251-declare const a = 1;\r\n", - "affectsGlobalScope": true -} -Clean:: { - "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973037314-declare const a = 2;\r\n", - "affectsGlobalScope": true -} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index 9599d65febe9e..4a35b33af3c8d 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -168,9 +168,21 @@ export default 2; Output:: /lib/tsc -p src/project -exitCode:: ExitStatus.Success +src/project/class1.ts:1:7 - error TS2322: Type '1' is not assignable to type '2'. + +1 const a: MagicNumber = 1; +   ~ + + +Found 1 error in src/project/class1.ts:1 + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +//// [/src/project/class1.d.ts] +declare const a = 2; + + //// [/src/project/constants.d.ts] declare const _default: 2; export default _default; @@ -185,7 +197,7 @@ exports["default"] = 2; //// [/src/project/reexport.d.ts] file written with same contents //// [/src/project/reexport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4,5]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -213,7 +225,7 @@ exports["default"] = 2; }, "./class1.ts": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973073251-declare const a = 1;\r\n", + "signature": "-4973037314-declare const a = 2;\r\n", "affectsGlobalScope": true }, "./constants.ts": { @@ -251,13 +263,25 @@ exports["default"] = 2; }, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", - "./class1.ts", + [ + "./class1.ts", + [ + { + "file": "./class1.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '1' is not assignable to type '2'." + } + ] + ], "./constants.ts", "./reexport.ts", "./types.d.ts" ] }, "version": "FakeTSVersion", - "size": 1347 + "size": 1476 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index bbc1578a433f8..7a1310b88a4a8 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -127,9 +127,21 @@ export default 2; Output:: /lib/tsc -p src/project -exitCode:: ExitStatus.Success +src/project/class1.ts:1:7 - error TS2322: Type '1' is not assignable to type '2'. + +1 const a: MagicNumber = 1; +   ~ + + +Found 1 error in src/project/class1.ts:1 + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +//// [/src/project/class1.d.ts] +declare const a = 2; + + //// [/src/project/constants.d.ts] declare const _default: 2; export default _default; @@ -142,7 +154,7 @@ exports["default"] = 2; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -166,7 +178,7 @@ exports["default"] = 2; }, "./class1.ts": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", - "signature": "-4973073251-declare const a = 1;\r\n", + "signature": "-4973037314-declare const a = 2;\r\n", "affectsGlobalScope": true }, "./constants.ts": { @@ -194,12 +206,24 @@ exports["default"] = 2; }, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", - "./class1.ts", + [ + "./class1.ts", + [ + { + "file": "./class1.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '1' is not assignable to type '2'." + } + ] + ], "./constants.ts", "./types.d.ts" ] }, "version": "FakeTSVersion", - "size": 1135 + "size": 1264 } From 16cef4a0e79126e3cb5c8be9ed16b550db340e9b Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 16 Mar 2022 13:05:25 -0700 Subject: [PATCH 14/64] Stacktrace optimization for getModified time in anticipation of using it more than fileExists wherever possible --- src/compiler/sys.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 6cdcc6a26b9e4..e50731988bd22 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -1859,12 +1859,19 @@ namespace ts { } function getModifiedTime(path: string) { + // Since the error thrown by fs.statSync isn't used, we can avoid collecting a stack trace to improve + // the CPU time performance. + const originalStackTraceLimit = Error.stackTraceLimit; + Error.stackTraceLimit = 0; try { return statSync(path)?.mtime; } catch (e) { return undefined; } + finally { + Error.stackTraceLimit = originalStackTraceLimit; + } } function setModifiedTime(path: string, time: Date) { From 7e65cd3315ccf387f6d7e7c40263e85bcc3c961c Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 5 Apr 2022 10:55:23 -0700 Subject: [PATCH 15/64] Baseline getModifiedTime, setModifiedTime, fileExits and directoryExits for experiment --- src/harness/virtualFileSystemWithWatch.ts | 35 +- src/testRunner/unittests/tsbuild/helpers.ts | 3 +- src/testRunner/unittests/tsc/helpers.ts | 56 ++- src/testRunner/unittests/tscWatch/helpers.ts | 4 +- .../unittests/tscWatch/programUpdates.ts | 2 +- src/testRunner/unittests/tscWatch/watchApi.ts | 4 +- .../modules-and-globals-mixed-in-amd.js | 96 +++++ .../multiple-emitHelpers-in-all-projects.js | 140 +++++++ .../multiple-prologues-in-all-projects.js | 139 +++++++ .../shebang-in-all-projects.js | 96 +++++ .../amdModulesWithOut/stripInternal.js | 137 +++++++ .../triple-slash-refs-in-all-projects.js | 104 +++++ ...e-resolution-finds-original-source-file.js | 33 ++ .../file-name-and-output-name-clashing.js | 10 + .../reports-syntax-errors-in-config-file.js | 91 +++++ .../when-tsconfig-extends-the-missing-file.js | 12 + ...nce-and-both-extend-config-with-include.js | 26 ++ ...th-projects-extends-config-with-include.js | 26 ++ ...ter-initial-build-doesnt-build-anything.js | 66 +++ ...ugh-triple-slash-but-uses-no-references.js | 27 ++ ...file-is-referenced-through-triple-slash.js | 33 ++ ...d-inferred-type-from-referenced-project.js | 32 ++ ...s-not-in-rootDir-at-the-import-location.js | 36 ++ ...ts-the-error-about-it-by-stopping-build.js | 10 + ...ng-setup-correctly-and-reports-no-error.js | 37 ++ ...-emitDeclarationOnly-and-declarationMap.js | 54 +++ ...import-project-with-emitDeclarationOnly.js | 54 +++ ...mports-project-with-emitDeclarationOnly.js | 74 ++++ ...es-is-empty-and-references-are-provided.js | 18 + ...is-empty-and-no-references-are-provided.js | 8 + .../exitCodeOnBogusFile/test-exit-code.js | 8 + ...-transitive-module-with-isolatedModules.js | 96 +++++ .../inferred-type-from-transitive-module.js | 90 +++++ ...hange-in-signature-with-isolatedModules.js | 148 +++++++ ...based-projects-and-emits-them-correctly.js | 39 ++ ...ved-json-files-and-emits-them-correctly.js | 48 +++ ...rojects-and-concatenates-them-correctly.js | 71 ++++ ...s-merged-and-contains-late-bound-member.js | 69 ++++ ...project-correctly-with-preserveSymlinks.js | 56 +++ ...-file-from-referenced-project-correctly.js | 57 +++ ...t-resolution-options-referenced-project.js | 27 ++ ...fiers-across-projects-resolve-correctly.js | 49 +++ ...zed-module-specifiers-resolve-correctly.js | 32 ++ .../semantic-errors-with-incremental.js | 88 ++++ .../tsbuild/noEmitOnError/semantic-errors.js | 86 ++++ .../syntax-errors-with-incremental.js | 88 ++++ .../tsbuild/noEmitOnError/syntax-errors.js | 86 ++++ .../tsbuild/outFile/clean-projects.js | 48 +++ .../non-module-projects-without-prepend.js | 34 ++ ...al-flag-changes-between-non-dts-changes.js | 137 +++++++ ...erated-when-incremental-is-set-to-false.js | 34 ++ ...-buildInfo-absence-results-in-new-build.js | 62 +++ .../baseline-sectioned-sourcemaps.js | 140 +++++++ .../declarationMap-and-sourceMap-disabled.js | 34 ++ .../emitHelpers-in-all-projects.js | 194 +++++++++ ...tHelpers-in-only-one-dependency-project.js | 143 +++++++ .../tsbuild/outfile-concat/explainFiles.js | 140 +++++++ .../multiple-emitHelpers-in-all-projects.js | 143 +++++++ ...tiple-emitHelpers-in-different-projects.js | 143 +++++++ .../multiple-prologues-in-all-projects.js | 194 +++++++++ ...ultiple-prologues-in-different-projects.js | 143 +++++++ .../outfile-concat/shebang-in-all-projects.js | 140 +++++++ .../shebang-in-only-one-dependency-project.js | 89 ++++ .../outfile-concat/strict-in-all-projects.js | 194 +++++++++ .../strict-in-one-dependency.js | 143 +++++++ ...hen-internal-is-inside-another-internal.js | 34 ++ ...en-one-two-three-are-prepended-in-order.js | 149 +++++++ .../stripInternal-jsdoc-style-comment.js | 144 +++++++ ...en-one-two-three-are-prepended-in-order.js | 91 +++++ ...-jsdoc-style-with-comments-emit-enabled.js | 89 ++++ ...l-when-few-members-of-enum-are-internal.js | 34 ++ ...en-one-two-three-are-prepended-in-order.js | 200 +++++++++ ...nal-when-prepend-is-completely-internal.js | 23 ++ ...en-one-two-three-are-prepended-in-order.js | 149 +++++++ ...tripInternal-with-comments-emit-enabled.js | 144 +++++++ .../tsbuild/outfile-concat/stripInternal.js | 195 +++++++++ .../triple-slash-refs-in-all-projects.js | 146 +++++++ .../triple-slash-refs-in-one-project.js | 93 +++++ ...roject-is-not-composite-but-incremental.js | 34 ++ ...t-composite-but-uses-project-references.js | 85 ++++ ...final-project-specifies-tsBuildInfoFile.js | 34 ++ ...-source-files-are-empty-in-the-own-file.js | 89 ++++ ...otDir-is-not-specified-and-is-composite.js | 50 +++ .../when-rootDir-is-not-specified.js | 45 +++ ...iles-belong-to-rootDir-and-is-composite.js | 50 +++ ...ied-but-not-all-files-belong-to-rootDir.js | 50 +++ .../outputPaths/when-rootDir-is-specified.js | 45 +++ .../builds-correctly.js | 28 ++ ...nfo-file-because-no-rootDir-in-the-base.js | 27 ++ ...reports-error-for-same-tsbuildinfo-file.js | 26 ++ ...eports-no-error-when-tsbuildinfo-differ.js | 27 ++ .../files-containing-json-file.js | 26 ++ ...ting-json-module-from-project-reference.js | 56 +++ .../resolveJsonModule/include-and-files.js | 26 ++ ...r-include-and-file-name-matches-ts-file.js | 26 ++ ...nclude-of-json-along-with-other-include.js | 26 ++ .../tsbuild/resolveJsonModule/include-only.js | 24 ++ .../tsbuild/resolveJsonModule/sourcemap.js | 51 +++ .../resolveJsonModule/without-outDir.js | 47 +++ .../always-builds-under-with-force-option.js | 63 +++ ...uilding-using-getNextInvalidatedProject.js | 86 ++++ ...rectly-when-declarationDir-is-specified.js | 34 ++ ...ilds-correctly-when-outDir-is-specified.js | 34 ++ ...composite-or-doesnt-have-any-references.js | 22 + .../can-detect-when-and-what-to-rebuild.js | 213 ++++++++++ ...ojects-if-upstream-projects-have-errors.js | 30 ++ ...does-not-write-any-files-in-a-dry-build.js | 23 ++ .../reference/tsbuild/sample1/explainFiles.js | 140 +++++++ ...it-would-skip-builds-during-a-dry-build.js | 51 +++ .../sample1/invalidates-projects-correctly.js | 125 ++++++ .../tsbuild/sample1/listEmittedFiles.js | 140 +++++++ .../reference/tsbuild/sample1/listFiles.js | 140 +++++++ ...uilds-from-start-if-force-option-is-set.js | 34 ++ ...uilds-when-extended-config-file-changes.js | 94 +++++ .../sample1/removes-all-files-it-built.js | 46 +++ .../reference/tsbuild/sample1/sample.js | 244 +++++++++++ .../when-declaration-option-changes.js | 44 ++ .../when-esModuleInterop-option-changes.js | 91 +++++ .../when-logic-specifies-tsBuildInfoFile.js | 34 ++ .../sample1/when-module-option-changes.js | 48 +++ .../sample1/when-target-option-changes.js | 50 +++ ...roject-uses-different-module-resolution.js | 29 ++ .../transitiveReferences/builds-correctly.js | 29 ++ ...de-resolution-with-external-module-name.js | 25 ++ .../reports-syntax-errors-in-config-file.js | 146 +++++++ .../demo/updates-with-bad-reference.js | 86 ++++ .../demo/updates-with-circular-reference.js | 70 ++++ ...for-changes-to-package-json-main-fields.js | 168 ++++++++ ...t-correctly-with-cts-and-mts-extensions.js | 285 +++++++++++++ ...se-different-module-resolution-settings.js | 99 +++++ ...n-no-files-are-emitted-with-incremental.js | 86 ++++ ...when-watching-when-no-files-are-emitted.js | 86 ++++ ...mit-any-files-on-error-with-incremental.js | 241 +++++++++++ .../does-not-emit-any-files-on-error.js | 240 +++++++++++ .../creates-solution-in-watch-mode.js | 43 ++ .../incremental-updates-in-verbose-mode.js | 119 ++++++ .../when-file-with-no-error-changes.js | 93 +++++ ...ing-errors-only-changed-file-is-emitted.js | 99 +++++ .../when-file-with-no-error-changes.js | 60 +++ ...ixing-error-files-all-files-are-emitted.js | 61 +++ .../when-preserveWatchOutput-is-not-used.js | 106 +++++ ...veWatchOutput-is-passed-on-command-line.js | 106 +++++ ...e-of-program-emit-with-outDir-specified.js | 106 +++++ ...r-recompilation-because-of-program-emit.js | 106 +++++ ...-references-watches-only-those-projects.js | 37 ++ ...tches-config-files-that-are-not-present.js | 97 +++++ ...e-down-stream-project-and-then-fixes-it.js | 98 +++++ ...ncing-project-even-for-non-local-change.js | 145 +++++++ ...le-is-added,-and-its-subsequent-updates.js | 253 ++++++++++++ ...hanges-and-reports-found-errors-message.js | 325 +++++++++++++++ ...not-start-build-of-referencing-projects.js | 125 ++++++ ...le-is-added,-and-its-subsequent-updates.js | 257 ++++++++++++ ...hanges-and-reports-found-errors-message.js | 328 +++++++++++++++ ...not-start-build-of-referencing-projects.js | 126 ++++++ ...project-with-extended-config-is-removed.js | 50 +++ ...hen-noUnusedParameters-changes-to-false.js | 54 +++ .../works-with-extended-source-files.js | 272 +++++++++++++ .../publicApi/with-custom-transformers.js | 70 ++++ .../reexport/Reports-errors-correctly.js | 128 ++++++ ...e-projects-with-single-watcher-per-file.js | 186 +++++++++ .../same-file-in-multiple-projects.js | 186 +++++++++ ...and-line-but-has-tsbuild-info-in-config.js | 15 + ...and-line-but-has-tsbuild-info-in-config.js | 15 + ...setting-composite-false-on-command-line.js | 15 + ...-setting-composite-null-on-command-line.js | 15 + ...rough-indirect-symlink-moduleCaseChange.js | 60 +++ ...ibling-package-through-indirect-symlink.js | 60 +++ ...ther-symlinked-package-moduleCaseChange.js | 53 +++ ...age-with-indirect-link-moduleCaseChange.js | 60 +++ ...er-symlinked-package-with-indirect-link.js | 60 +++ ...gh-source-and-another-symlinked-package.js | 53 +++ ...in-another-file-through-indirect-import.js | 36 ++ ...s-global-through-export-in-another-file.js | 34 ++ .../incremental/noEmit-changes-composite.js | 342 ++++++++++++++++ .../noEmit-changes-incremental-declaration.js | 342 ++++++++++++++++ .../incremental/noEmit-changes-incremental.js | 342 ++++++++++++++++ ...t-changes-with-initial-noEmit-composite.js | 90 +++++ ...-initial-noEmit-incremental-declaration.js | 90 +++++ ...changes-with-initial-noEmit-incremental.js | 90 +++++ .../incremental/serializing-error-chains.js | 30 ++ ...ault-lib-that-augments-the-global-scope.js | 16 + ...le-is-added,-the-signatures-are-updated.js | 105 +++++ ...file-is-added-to-the-referenced-project.js | 96 +++++ ...g-filename-for-buildinfo-on-commandline.js | 30 ++ .../when-passing-rootDir-from-commandline.js | 30 ++ ...when-passing-rootDir-is-in-the-tsconfig.js | 30 ++ .../when-project-has-strict-true.js | 30 ++ .../with-noEmitOnError-semantic-errors.js | 64 +++ .../with-noEmitOnError-syntax-errors.js | 64 +++ .../tsc/incremental/with-only-dts-files.js | 45 +++ .../tsc/listFilesOnly/combined-with-watch.js | 8 + .../reference/tsc/listFilesOnly/loose-file.js | 10 + ...ject-contains-invalid-project-reference.js | 15 + ...eferences-composite-project-with-noEmit.js | 22 + ...ypes-found-doesn't-crash-under---strict.js | 31 ++ ...th-no-backing-types-found-doesn't-crash.js | 31 ++ ...does-not-add-color-when-NO_COLOR-is-set.js | 10 + ...-when-host-can't-provide-terminal-width.js | 10 + ...tatus.DiagnosticsPresent_OutputsSkipped.js | 10 + .../createWatchOfConfigFile.js | 34 ++ ...Result-on-WatchCompilerHostOfConfigFile.js | 37 ++ .../consoleClearing/with---diagnostics.js | 34 ++ .../with---extendedDiagnostics.js | 34 ++ .../with---preserveWatchOutput.js | 34 ++ ...---diagnostics-or---extendedDiagnostics.js | 34 ++ ...ms-correctly-in-incremental-compilation.js | 38 ++ ...s-deleted-and-created-as-part-of-change.js | 39 ++ ...ndles-new-lines-carriageReturn-lineFeed.js | 34 ++ .../handles-new-lines-lineFeed.js | 34 ++ .../should-emit-specified-file.js | 58 +++ ...elf-if-'--isolatedModules'-is-specified.js | 41 ++ ...-if-'--out'-or-'--outFile'-is-specified.js | 41 ++ ...should-be-up-to-date-with-deleted-files.js | 45 +++ ...-be-up-to-date-with-newly-created-files.js | 48 +++ ...-to-date-with-the-reference-map-changes.js | 113 ++++++ ...les-referencing-it-if-its-shape-changed.js | 57 +++ ...should-detect-changes-in-non-root-files.js | 57 +++ .../should-detect-non-existing-code-file.js | 62 +++ .../should-detect-removed-code-file.js | 43 ++ ...ll-files-if-a-global-file-changed-shape.js | 41 ++ ...ould-return-cascaded-affected-file-list.js | 74 ++++ ...fine-for-files-with-circular-references.js | 39 ++ .../config-does-not-have-out-or-outFile.js | 54 +++ .../config-has-out.js | 54 +++ .../config-has-outFile.js | 54 +++ ...ltiple-declaration-files-in-the-program.js | 24 ++ ...ltiple-declaration-files-in-the-program.js | 24 ++ ...-recursive-directory-watcher-is-invoked.js | 43 ++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../with-noEmitOnError.js | 128 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../with-noEmitOnError.js | 128 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../default/with-noEmitOnError.js | 128 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../defaultAndD/with-noEmitOnError.js | 128 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../incremental/default/with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../defaultAndD/with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../isolatedModules/with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../isolatedModulesAndD/with-noEmitOnError.js | 129 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../isolatedModules/with-noEmitOnError.js | 128 ++++++ .../errors-for-.d.ts-change.js | 79 ++++ .../errors-for-.ts-change.js | 75 ++++ ...g-a-deep-multilevel-import-that-changes.js | 77 ++++ .../no-circular-import/export.js | 80 ++++ .../yes-circular-import/exports.js | 81 ++++ .../with-noEmitOnError-with-incremental.js | 129 ++++++ .../isolatedModulesAndD/with-noEmitOnError.js | 128 ++++++ .../jsxImportSource-option-changed.js | 35 ++ ...n-Windows-style-drive-root-is-lowercase.js | 39 ++ ...n-Windows-style-drive-root-is-uppercase.js | 39 ++ ...ry-symlink-target-and-import-match-disk.js | 44 ++ ...le-symlink-target-and-import-match-disk.js | 43 ++ ...nging-module-name-with-different-casing.js | 52 +++ ...target-matches-disk-but-import-does-not.js | 44 ++ ...target-matches-disk-but-import-does-not.js | 43 ++ ...link-target,-and-disk-are-all-different.js | 43 ++ ...link-target,-and-disk-are-all-different.js | 48 +++ ...link-target-agree-but-do-not-match-disk.js | 44 ++ ...link-target-agree-but-do-not-match-disk.js | 43 ++ ...k-but-directory-symlink-target-does-not.js | 44 ++ ...s-disk-but-file-symlink-target-does-not.js | 43 ++ ...ative-information-file-location-changes.js | 42 ++ ...hen-renaming-file-with-different-casing.js | 49 +++ ...editing-module-augmentation-incremental.js | 70 ++++ .../editing-module-augmentation-watch.js | 70 ++++ ...lpers-backing-types-removed-incremental.js | 74 ++++ ...portHelpers-backing-types-removed-watch.js | 74 ++++ ...al-with-circular-references-incremental.js | 56 +++ ...remental-with-circular-references-watch.js | 56 +++ ...tSource-backing-types-added-incremental.js | 64 +++ ...xImportSource-backing-types-added-watch.js | 64 +++ ...ource-backing-types-removed-incremental.js | 78 ++++ ...mportSource-backing-types-removed-watch.js | 78 ++++ ...ImportSource-option-changed-incremental.js | 70 ++++ .../jsxImportSource-option-changed-watch.js | 70 ++++ .../own-file-emit-with-errors-incremental.js | 48 +++ .../own-file-emit-with-errors-watch.js | 48 +++ ...wn-file-emit-without-errors-incremental.js | 48 +++ .../own-file-emit-without-errors-watch.js | 48 +++ .../with---out-incremental.js | 25 ++ .../module-compilation/with---out-watch.js | 25 ++ .../own-file-emit-with-errors-incremental.js | 48 +++ .../own-file-emit-with-errors-watch.js | 48 +++ ...eters-that-are-not-relative-incremental.js | 50 +++ ...-parameters-that-are-not-relative-watch.js | 50 +++ ...without-commandline-options-incremental.js | 48 +++ .../without-commandline-options-watch.js | 48 +++ ...declaration-file-is-deleted-incremental.js | 48 +++ ...lobal-declaration-file-is-deleted-watch.js | 48 +++ .../incremental/with---out-incremental.js | 25 ++ .../tscWatch/incremental/with---out-watch.js | 25 ++ ...for-changes-to-package-json-main-fields.js | 144 +++++++ .../esm-mode-file-is-edited.js | 64 +++ ...nerated-when-the-config-file-has-errors.js | 23 ++ ...configFile-contents-when-options-change.js | 39 ++ ...rs-document-is-not-contained-in-project.js | 23 ++ ...rts-errors-when-the-config-file-changes.js | 55 +++ ...nostics-when-'--noUnusedLabels'-changes.js | 53 +++ ...-a-configured-program-without-file-list.js | 46 +++ ...hould-remove-the-module-not-found-error.js | 47 +++ ...has-changed-(new-file-in-list-of-files).js | 43 ++ ...ot-files-has-changed-(new-file-on-disk).js | 46 +++ ...-root-files-has-changed-through-include.js | 51 +++ ...config-file-name-with-difference-casing.js | 23 ++ ...-when-set-of-root-files-was-not-changed.js | 39 ++ .../programUpdates/change-module-to-none.js | 43 ++ ...iles-are-reflected-in-project-structure.js | 42 ++ .../config-file-includes-the-file.js | 25 ++ .../programUpdates/config-file-is-deleted.js | 39 ++ ...s-changes-in-lib-section-of-config-file.js | 43 ++ ...te-configured-project-without-file-list.js | 23 ++ .../create-watch-without-config-file.js | 23 ++ ...eleted-files-affect-project-structure-2.js | 47 +++ .../deleted-files-affect-project-structure.js | 47 +++ .../extended-source-files-are-watched.js | 96 +++++ .../file-in-files-is-deleted.js | 43 ++ ...iles-explicitly-excluded-in-config-file.js | 23 ++ .../handle-recreated-files-correctly.js | 83 ++++ ...se-they-were-added-with-tripleSlashRefs.js | 38 ++ ...esnt-have-errors,-they-are-not-reported.js | 23 ++ ...ndle-@types-if-input-file-list-is-empty.js | 20 + ...e-tolerated-without-crashing-the-server.js | 20 + ...tore-the-states-for-configured-projects.js | 83 ++++ ...estore-the-states-for-inferred-projects.js | 67 +++ ...rors-correctly-with-file-not-in-rootDir.js | 44 ++ ...s-errors-correctly-with-isolatedModules.js | 42 ++ ...non-existing-directories-in-config-file.js | 22 + ...ting-files-specified-in-the-config-file.js | 23 ++ .../declarationDir-is-specified.js | 90 +++++ ...-outDir-and-declarationDir-is-specified.js | 89 ++++ .../when-outDir-is-specified.js | 87 ++++ .../with-outFile.js | 86 ++++ ...e-is-specified-with-declaration-enabled.js | 90 +++++ .../without-outDir-or-outFile-is-specified.js | 88 ++++ ...odule-resolution-changes-in-config-file.js | 53 +++ .../should-reflect-change-in-config-file.js | 59 +++ ...should-support-files-without-extensions.js | 18 + ...errors-and-still-try-to-build-a-project.js | 23 ++ ...when-file-changes-from-global-to-module.js | 34 ++ ...programs-are-not-affected-by-each-other.js | 33 ++ ...-from-config-file-path-if-config-exists.js | 28 ++ ...tes-diagnostics-and-emit-for-decorators.js | 54 +++ ...it-when-useDefineForClassFields-changes.js | 36 ++ .../updates-emit-on-jsx-option-change.js | 49 +++ ...mit-when-importsNotUsedAsValues-changes.js | 74 ++++ ...on-emit-is-disabled-in-compiler-options.js | 90 +++++ .../with-default-options.js | 54 +++ .../with-skipDefaultLibCheck.js | 54 +++ .../with-skipLibCheck.js | 54 +++ .../with-default-options.js | 54 +++ .../with-skipDefaultLibCheck.js | 54 +++ .../with-skipLibCheck.js | 54 +++ ...when-ambient-modules-of-program-changes.js | 75 ++++ ...orceConsistentCasingInFileNames-changes.js | 40 ++ ...s-errors-when-noErrorTruncation-changes.js | 40 ++ ...es-errors-when-strictNullChecks-changes.js | 72 ++++ ...solution-when-resolveJsonModule-changes.js | 60 +++ ...and-new-file-is-added-as-part-of-change.js | 48 +++ .../when-creating-extensionless-file.js | 40 ++ ...n-creating-new-file-in-symlinked-folder.js | 49 +++ ...file-is-added-to-the-referenced-project.js | 153 +++++++ ...ibCheck-and-skipDefaultLibCheck-changes.js | 120 ++++++ ...-file-is-changed-but-its-content-havent.js | 39 ++ .../on-sample-project.js | 231 +++++++++++ ...-different-folders-with-no-files-clause.js | 381 ++++++++++++++++++ ...nsitive-references-in-different-folders.js | 371 +++++++++++++++++ .../on-transitive-references.js | 308 ++++++++++++++ ...roject-uses-different-module-resolution.js | 58 +++ .../tscWatch/resolutionCache/caching-works.js | 106 +++++ .../watch-with-configFile.js | 50 +++ .../watch-without-configFile.js | 44 ++ .../loads-missing-files-from-disk.js | 56 +++ ...module-goes-missing-and-then-comes-back.js | 78 ++++ ...are-global-and-installed-at-later-point.js | 76 ++++ .../with-modules-linked-to-sibling-folder.js | 40 ++ ...cluded-file-with-ambient-module-changes.js | 39 ++ ...-no-notification-from-fs-for-index-file.js | 144 +++++++ ...le-resolution-changes-to-ambient-module.js | 58 +++ ...der-that-already-contains-@types-folder.js | 59 +++ ...rogram-with-files-from-external-library.js | 61 +++ ...es-field-when-solution-is-already-built.js | 86 ++++ ...Symlinks-when-solution-is-already-built.js | 83 ++++ ...n-has-types-field-with-preserveSymlinks.js | 43 ++ ...-package-when-solution-is-already-built.js | 88 ++++ ...Symlinks-when-solution-is-already-built.js | 85 ++++ ...th-scoped-package-with-preserveSymlinks.js | 44 ++ ...son-has-types-field-with-scoped-package.js | 46 +++ .../when-packageJson-has-types-field.js | 45 +++ ...ubFolder-when-solution-is-already-built.js | 89 ++++ ...Symlinks-when-solution-is-already-built.js | 86 ++++ ...le-from-subFolder-with-preserveSymlinks.js | 44 ++ ...-package-when-solution-is-already-built.js | 89 ++++ ...Symlinks-when-solution-is-already-built.js | 86 ++++ ...th-scoped-package-with-preserveSymlinks.js | 44 ++ ...file-from-subFolder-with-scoped-package.js | 46 +++ .../when-referencing-file-from-subFolder.js | 46 +++ ...-project-when-solution-is-already-built.js | 58 +++ .../with-simple-project.js | 29 ++ .../extraFileExtensions-are-supported.js | 51 +++ ...noEmit-with-composite-with-emit-builder.js | 94 +++++ ...it-with-composite-with-semantic-builder.js | 94 +++++ ...nError-with-composite-with-emit-builder.js | 66 +++ ...or-with-composite-with-semantic-builder.js | 66 +++ .../watchApi/semantic-builder-emitOnlyDts.js | 44 ++ ...createSemanticDiagnosticsBuilderProgram.js | 38 ++ ...n-works-when-returned-without-extension.js | 31 ++ ...assed-down-to-the-watch-status-reporter.js | 22 + ...ing-useSourceOfProjectReferenceRedirect.js | 140 +++++++ ...-host-implementing-getParsedCommandLine.js | 80 ++++ ...-timesouts-on-host-program-gets-updated.js | 51 +++ ...polling-when-renaming-file-in-subfolder.js | 56 +++ ...rectory-when-renaming-file-in-subfolder.js | 53 +++ ...tchFile-when-renaming-file-in-subfolder.js | 50 +++ ...ymlinks-to-folders-in-recursive-folders.js | 41 ++ ...hronous-watch-directory-renaming-a-file.js | 109 +++++ ...ory-with-outDir-and-declaration-enabled.js | 136 +++++++ .../with-non-synchronous-watch-directory.js | 240 +++++++++++ ...lt-as-fixed-chunk-size-watch-file-works.js | 70 ++++ .../using-dynamic-priority-polling.js | 97 +++++ .../using-fixed-chunk-size-polling.js | 112 +++++ ...eDirectories-option-extendedDiagnostics.js | 53 +++ ...-directory-watching-extendedDiagnostics.js | 73 ++++ ...ption-with-recursive-directory-watching.js | 73 ++++ .../with-excludeDirectories-option.js | 53 +++ ...excludeFiles-option-extendedDiagnostics.js | 53 +++ .../watchOptions/with-excludeFiles-option.js | 53 +++ .../with-fallbackPolling-option.js | 24 ++ .../with-watchDirectory-option.js | 24 ++ ...th-watchFile-as-watch-options-to-extend.js | 23 ++ .../watchOptions/with-watchFile-option.js | 23 ++ 495 files changed, 37181 insertions(+), 12 deletions(-) diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 829d6e8fa41f4..ca7c166ae9f3b 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -856,18 +856,26 @@ interface Array { length: number; [n: number]: T; }` } fileExists(s: string) { + const path = this.toFullPath(s); + this.fileExistsCalls[path] = (getProperty(this.fileExistsCalls, path) || 0) + 1; + return !!this.getRealFile(path); + } + + fileExistsWithoutTracking(s: string) { const path = this.toFullPath(s); return !!this.getRealFile(path); } getModifiedTime(s: string) { const path = this.toFullPath(s); + this.getModifiedCalls[path] = (getProperty(this.getModifiedCalls, path) || 0) + 1; const fsEntry = this.fs.get(path); return (fsEntry && fsEntry.modifiedTime)!; // TODO: GH#18217 } setModifiedTime(s: string, date: Date) { const path = this.toFullPath(s); + this.setModifiedCalls[path] = (getProperty(this.setModifiedCalls, path) || 0) + 1; const fsEntry = this.fs.get(path); if (fsEntry) { fsEntry.modifiedTime = date; @@ -891,6 +899,7 @@ interface Array { length: number; [n: number]: T; }` directoryExists(s: string) { const path = this.toFullPath(s); + this.directoryExistsCalls[path] = (getProperty(this.directoryExistsCalls, path) || 0) + 1; return !!this.getRealFolder(path); } @@ -1064,11 +1073,14 @@ interface Array { length: number; [n: number]: T; }` } result.set(key, cloneValue); }); - return result; } writtenFiles?: ESMap; + getModifiedCalls: MapLike = {}; + fileExistsCalls: MapLike = {}; + directoryExistsCalls: MapLike = {}; + setModifiedCalls: MapLike = {}; diff(baseline: string[], base: ESMap = new Map()) { this.fs.forEach(newFsEntry => { diffFsEntry(baseline, base.get(newFsEntry.path), newFsEntry, this.writtenFiles); @@ -1080,6 +1092,18 @@ interface Array { length: number; [n: number]: T; }` } }); baseline.push(""); + baseline.push(`fileExists:: ${JSON.stringify(this.fileExistsCalls, /*replacer*/ undefined, " ")} `); + baseline.push(""); + baseline.push(`directoryExists:: ${JSON.stringify(this.directoryExistsCalls, /*replacer*/ undefined, " ")} `); + baseline.push(""); + baseline.push(`getModifiedTimes:: ${JSON.stringify(this.getModifiedCalls, /*replacer*/ undefined, " ")} `); + baseline.push(""); + baseline.push(`setModifiedTimes:: ${JSON.stringify(this.setModifiedCalls, /*replacer*/ undefined, " ")} `); + baseline.push(""); + this.fileExistsCalls = {}; + this.directoryExistsCalls = {}; + this.getModifiedCalls = {}; + this.setModifiedCalls = {}; } serializeWatches(baseline: string[]) { @@ -1224,7 +1248,13 @@ interface Array { length: number; [n: number]: T; }` if (baselinedOutput) baseline.push(baselinedOutput.join("")); } - export type TestServerHostTrackingWrittenFiles = TestServerHost & { writtenFiles: ESMap; }; + export type TestServerHostTrackingWrittenFiles = TestServerHost & { + writtenFiles: ESMap; + getModifiedCalls: MapLike; + fileExistsCalls: MapLike; + directoryExistsCalls: MapLike; + setModifiedCalls: MapLike; + }; export function changeToHostTrackingWrittenFiles(inputHost: TestServerHost) { const host = inputHost as TestServerHostTrackingWrittenFiles; @@ -1235,6 +1265,7 @@ interface Array { length: number; [n: number]: T; }` const path = host.toFullPath(fileName); host.writtenFiles.set(path, (host.writtenFiles.get(path) || 0) + 1); }; + return host; } export const tsbuildProjectsLocation = "/user/username/projects"; diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index ffc6d138996d0..d41095779f559 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -268,10 +268,11 @@ interface Symbol { options: CompilerOptions, sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], + originalFileExists?: System["fileExists"], ) { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); if (!buildInfoPath || !sys.writtenFiles!.has(toPathWithSystem(sys, buildInfoPath))) return; - if (!sys.fileExists(buildInfoPath)) return; + if (!(originalFileExists || sys.fileExists).call(sys, buildInfoPath)) return; const buildInfo = getBuildInfo((originalReadCall || sys.readFile).call(sys, buildInfoPath, "utf8")!); generateBuildInfoProgramBaseline(sys, buildInfoPath, buildInfo); diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index aa7b4f250d6f5..a2336945309b0 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -39,20 +39,21 @@ namespace ts { export function commandLineCallbacks( sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], + originalFileExists?: System["fileExists"], ): CommandLineCallbacks { let programs: CommandLineProgram[] | undefined; return { cb: program => { if (isAnyProgram(program)) { - baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall); + baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall, originalFileExists); (programs || (programs = [])).push(isBuilderProgram(program) ? [program.getProgram(), program] : [program] ); } else { - baselineBuildInfo(program.options, sys, originalReadCall); + baselineBuildInfo(program.options, sys, originalReadCall, originalFileExists); } }, getPrograms: () => { @@ -161,6 +162,10 @@ ${patch ? vfs.formatPatch(patch) : ""}` export function testTscCompile(input: TestTscCompile) { let actualReadFileMap: MapLike | undefined; let getPrograms: CommandLineCallbacks["getPrograms"] | undefined; + let getModifiedCalls: MapLike | undefined; + let setModifiedCalls: MapLike | undefined; + let fileExistsCalls: MapLike | undefined; + let directoryExistsCalls: MapLike | undefined; return testTscCompileLike({ ...input, compile: commandLineCompile, @@ -178,8 +183,43 @@ ${patch ? vfs.formatPatch(patch) : ""}` } return originalReadFile.call(sys, path); }; - - const result = commandLineCallbacks(sys, originalReadFile); + getModifiedCalls = {}; + setModifiedCalls = {}; + fileExistsCalls = {}; + directoryExistsCalls = {}; + const originalGetModifiedTime = sys.getModifiedTime; + sys.getModifiedTime = path => { + // Dont record libs + if (getModifiedCalls) { + getModifiedCalls[path] = (getProperty(getModifiedCalls, path) || 0) + 1; + } + return originalGetModifiedTime.call(sys, path); + }; + const originalSetModifiedTime = sys.setModifiedTime; + sys.setModifiedTime = (path, time) => { + // Dont record libs + if (setModifiedCalls) { + setModifiedCalls[path] = (getProperty(setModifiedCalls, path) || 0) + 1; + } + return originalSetModifiedTime.call(sys, path, time); + }; + const originalFileExists = sys.fileExists; + sys.fileExists = path => { + // Dont record libs + if (fileExistsCalls) { + fileExistsCalls[path] = (getProperty(fileExistsCalls, path) || 0) + 1; + } + return originalFileExists.call(sys, path); + }; + const originalDirectoryExists = sys.directoryExists; + sys.directoryExists = path => { + // Dont record libs + if (directoryExistsCalls) { + directoryExistsCalls[path] = (getProperty(directoryExistsCalls, path) || 0) + 1; + } + return originalDirectoryExists.call(sys, path); + }; + const result = commandLineCallbacks(sys, originalReadFile, originalFileExists); executeCommandLine( sys, result.cb, @@ -199,8 +239,16 @@ ${patch ? vfs.formatPatch(patch) : ""}` if (baselineReadFileCalls) { sys.write(`readFiles:: ${JSON.stringify(actualReadFileMap, /*replacer*/ undefined, " ")} `); } + sys.write(`\ngetModifiedTime:: ${JSON.stringify(getModifiedCalls, /*replacer*/ undefined, " ")}\n`); + sys.write(`\nsetModifiedTime:: ${JSON.stringify(setModifiedCalls, /*replacer*/ undefined, " ")}\n`); + sys.write(`\nfileExists:: ${JSON.stringify(fileExistsCalls, /*replacer*/ undefined, " ")}\n`); + sys.write(`\ndirectoryExists:: ${JSON.stringify(directoryExistsCalls, /*replacer*/ undefined, " ")}\n`); if (baselineSourceMap) generateSourceMapBaselineFiles(sys); actualReadFileMap = undefined; + getModifiedCalls = undefined; + setModifiedCalls = undefined; + fileExistsCalls = undefined; + directoryExistsCalls = undefined; getPrograms = undefined; } } diff --git a/src/testRunner/unittests/tscWatch/helpers.ts b/src/testRunner/unittests/tscWatch/helpers.ts index 501264b40ff32..4a55dc97310a3 100644 --- a/src/testRunner/unittests/tscWatch/helpers.ts +++ b/src/testRunner/unittests/tscWatch/helpers.ts @@ -140,7 +140,7 @@ namespace ts.tscWatch { } = input; if (!isWatch(commandLineArgs)) sys.exit = exitCode => sys.exitCode = exitCode; - const { cb, getPrograms } = commandLineCallbacks(sys); + const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); const watchOrSolution = executeCommandLine( sys, cb, @@ -179,7 +179,7 @@ namespace ts.tscWatch { const baseline: string[] = []; baseline.push("Input::"); sys.diff(baseline); - const { cb, getPrograms } = commandLineCallbacks(sys); + const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); return { sys, baseline, oldSnap: sys.snap(), cb, getPrograms }; } diff --git a/src/testRunner/unittests/tscWatch/programUpdates.ts b/src/testRunner/unittests/tscWatch/programUpdates.ts index 68f03f0d20cc4..39d1db0596cf9 100644 --- a/src/testRunner/unittests/tscWatch/programUpdates.ts +++ b/src/testRunner/unittests/tscWatch/programUpdates.ts @@ -544,7 +544,7 @@ export class A { oldSnap, }); - const {cb: cb2, getPrograms: getPrograms2 } = commandLineCallbacks(sys); + const {cb: cb2, getPrograms: getPrograms2 } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); const oldSnap2 = sys.snap(); baseline.push("createing separate watcher"); createWatchProgram(createWatchCompilerHostOfFilesAndCompilerOptionsForBaseline({ diff --git a/src/testRunner/unittests/tscWatch/watchApi.ts b/src/testRunner/unittests/tscWatch/watchApi.ts index 477a982eafde2..cb357e2b670a5 100644 --- a/src/testRunner/unittests/tscWatch/watchApi.ts +++ b/src/testRunner/unittests/tscWatch/watchApi.ts @@ -208,7 +208,7 @@ namespace ts.tscWatch { createProgram: CreateProgram, optionsToExtend?: CompilerOptions, ) { - const { cb, getPrograms } = commandLineCallbacks(sys); + const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); baseline.push(`tsc --w${optionsToExtend?.noEmit ? " --noEmit" : ""}`); const oldSnap = sys.snap(); const host = createWatchCompilerHostOfConfigFileForBaseline({ @@ -384,7 +384,7 @@ namespace ts.tscWatch { // Fix error and emit applyChange(sys, baseline, sys => sys.writeFile(mainFile.path, "export const x = 10;"), "Fix error"); - const { cb, getPrograms } = commandLineCallbacks(sys); + const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); const oldSnap = sys.snap(); const reportDiagnostic = createDiagnosticReporter(sys, /*pretty*/ true); const reportWatchStatus = createWatchStatusReporter(sys, /*pretty*/ true); diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 167a38161a528..e8720d53f4442 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -83,6 +83,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -952,6 +1004,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 59c02c1830712..3c41ad0a7d280 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -95,6 +95,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -2129,6 +2181,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time @@ -3746,6 +3842,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 517343f4ad70b..a9ea0499bc48a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -88,6 +88,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -1238,6 +1290,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time @@ -2127,6 +2223,49 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index d6dc16faeba48..4de116765f028 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -86,6 +86,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] #!someshebang lib file0 @@ -974,6 +1026,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 01d26503916f4..ccdbc138753af 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -109,6 +109,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare module "file1" { @@ -4879,6 +4931,50 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time @@ -8685,6 +8781,47 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare module "file1" { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 03189af6066b9..5504d6e546969 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -93,6 +93,62 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/tripleRef.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/tripleRef.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/tripleRef.d.ts": 1, + "/src/lib/module.js": 3, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/tripleRef.d.ts": 1, + "/src/app/module.js": 2, + "/src/app/file1.ts": 1, + "/src/app/file1.tsx": 1, + "/src/app/file1.d.ts": 1, + "/src/file1.ts": 1, + "/src/file1.tsx": 1, + "/src/file1.d.ts": 1, + "/file1.ts": 1, + "/file1.tsx": 1, + "/file1.d.ts": 1, + "/src/app/file1.js": 1, + "/src/app/file1.jsx": 1, + "/src/file1.js": 1, + "/src/file1.jsx": 1, + "/file1.js": 1, + "/file1.jsx": 1, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app": 2, + "/src": 2, + "/": 2, + "/src/app/node_modules": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] /// @@ -1187,6 +1243,54 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/tripleRef.d.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/tripleRef.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 3, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1, + "/src/app/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/app/module.d.ts": 1, + "/src/app/module.d.ts.map": 1 +} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/lib/tripleRef.d.ts": 1, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/tripleRef.d.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.js.map": 1, + "/src/app/module.d.ts": 2, + "/src/app/module.d.ts.map": 1, + "/src/app/module.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index d77d1678ae884..55ee5cff89016 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -83,6 +83,39 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/lib/file0.ts": 1, + "/src/lib/file1.ts": 1, + "/src/lib/file2.ts": 1, + "/src/lib/global.ts": 1, + "/src/module.js": 3, + "/src/module.d.ts": 2, + "/src/app/file3.ts": 1, + "/src/app/file4.ts": 1, + "/src/app/module.js": 2, + "/src/app/module.d.ts": 2 +} + +directoryExists:: { + "/src/lib/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/app/lib": 1, + "/src/lib": 1, + "/src/app/node_modules/@types": 1 +} + //// [/src/app/module.d.ts] declare const myGlob = 20; diff --git a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js index 88b1765793dac..d6a2a5eca3081 100644 --- a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js +++ b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js @@ -29,4 +29,14 @@ Output:: /lib/tsc --b /src/tsconfig.json -clean exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.js": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 9486e97e75108..f2c5d26a4eef9 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -45,6 +45,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/a.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -76,6 +94,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/a.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -98,6 +134,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/a.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -117,6 +171,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/a.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -131,6 +203,25 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/a.d.ts] export declare function foo(): void; diff --git a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js index 6671142bb0b43..f2dc7ee7a06d5 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js @@ -58,4 +58,16 @@ Found 4 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/foobar.json": 2, + "/src/tsconfig.first.tsbuildinfo": 1, + "/src/tsconfig.second.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 59c5133c2dead..f42842eed65f3 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -59,6 +59,32 @@ Output:: /src/shared/typings-base/globals.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/index.ts": 1, + "/src/shared/typings-base/globals.d.ts": 2, + "/src/webpack/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/tsconfig-base.json": 2, + "/src/shared/index.ts": 1, + "/src/shared/typings-base/globals.d.ts": 1, + "/src/target-tsc-build/shared/index.js": 1, + "/src/target-tsc-build/shared/index.d.ts": 1, + "/src/webpack/index.ts": 1, + "/src/target-tsc-build/webpack/index.js": 1, + "/src/target-tsc-build/webpack/index.d.ts": 1 +} + +directoryExists:: { + "/src/shared/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/webpack/node_modules/@types": 1 +} + //// [/src/target-tsc-build/shared/index.d.ts] export declare const a: Unrestricted; diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 80699604c08fc..fcc0ef49903ba 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -60,6 +60,32 @@ Output:: /src/shared/typings-base/globals.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/index.ts": 1, + "/src/shared/typings-base/globals.d.ts": 2, + "/src/webpack/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/tsconfig-base.json": 2, + "/src/shared/index.ts": 1, + "/src/shared/typings-base/globals.d.ts": 1, + "/src/target-tsc-build/shared/index.js": 1, + "/src/target-tsc-build/shared/index.d.ts": 1, + "/src/webpack/index.ts": 1, + "/src/target-tsc-build/webpack/index.js": 1, + "/src/target-tsc-build/webpack/index.d.ts": 1 +} + +directoryExists:: { + "/src/shared/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/webpack/node_modules/@types": 1 +} + //// [/src/target-tsc-build/shared/index.d.ts] export declare const a: Unrestricted; diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 2ce246e4af508..5c341a5df5c89 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -99,6 +99,35 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/folder/index.ts": 1, + "/src/src/folder2/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/folder/index.ts": 1, + "/src/src/folder/index.js": 1, + "/src/src/folder/index.d.ts": 1, + "/src/src/folder2/index.ts": 1, + "/src/src/folder2/index.js": 1, + "/src/src/folder2/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/src/folder/node_modules/@types": 1, + "/src/src/node_modules/@types": 2, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/src/folder2/node_modules/@types": 1, + "/src/tests/node_modules/@types": 1 +} + //// [/src/src/folder/index.d.ts] export declare const x = 10; @@ -261,4 +290,41 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/folder/index.ts": 1, + "/src/src/folder/index.js": 1, + "/src/src/folder/index.d.ts": 2, + "/src/src/folder/tsconfig.tsbuildinfo": 1, + "/src/src/folder/tsconfig.json": 1, + "/src/src/folder2/index.ts": 1, + "/src/src/folder2/index.js": 1, + "/src/src/folder2/index.d.ts": 2, + "/src/src/folder2/tsconfig.tsbuildinfo": 1, + "/src/src/folder2/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 2, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/folder/index.ts": 1, + "/src/src/folder/index.js": 1, + "/src/src/folder/index.d.ts": 1, + "/src/src/folder/tsconfig.tsbuildinfo": 1, + "/src/src/folder2/index.ts": 1, + "/src/src/folder2/index.js": 1, + "/src/src/folder2/index.d.ts": 1, + "/src/src/folder2/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index a0ea8ab754c19..7eaba1f02260f 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -67,6 +67,33 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/solution/src/common/nominal.ts": 1, + "/src/solution/src/common/types.d.ts": 1, + "/src/solution/src/subProject/index.ts": 1, + "/src/solution/src/subProject2/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/solution/tsconfig.base.json": 1, + "/src/solution/src/common/nominal.ts": 1, + "/src/solution/src/common/types.d.ts": 1, + "/src/solution/src/subProject/index.ts": 1, + "/src/solution/src/subProject2/index.ts": 1, + "/src/solution/lib/src/common/nominal.js": 1, + "/src/solution/lib/src/common/nominal.d.ts": 1 +} + +directoryExists:: { + "/src/solution/src/common": 2, + "/src/solution/src/subProject": 2, + "/src/solution/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/solution/lib/src/common/nominal.d.ts] /// diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 3de7c42c59538..ce857f6421b7e 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -79,6 +79,39 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/solution/src/common/nominal.ts": 1, + "/src/solution/src/subProject/index.ts": 1, + "/src/solution/src/subProject2/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/solution/tsconfig.base.json": 3, + "/src/solution/src/common/nominal.ts": 1, + "/src/solution/lib/src/common/nominal.js": 1, + "/src/solution/lib/src/common/nominal.d.ts": 1, + "/src/solution/src/subProject/index.ts": 1, + "/src/solution/lib/src/subProject/index.js": 1, + "/src/solution/lib/src/subProject/index.d.ts": 1, + "/src/solution/src/subProject2/index.ts": 1, + "/src/solution/lib/src/subProject2/index.js": 1, + "/src/solution/lib/src/subProject2/index.d.ts": 1 +} + +directoryExists:: { + "/src/solution/src/common/node_modules/@types": 1, + "/src/solution/src/node_modules/@types": 3, + "/src/solution/node_modules/@types": 3, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/solution/src/common": 2, + "/src/solution/src/subProject/node_modules/@types": 1, + "/src/solution/src/subProject": 2, + "/src/solution/src/subProject2/node_modules/@types": 1 +} + //// [/src/solution/lib/src/common/nominal.d.ts] /// diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 8e9bd8c3463f6..ca56ec0713080 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -56,6 +56,38 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/packages/pkg1/src/index.ts": 1, + "/src/packages/pkg2/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig": 2, + "/src/tsconfig.json": 2, + "/src/packages/pkg1/src/index.ts": 1, + "/src/packages/pkg1/lib/src/index.js": 1, + "/src/packages/pkg1/lib/src/index.d.ts": 1, + "/src/packages/pkg2/src/index.ts": 1, + "/src/packages/pkg2/lib/src/index.js": 1, + "/src/packages/pkg1/src.ts": 1, + "/src/packages/pkg1/src.tsx": 1, + "/src/packages/pkg1/src.d.ts": 1, + "/src/packages/pkg1/src/package.json": 1, + "/src/packages/pkg2/lib/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/packages/pkg1/node_modules/@types": 1, + "/src/packages/node_modules/@types": 2, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/packages/pkg1": 3, + "/src/packages/pkg1/src": 4, + "/src/packages/pkg2/node_modules/@types": 1 +} + //// [/src/packages/pkg1/lib/src/index.d.ts] export interface IThing { diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index eb2e9c90ce427..57a08211e2b52 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -220,6 +220,42 @@ Found 7 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/core/utilities.ts": 1, + "/src/animals/animal.ts": 1, + "/src/animals/dog.ts": 1, + "/src/animals/index.ts": 1, + "/src/zoo/zoo.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig-base.json": 3, + "/src/core/utilities.ts": 1, + "/src/lib/core/utilities.js": 1, + "/src/animals.ts": 1, + "/src/animals.tsx": 1, + "/src/animals.d.ts": 1, + "/src/animals/package.json": 1, + "/src/animals/index.ts": 1, + "/src/animals/animal.ts": 1, + "/src/animals/dog.ts": 1, + "/src/lib/animals/animal.js": 1, + "/src/zoo/zoo.ts": 1, + "/src/lib/zoo/zoo.js": 1 +} + +directoryExists:: { + "/src": 2, + "/src/animals": 9, + "/src/animals/": 2, + "/src/core": 2, + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index 7a5ecdf0d2ba4..c05c3af9c8b1a 100644 --- a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -166,4 +166,14 @@ Found 1 error. exitCode:: ExitStatus.ProjectReferenceCycle_OutputsSkupped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig-base.json": 3 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 3d6db1f835f27..dcd0224a2c1aa 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -165,6 +165,43 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/utilities.ts": 1, + "/src/animals/animal.ts": 1, + "/src/animals/dog.ts": 1, + "/src/animals/index.ts": 1, + "/src/zoo/zoo.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig-base.json": 3, + "/src/core/utilities.ts": 1, + "/src/lib/core/utilities.js": 1, + "/src/lib/core/utilities.d.ts": 1, + "/src/animals/animal.ts": 1, + "/src/animals/dog.ts": 1, + "/src/animals/index.ts": 1, + "/src/lib/animals/animal.js": 1, + "/src/animals/package.json": 1, + "/src/lib/animals/animal.d.ts": 1, + "/src/zoo/zoo.ts": 1, + "/src/lib/zoo/zoo.js": 1, + "/src/lib/zoo/zoo.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/animals/": 3, + "/src/animals": 7, + "/src/core": 2, + "/src/animals/node_modules/@types": 1, + "/src/zoo/node_modules/@types": 1 +} + //// [/src/lib/animals/animal.d.ts] export declare type Size = "small" | "medium" | "large"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 2e34936ad43e3..e141b86fcc21d 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -79,6 +79,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/c.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] import { B } from "./b"; @@ -253,6 +277,36 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1, + "/src/lib/c.d.ts": 1, + "/src/lib/index.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1, + "/src/lib/c.d.ts": 1, + "/src/lib/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] import { B } from "./b"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index d54ea707e2c46..4a5fe82675696 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -79,6 +79,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/c.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] import { B } from "./b"; @@ -240,6 +264,36 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1, + "/src/lib/c.d.ts": 1, + "/src/lib/index.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1, + "/src/lib/c.d.ts": 1, + "/src/lib/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] import { B } from "./b"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 9f067f0726e82..e92a641de02e2 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -73,6 +73,27 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 1 +} + +directoryExists:: { + "/src/src": 4, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] export declare class B { @@ -213,6 +234,35 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 2, + "/src/lib/b.d.ts": 1, + "/src/lib/c.d.ts": 1 +} + +setModifiedTime:: { + "/src/lib/b.d.ts": 1, + "/src/lib/b.d.ts.map": 1, + "/src/lib/c.d.ts": 1, + "/src/lib/c.d.ts.map": 1 +} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 1 +} + +directoryExists:: { + "/src/src": 4, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] file written with same contents //// [/src/lib/a.d.ts.map] @@ -324,6 +374,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/a.ts": 1, + "/src/src/b.ts": 1, + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/b.d.ts": 1 +} + +directoryExists:: { + "/src/src": 4, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/lib/a.d.ts] export declare class B { diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 575b201365469..969f5dbb77e27 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -63,6 +63,24 @@ Output:: /lib/tsc --b /src/with-references exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/index.d.ts] export declare function multiply(a: number, b: number): number; diff --git a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js index de16bd6493892..ada39a9ce36e4 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js @@ -71,4 +71,12 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js index e2cf85386187f..7ed843d7771e6 100644 --- a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js +++ b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js @@ -25,4 +25,12 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index eb3f872d7a944..c2679ad842b76 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -81,6 +81,32 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -268,6 +294,41 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1, + "/src/obj/lazyIndex.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/index.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: () => void; @@ -404,6 +465,41 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1, + "/src/obj/lazyIndex.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/index.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index b507ad314cd90..cb79cde7de02a 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -81,6 +81,32 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -268,6 +294,38 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/index.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: () => void; @@ -405,6 +463,38 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/index.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 9ddb383e8d5c0..28183ed29582d 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -83,6 +83,32 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -278,6 +304,32 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} @@ -422,6 +474,44 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1, + "/src/obj/index.d.ts": 1, + "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1, + "/src/obj/lazyIndex.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1, + "/src/obj/index.d.ts": 1, + "/src/obj/lazyIndex.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] file written with same contents //// [/src/obj/bar.js] file written with same contents @@ -550,6 +640,32 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} @@ -689,6 +805,38 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bundling.d.ts": 1 +} + +setModifiedTime:: { + "/src/obj/bundling.js": 1, + "/src/obj/bundling.d.ts": 1, + "/src/obj/index.js": 1 +} + +fileExists:: { + "/src/bar.ts": 1, + "/src/bundling.ts": 1, + "/src/global.d.ts": 1, + "/src/index.ts": 1, + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 +} + +directoryExists:: { + "/src": 6, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/obj/bar.d.ts] declare const _default: () => void; diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index e2b0c11bbcc8f..bf34f25bbfa51 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -117,6 +117,45 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/common/nominal.js": 1, + "/src/sub-project/index.js": 1, + "/src/sub-project-2/index.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/common/nominal.js": 1, + "/lib/common/nominal.js": 1, + "/lib/common/nominal.d.ts": 1, + "/src/sub-project/index.js": 1, + "/lib/sub-project/index.js": 1, + "/src/common/nominal.ts": 1, + "/src/common/nominal.tsx": 1, + "/src/common/nominal.d.ts": 1, + "/lib/sub-project/index.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/lib/sub-project-2/index.js": 1, + "/src/sub-project/index.ts": 1, + "/src/sub-project/index.tsx": 1, + "/src/sub-project/index.d.ts": 1, + "/lib/sub-project-2/index.d.ts": 1 +} + +directoryExists:: { + "/src/common/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/common": 4, + "/src/common/nominal": 1, + "/src/sub-project/node_modules/@types": 1, + "/src/sub-project": 4, + "/src/sub-project/index": 1, + "/src/sub-project-2/node_modules/@types": 1 +} + //// [/lib/common/nominal.d.ts] export type Nominal = T & { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 565c3f004e736..25bd862c6fd2b 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -117,6 +117,54 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/common/index.ts": 1, + "/src/common/obj.json": 1, + "/src/sub-project/index.js": 1, + "/src/sub-project-2/index.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/common/index.ts": 1, + "/src/common/obj.json": 1, + "/src/common/index.js": 1, + "/src/common/obj.json.ts": 1, + "/src/common/obj.json.tsx": 1, + "/src/common/obj.json.d.ts": 1, + "/src/common/obj.json.js": 1, + "/src/common/obj.json.jsx": 1, + "/src/common/index.d.ts": 1, + "/src/sub-project/index.js": 1, + "/out/sub-project/index.js": 1, + "/src/common.ts": 1, + "/src/common.tsx": 1, + "/src/common.d.ts": 1, + "/src/common/package.json": 1, + "/out/sub-project/index.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/out/sub-project-2/index.js": 1, + "/src/sub-project/index.ts": 1, + "/src/sub-project/index.tsx": 1, + "/src/sub-project/index.d.ts": 1, + "/out/sub-project-2/index.d.ts": 1 +} + +directoryExists:: { + "/src/common": 10, + "/src/common/obj.json": 1, + "/src/common/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src": 2, + "/src/sub-project/node_modules/@types": 1, + "/src/sub-project": 4, + "/src/sub-project/index": 1, + "/src/sub-project-2/node_modules/@types": 1 +} + //// [/out/sub-project/index.d.ts] export const m: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 26dcebdc0412f..2973772a16ab5 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -119,6 +119,35 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/common/nominal.js": 1, + "/src/sub-project/index.js": 1, + "/src/sub-project-2/index.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/common/nominal.js": 1, + "/src/common/common.js": 3, + "/src/common/common.d.ts": 2, + "/src/sub-project/index.js": 1, + "/src/sub-project/sub-project.js": 3, + "/src/sub-project/sub-project.d.ts": 2, + "/src/sub-project-2/index.js": 1, + "/src/sub-project-2/sub-project-2.js": 2, + "/src/sub-project-2/sub-project-2.d.ts": 2 +} + +directoryExists:: { + "/src/common/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/sub-project/node_modules/@types": 1, + "/src/sub-project-2/node_modules/@types": 1 +} + //// [/src/common/common.d.ts] type Nominal = T & { @@ -478,6 +507,48 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/common/nominal.js": 1, + "/src/common/common.js": 1, + "/src/common/common.d.ts": 2, + "/src/common/common.tsbuildinfo": 1, + "/src/common/tsconfig.json": 1, + "/src/tsconfig.base.json": 2, + "/src/sub-project/index.js": 1, + "/src/sub-project/sub-project.js": 1, + "/src/sub-project/sub-project.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/src/sub-project-2/sub-project-2.js": 1, + "/src/sub-project-2/sub-project-2.d.ts": 3, + "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, + "/src/sub-project-2/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/sub-project-2/sub-project-2.d.ts": 1 +} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/common/nominal.js": 1, + "/src/common/common.js": 1, + "/src/common/common.d.ts": 1, + "/src/common/common.tsbuildinfo": 1, + "/src/sub-project/index.js": 1, + "/src/sub-project/sub-project.js": 2, + "/src/sub-project/sub-project.d.ts": 2, + "/src/sub-project-2/index.js": 1, + "/src/sub-project-2/sub-project-2.js": 2, + "/src/sub-project-2/sub-project-2.d.ts": 2, + "/src/sub-project-2/sub-project-2.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/sub-project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/sub-project/sub-project.d.ts] file written with same contents //// [/src/sub-project/sub-project.js] diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 9345e1527b5bb..8e0f8c2380c3f 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -57,6 +57,27 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 +} + +directoryExists:: { + "/src/src": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/src/hkt.js] "use strict"; @@ -166,6 +187,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 +} + +setModifiedTime:: { + "/src/src/hkt.js": 1 +} + +fileExists:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 +} + +directoryExists:: { + "/src/src": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/src/main.js] "use strict"; @@ -269,6 +314,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 +} + +setModifiedTime:: { + "/src/src/hkt.js": 1 +} + +fileExists:: { + "/src/src/globals.d.ts": 1, + "/src/src/hkt.ts": 1, + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 +} + +directoryExists:: { + "/src/src": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index c55b036326f9c..b05b50fdd303c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -33,6 +33,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b packages/pkg1 --verbose --traceResolution Output:: [12:00:39 AM] Projects in this build: @@ -215,3 +223,51 @@ exports.theNum = void 0; exports.theNum = 42; + +fileExists:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg2": 7, + "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/pkg2/build": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/pkg1/build": 1, + "/user/username/projects/myproject/packages/pkg1": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 2f25668c14d83..4071a1ae53ad0 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -33,6 +33,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b packages/pkg1 --verbose --traceResolution Output:: [12:00:39 AM] Projects in this build: @@ -216,3 +224,52 @@ exports.theNum = void 0; exports.theNum = 42; + +fileExists:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg2": 7, + "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/pkg2/build": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/pkg1/build": 1, + "/user/username/projects/myproject/packages/pkg1": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index 577f875cc7c5e..dab9741e1c692 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -62,6 +62,33 @@ Resolving real path for '/src/packages/typeroot2/sometype/index.d.ts', result '/ ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot2/sometype/index.d.ts', primary: true. ======== exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/packages/pkg1_index.ts": 1, + "/src/packages/pkg2_index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/packages/pkg1_index.ts": 1, + "/src/packages/pkg1_index.js": 1, + "/src/packages/typeroot1/sometype/package.json": 1, + "/src/packages/typeroot1/sometype/index.d.ts": 1, + "/src/packages/pkg1_index.d.ts": 1, + "/src/packages/pkg2_index.ts": 1, + "/src/packages/pkg2_index.js": 1, + "/src/packages/typeroot2/sometype/package.json": 1, + "/src/packages/typeroot2/sometype/index.d.ts": 1, + "/src/packages/pkg2_index.d.ts": 1 +} + +directoryExists:: { + "/src/packages/typeroot1": 2, + "/src/packages/typeroot1/sometype": 3, + "/src/packages/typeroot2": 2, + "/src/packages/typeroot2/sometype": 3 +} + //// [/src/packages/pkg1.tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index c8c48ac9ca7e8..ee5ae95cf505c 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -140,6 +140,55 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src-types/dogconfig.ts": 1, + "/src/src-types/index.ts": 1, + "/src/src-dogs/dog.ts": 1, + "/src/src-dogs/dogconfig.ts": 1, + "/src/src-dogs/index.ts": 1, + "/src/src-dogs/lassie/lassieconfig.ts": 1, + "/src/src-dogs/lassie/lassiedog.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig-base.json": 2, + "/src/src-types/dogconfig.ts": 1, + "/src/src-types/index.ts": 1, + "/src/src-types/dogconfig.js": 1, + "/src/src-types/package.json": 1, + "/lib/package.json": 1, + "/package.json": 1, + "/src/src-types/dogconfig.d.ts": 1, + "/src/src-dogs/dog.ts": 1, + "/src/src-dogs/dogconfig.ts": 1, + "/src/src-dogs/index.ts": 1, + "/src/src-dogs/lassie/lassieconfig.ts": 1, + "/src/src-dogs/lassie/lassiedog.ts": 1, + "/src/src-dogs/dog.js": 1, + "/src/src-dogs/package.json": 1, + "/src/src-dogs/node_modules/src-types/package.json": 1, + "/src/src-dogs/node_modules/src-types/index.ts": 1, + "/src/src-dogs/lassie/package.json": 1, + "/src/src-dogs/dogconfig.d.ts": 1 +} + +directoryExists:: { + "/src/src-types": 3, + "/src/src-types/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/lib": 1, + "/": 1, + "/src/src-dogs": 5, + "/src/src-dogs/node_modules": 1, + "/src/src-dogs/node_modules/src-types": 2, + "/src/src-dogs/lassie": 5, + "/src/src-dogs/lassie/node_modules": 1, + "/src/src-dogs/node_modules/@types": 1 +} + //// [/src/src-dogs/dog.d.ts] import { DogConfig } from 'src-types'; diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index b1b2feb8dd399..9ee3b4c47f95c 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -137,6 +137,38 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/solution/common/nominal.ts": 1, + "/src/solution/sub-project/index.ts": 1, + "/src/solution/sub-project-2/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/solution/common/nominal.ts": 1, + "/src/lib/solution/common/nominal.js": 1, + "/src/lib/solution/common/nominal.d.ts": 1, + "/src/solution/sub-project/index.ts": 1, + "/src/lib/solution/sub-project/index.js": 1, + "/src/lib/solution/sub-project/index.d.ts": 1, + "/src/solution/sub-project-2/index.ts": 1, + "/src/lib/solution/sub-project-2/index.js": 1, + "/src/lib/solution/sub-project-2/index.d.ts": 1 +} + +directoryExists:: { + "/src/solution/common/node_modules/@types": 1, + "/src/solution/node_modules/@types": 3, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/solution/common": 2, + "/src/solution/sub-project/node_modules/@types": 1, + "/src/solution/sub-project": 2, + "/src/solution/sub-project-2/node_modules/@types": 1 +} + //// [/src/lib/solution/common/nominal.d.ts] export declare type Nominal = T & { diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index cdc50a3310aa7..0cce598dc2982 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -70,6 +70,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -188,6 +209,27 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -217,6 +259,27 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -302,4 +365,29 @@ Output:: /lib/tsc --b /src/tsconfig.json --incremental exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/dev-build/tsconfig.tsbuildinfo": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/dev-build/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js index be0a1797b74d2..550735fd73f14 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js @@ -70,6 +70,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -109,6 +130,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -144,6 +186,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -172,4 +235,27 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index 1136e600ff010..f4151202f8d11 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -64,6 +64,27 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -95,6 +116,27 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -132,6 +174,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -223,4 +286,29 @@ Output:: /lib/tsc --b /src/tsconfig.json --incremental exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/dev-build/tsconfig.tsbuildinfo": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/dev-build/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js index 2c6df079b51ff..ee87c9511233c 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js @@ -64,6 +64,27 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -95,6 +116,27 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -132,6 +174,27 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/src/shared/types": 2, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -162,4 +225,27 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/shared/types/db.ts": 1, + "/src/src/main.ts": 1, + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1, + "/src/dev-build/src/main.js": 1, + "/src/dev-build/src/other.js": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 086dc3f5822e2..e10d6389bec32 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -535,6 +535,30 @@ Output:: /lib/tsc --b /src/third --clean exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/first/bin/first-output.d.ts.map": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: {} + //// [/src/2/second-output.d.ts] unlink //// [/src/2/second-output.d.ts.map] unlink @@ -561,4 +585,28 @@ Output:: /lib/tsc --b /src/third --clean exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/first/bin/first-output.d.ts.map": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 8903f45aeb498..8b2519a42a68d 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/first_PART1.js": 1, + "/src/first/first_PART1.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/second_part1.js": 1, + "/src/second/second_part1.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/third_part1.js": 1, + "/src/third/third_part1.d.ts": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/first_PART1.d.ts] interface TheFirst { diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index c7836fc59c6ec..0c58f1de717aa 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -592,6 +626,57 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -743,6 +828,58 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 9eb72aa47116e..f2646bdaf23cb 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 1b9d7357ac1d7..d21b2bcfc6346 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -549,6 +549,68 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 3, + "/src/first/bin/first-output.d.ts.map": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 2, + "/src/first/bin/first-output.d.ts.map": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 3c8553b67e9a4..4d6326d4da095 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -170,6 +170,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -1940,6 +1974,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3260,6 +3345,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 1ac4d105768e5..075f49d3378db 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -148,6 +148,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index e5e1dda583762..57ac5dd61dbff 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -176,6 +176,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2721,6 +2755,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -4644,6 +4729,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -6143,6 +6283,60 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 3bdb94abaa98b..5a0705353e68c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -152,6 +152,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2322,6 +2356,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -3468,6 +3557,60 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 1bcf4ccb3f0e8..a426edf10c796 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -172,6 +172,40 @@ src/third/third_part1.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -1939,6 +1973,57 @@ src/third/third_part1.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3245,6 +3330,61 @@ src/first/first_part3.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 2c165b72e99aa..1054bdd19729e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -168,6 +168,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -3921,6 +3955,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -6125,6 +6214,60 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 38cd8cd46eb4a..414131bff3482 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -158,6 +158,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2956,6 +2990,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -4552,6 +4641,60 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index b69c99cca3eea..e9b5a6a6c73c7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -175,6 +175,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2254,6 +2288,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3774,6 +3859,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -4946,6 +5086,60 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 2f0f11c73f3b6..07931334bf143 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -152,6 +152,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2110,6 +2144,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -3180,6 +3269,60 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index fcd1f1f69efaf..05e40070fdb4c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -174,6 +174,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] #!someshebang second second_part1 @@ -1969,6 +2003,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] #!someshebang first first_PART1 @@ -3308,6 +3393,61 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 1549d2753107a..b3a3224bccc2b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -151,6 +151,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] #!someshebang second second_part1 @@ -1916,6 +1950,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index f1cae324651e7..6ece74f421f9b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -170,6 +170,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -2030,6 +2064,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3410,6 +3495,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -4448,6 +4588,60 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 398b8508f8f80..b33b0c067281e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -1944,6 +1978,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -2911,6 +3000,60 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index 40c0dac462001..f13c03febc4ad 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -178,6 +178,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 1e89edc137379..2aaf7b0a3948d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -177,6 +177,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5716,6 +5750,63 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] file changed its modified time @@ -10046,6 +10137,64 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index b49f73cf28e5a..2a4d0e400daf6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -176,6 +176,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -5421,6 +5455,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -7750,6 +7839,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 795e00d38ae3a..343d827bf3b90 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -177,6 +177,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] /**@internal*/ interface TheFirst { @@ -6058,6 +6092,63 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 8ca8f6e8e81de..a61b038038374 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -176,6 +176,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -5757,6 +5791,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index f590ed1d3d029..90ad89eabd7e2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -173,6 +173,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index b04f3b500d19d..c39ee2ca3a966 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -197,6 +197,40 @@ readFiles:: { "/src/2/second-output.js.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5753,6 +5787,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] interface TheFirst { @@ -11314,6 +11399,63 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] file changed its modified time @@ -15666,6 +15808,64 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 7ab0ff0f81b85..9dd5372ce1b8a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -93,6 +93,29 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] declare const A = 1; diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index ea02b542b4c4a..a8e57fc828638 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -177,6 +177,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5916,6 +5950,63 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] file changed its modified time @@ -10446,6 +10537,64 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index a76f9e78315ca..22ce19fcb9437 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -176,6 +176,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -5621,6 +5655,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8050,6 +8139,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 7b8fd895f35eb..f4549bdfa62f5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -196,6 +196,40 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -5458,6 +5492,57 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -8174,6 +8259,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -10525,6 +10665,61 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 48cc80392a17d..74e7ff565dc2f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -188,6 +188,42 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] /// @@ -2293,6 +2329,59 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] /// @@ -3881,6 +3970,63 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 87d297bab5091..69cc61f306e08 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -155,6 +155,42 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] /// @@ -2039,6 +2075,63 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/second/tripleRef.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index b7e1a5e27adbb..45be613f950e2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index ff11c35de4f10..3c1d3ac3eaf93 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -150,6 +150,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -1743,6 +1777,57 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index b45fdc438c1f4..df80a93c8950b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -151,6 +151,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 3050a9a42b31c..301c5d76dd2d3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -148,6 +148,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/third/third_part1.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 3, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 3, + "/src/2/second-output.d.ts": 2, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.d.ts": 2 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/second/node_modules/@types": 1, + "/src/third/node_modules/@types": 1 +} + //// [/src/2/second-output.d.ts] declare namespace N { @@ -1801,6 +1835,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/second/tsconfig.json": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/third/thirdjs/output/third-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.d.ts.map": 1 +} + +fileExists:: { + "/src/first/first_PART1.ts": 1, + "/src/first/first_part2.ts": 1, + "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 2, + "/src/second/second_part1.ts": 1, + "/src/second/second_part2.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.js.map": 1, + "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts.map": 1, + "/src/2/second-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 2, + "/src/third/thirdjs/output/third-output.js.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/first/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index ea46431e9b3a4..c1db9c1ce63fb 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -33,6 +33,23 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/index.d.ts] export declare const x = 10; @@ -96,6 +113,25 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 2, + "/src/dist/tsconfig.tsbuildinfo": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1, + "/src/dist/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + @@ -107,4 +143,18 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index cc9359c666105..aefeec1cb810b 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -33,6 +33,22 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.js] "use strict"; @@ -56,6 +72,21 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: {} + @@ -67,5 +98,19 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index b5088545626c2..f1efb7c5d67f8 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -43,6 +43,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -68,6 +86,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -86,6 +122,20 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.d.ts] export declare const x = 10; diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js index bf218767e26c2..34cdd48e32d17 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js @@ -43,6 +43,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -68,6 +86,24 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -86,6 +122,20 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index ed727c451f7d9..9ac4ebb72bbb7 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -33,6 +33,22 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.js] "use strict"; @@ -56,6 +72,21 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1, + "/src/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 +} + +directoryExists:: {} + @@ -67,5 +98,19 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 29d1169125a6d..85f57dc9032fa 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -59,6 +59,34 @@ Output:: /lib/tsc --b /src/src/main /src/src/other exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/other/other.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 2, + "/src/src/other/other.ts": 1, + "/src/dist/other/other.js": 1, + "/src/dist/other/other.d.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1, + "/src/dist/main/a.js": 1, + "/src/dist/main/b.d.ts": 1 +} + +directoryExists:: { + "/src/src/other/node_modules/@types": 1, + "/src/src/node_modules/@types": 2, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/src/main": 2, + "/src/src/main/node_modules/@types": 1 +} + //// [/src/dist/main/a.d.ts] export {}; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 12a5c45991fae..78c87513dbc1f 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -79,6 +79,33 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: { + "/src/src/other/other.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 2, + "/src/src/other/other.ts": 1, + "/src/dist/other.js": 1, + "/src/dist/other.d.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1, + "/src/dist/a.js": 1 +} + +directoryExists:: { + "/src/src/other/node_modules/@types": 1, + "/src/src/node_modules/@types": 2, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/src/main": 2, + "/src/src/main/node_modules/@types": 1 +} + //// [/src/dist/other.d.ts] export declare const Other = 0; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index a92cfc67c9b35..bf95135407fa2 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -72,6 +72,32 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: { + "/src/src/other/other.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/other/other.ts": 1, + "/src/dist/other.js": 1, + "/src/dist/other.d.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1, + "/src/dist/a.js": 1 +} + +directoryExists:: { + "/src/src/other/node_modules/@types": 1, + "/src/src/node_modules/@types": 2, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/src/main": 2, + "/src/src/main/node_modules/@types": 1 +} + //// [/src/dist/other.d.ts] export declare const Other = 0; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 93838c0fbfa04..750304ae4dbb8 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -64,6 +64,33 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/other/other.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/other/other.ts": 1, + "/src/dist/other.js": 1, + "/src/dist/other.d.ts": 1, + "/src/src/main/a.ts": 1, + "/src/src/main/b.ts": 1, + "/src/dist/a.js": 1, + "/src/dist/b.d.ts": 1 +} + +directoryExists:: { + "/src/src/other/node_modules/@types": 1, + "/src/src/node_modules/@types": 2, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/src/main": 2, + "/src/src/main/node_modules/@types": 1 +} + //// [/src/dist/a.d.ts] export {}; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index f3901ed5a2050..581da7a937872 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -115,6 +115,32 @@ src/src/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index f472d1de303c2..157d5eb7af5ee 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -96,6 +96,36 @@ src/main/index.ts Matched by include pattern './**/*.ts' in 'src/main/tsconfig.json' exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/strings/foo.json": 1, + "/src/main/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 2, + "/src/strings/foo.json": 1, + "/src/strings/tsconfig.tsbuildinfo": 1, + "/src/main/index.ts": 1, + "/src/main/index.js": 1, + "/src/strings/foo.json.ts": 1, + "/src/strings/foo.json.tsx": 1, + "/src/strings/foo.json.d.ts": 1, + "/src/strings/foo.json.js": 1, + "/src/strings/foo.json.jsx": 1, + "/src/main/index.d.ts": 1 +} + +directoryExists:: { + "/src/strings/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/strings": 6, + "/src/strings/foo.json": 1, + "/src/main/node_modules/@types": 1 +} + //// [/src/main/index.d.ts] export {}; @@ -222,4 +252,30 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/strings/foo.json": 1, + "/src/strings/tsconfig.tsbuildinfo": 1, + "/src/strings/tsconfig.json": 1, + "/src/tsconfig.json": 2, + "/src/main/index.ts": 1, + "/src/main/index.js": 1, + "/src/main/index.d.ts": 2, + "/src/main/tsconfig.tsbuildinfo": 1, + "/src/main/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.json": 2, + "/src/strings/foo.json": 1, + "/src/strings/tsconfig.tsbuildinfo": 1, + "/src/main/index.ts": 1, + "/src/main/index.js": 1, + "/src/main/index.d.ts": 1, + "/src/main/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index bebf482139e78..3e3a87857092a 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -115,6 +115,32 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeAndFiles.json' exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/hello.json": 1, + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/hello.json": 1, + "/src/src/index.ts": 1, + "/src/dist/src/hello.json": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 5347b4cacb6eb..1e97d42eb766c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -113,6 +113,32 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeOfJson.json' exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/index.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/index.json": 1, + "/src/dist/src/index.js": 1, + "/src/src/index.json.ts": 1, + "/src/src/index.json.tsx": 1, + "/src/src/index.json.d.ts": 1, + "/src/src/index.json.js": 1, + "/src/src/index.json.jsx": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/index.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/index.d.ts] declare const _default: string; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 7696b5ed77dbe..2f1283abecc5d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -115,6 +115,32 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeOfJson.json' exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 476128c015bea..847aa41108ae3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -122,6 +122,30 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: { + "/src/src/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/dist/src/index.js": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/src/hello.json": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/tsconfig_withInclude.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index f4bd738681cb3..eeac1647d0d25 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -115,6 +115,32 @@ src/src/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/dist/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dist/src/hello.json] { @@ -211,4 +237,29 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.js.map": 1, + "/src/dist/src/index.d.ts": 2, + "/src/dist/src/hello.json": 1, + "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, + "/src/tsconfig_withFiles.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.js.map": 1, + "/src/dist/src/index.d.ts": 1, + "/src/dist/src/hello.json": 1, + "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index ef88243f69f6c..2cf5ea74758b6 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -108,6 +108,32 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/src/index.js": 1, + "/src/src/hello.json.ts": 1, + "/src/src/hello.json.tsx": 1, + "/src/src/hello.json.d.ts": 1, + "/src/src/hello.json.js": 1, + "/src/src/hello.json.jsx": 1, + "/src/src/index.d.ts": 1 +} + +directoryExists:: { + "/src/src": 6, + "/src/src/hello.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/src/index.d.ts] declare const _default: string; @@ -193,4 +219,25 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/src/index.js": 1, + "/src/src/index.d.ts": 2, + "/src/tsconfig_withFiles.tsbuildinfo": 1, + "/src/tsconfig_withFiles.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/src/index.ts": 1, + "/src/src/hello.json": 1, + "/src/src/index.js": 1, + "/src/src/index.d.ts": 1, + "/src/tsconfig_withFiles.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 1675145260d99..51cdb0d984629 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -113,6 +113,35 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/tsconfig.json": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -397,6 +426,40 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/tsconfig.json": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/index.d.ts": 1, + "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file written with same contents //// [/src/core/anotherModule.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index f7896cd8809e2..e422e1d930b0a 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -89,6 +89,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Project Result:: {"project":"/user/username/projects/core/tsconfig.json","result":0} Output:: @@ -178,6 +186,31 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/some_decl.d.ts": 1, + "/user/username/projects/core/anothermodule.js": 1, + "/user/username/projects/core/anothermodule.d.ts": 1, + "/user/username/projects/core/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/some_decl.d.ts": 1 +} + +setModifiedTimes:: {} + Project Result:: {"project":"/user/username/projects/logic/tsconfig.json","result":0} Output:: @@ -272,6 +305,28 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core": 4, + "/user/username/projects/logic/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Project Result:: {"project":"/user/username/projects/tests/tsconfig.json","result":0} Output:: @@ -374,6 +429,37 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/tests/index.ts": 1, + "/user/username/projects/tests/index.js": 1, + "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core": 4, + "/user/username/projects/logic": 2, + "/user/username/projects/tests/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Project Result:: {} Output:: + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 2666ba5850792..ea9ee20f2736d 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -101,6 +101,40 @@ Output:: /lib/tsc --b /src/tests exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/out/decls/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 29b490c871219..be44b5c8c3594 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -101,6 +101,40 @@ Output:: /lib/tsc --b /src/tests exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/outDir/index.js": 1, + "/src/logic/outDir/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 1b3b015767245..73d629576d57a 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -120,6 +120,28 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index eeb8a8b0474a0..9c5d11fca49e7 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -397,6 +397,57 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 2, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + @@ -424,6 +475,57 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/tests/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/tests/index.d.ts] declare const m = 10; @@ -506,6 +608,62 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] @@ -614,6 +772,61 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/tests/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 4e885be7d2d36..5eb353daaccdd 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -138,6 +138,36 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/core": 4, + "/src/logic/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index 9b45ce6533106..84768af88ea24 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -119,4 +119,27 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index d075688f2ddf7..ed5bc25ea2832 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -162,6 +162,40 @@ src/tests/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -504,6 +538,56 @@ src/tests/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] @@ -784,6 +868,62 @@ src/core/some_decl.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 6d248452c79c0..6ebb515987f99 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -392,4 +392,55 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 2, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index e67f096921f18..22e5519dfd87d 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -362,6 +362,45 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/some_decl.d.ts": 1, + "/user/username/projects/core/anothermodule.js": 1, + "/user/username/projects/core/anothermodule.d.ts": 1, + "/user/username/projects/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/tests/index.ts": 1, + "/user/username/projects/tests/index.js": 1, + "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/core": 8, + "/user/username/projects/logic/node_modules/@types": 1, + "/user/username/projects/logic": 2, + "/user/username/projects/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/some_decl.d.ts": 1, + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Project should still be upto date: UpToDate non Dts change to logic:: After rebuilding logicConfig Output:: @@ -462,6 +501,32 @@ function foo() { } } +fileExists:: { + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core": 4, + "/user/username/projects/logic/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + non Dts change to logic:: After building next project Output:: @@ -469,6 +534,20 @@ Output:: //// [/user/username/projects/tests/index.d.ts] file changed its modified time //// [/user/username/projects/tests/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/tests/index.js": 1, + "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 +} + Dts change to Logic:: After rebuilding logicConfig Output:: @@ -581,6 +660,31 @@ export declare class cNew { } +fileExists:: { + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/anothermodule.ts": 1, + "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core": 4, + "/user/username/projects/logic/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1 +} + +setModifiedTimes:: {} + Dts change to Logic:: After building next project Output:: @@ -667,3 +771,24 @@ Output:: "size": 1647 } + +fileExists:: { + "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/core": 4, + "/user/username/projects/logic": 2, + "/user/username/projects/tests/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index df09baa764240..b626d97494db8 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -127,6 +127,40 @@ TSFILE: /src/tests/index.d.ts TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -429,6 +463,56 @@ TSFILE: /src/tests/index.d.ts TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] @@ -686,6 +770,62 @@ TSFILE: /src/core/index.d.ts TSFILE: /src/core/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 15474e1e56611..89cbe897f5456 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -126,6 +126,40 @@ Output:: /src/tests/index.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -430,6 +464,56 @@ Output:: /src/tests/index.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] @@ -687,6 +771,62 @@ Output:: /src/core/some_decl.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 3f96dc28c2d8e..2c2cd13f54f37 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -403,6 +403,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/tsconfig.json": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/index.d.ts": 1, + "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file written with same contents //// [/src/core/anotherModule.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 7f358a2228e6d..b15f61c1c31fe 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -133,6 +133,41 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tests/tsconfig.base.json": 1, + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -434,6 +469,65 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1, + "/src/tests/tsconfig.base.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/tests/tsconfig.base.json": 1, + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core": 6, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index e1550c0794621..8454f5016ce57 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -386,6 +386,29 @@ Output:: /lib/tsc --b /src/tests --clean exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + //// [/src/core/anotherModule.d.ts] unlink //// [/src/core/anotherModule.d.ts.map] unlink @@ -411,4 +434,27 @@ Output:: /lib/tsc --b /src/tests --clean exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 056af692914e8..db0e7b93a2285 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -145,6 +145,40 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -746,6 +780,56 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] @@ -1165,6 +1249,62 @@ readFiles:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 3, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: { + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] file written with same contents @@ -1300,6 +1440,59 @@ readFiles:: { "/src/logic/decls/index.d.ts": 1, "/src/tests/index.d.ts": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/decls/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/logic/decls/index.d.ts] export declare function getSecondsInDay(): number; @@ -1490,4 +1683,55 @@ readFiles:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/decls/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 2, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/decls/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 8cbc1cb61707d..b1fdffdd71f03 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -118,6 +118,27 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.js] "use strict"; @@ -210,6 +231,29 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 8d12675ce94c4..1919ed4219e88 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -131,6 +131,40 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -445,6 +479,63 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 2, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 2, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 3, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/core/anotherModule.d.ts.map": 1, + "/src/core/index.js": 1, + "/src/core/index.d.ts": 1, + "/src/core/index.d.ts.map": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.js.map": 1, + "/src/logic/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core": 6, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index ce034e806bb15..e58d1abf39e13 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -146,6 +146,40 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/tests/index.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.ts": 1, + "/src/logic/index.js": 1, + "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src/core": 8, + "/src/logic/node_modules/@types": 1, + "/src/logic": 2, + "/src/tests/node_modules/@types": 1 +} + //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index a7ff8600d95c8..cd304a9480d4b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -118,6 +118,27 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.js] "use strict"; @@ -210,6 +231,33 @@ Output:: exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/core/anotherModule.js] define(["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index fc6789357bc70..1be3666bf7357 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -136,6 +136,28 @@ TSFILE: /src/core/tsconfig.tsbuildinfo /src/core/some_decl.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1, + "/node_modules": 2 +} + //// [/src/core/anotherModule.js] export const World = "hello"; @@ -236,6 +258,34 @@ TSFILE: /src/core/tsconfig.tsbuildinfo /src/core/some_decl.d.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/index.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1, + "/node_modules": 2 +} + //// [/src/core/anotherModule.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index c26dfd38b381d..08a4ffa90bb4e 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -69,6 +69,35 @@ Output:: /src/c.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/c.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1, + "/src/b.ts": 1, + "/src/b.js": 1, + "/src/b.d.ts": 1, + "/src/c.ts": 1, + "/src/c.js": 1, + "/src/refs/a.ts": 1, + "/src/refs/a.tsx": 1, + "/src/refs/a.d.ts": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src": 3, + "/src/refs": 3 +} + //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index f6c83225f3db0..ace86478a5c3a 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -81,6 +81,35 @@ Output:: /src/c.ts exitCode:: ExitStatus.Success +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/c.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1, + "/src/b.ts": 1, + "/src/b.js": 1, + "/src/b.d.ts": 1, + "/src/c.ts": 1, + "/src/c.js": 1, + "/src/refs/a.ts": 1, + "/src/refs/a.tsx": 1, + "/src/refs/a.d.ts": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 3, + "/node_modules/@types": 3, + "/src": 5, + "/src/refs": 3 +} + //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 5be1234237739..ae95f492e6a74 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -71,6 +71,31 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: { + "/src/a.ts": 1, + "/src/b.ts": 1, + "/src/c.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/a.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1, + "/src/b.ts": 1, + "/src/b.js": 1, + "/src/c.ts": 1, + "/src/c.js": 1 +} + +directoryExists:: { + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/node_modules": 2, + "/node_modules": 2 +} + //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 9d3742581c19f..d3e1babce503b 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -30,6 +30,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b -w Output:: >> Screen clear @@ -71,6 +79,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: reports syntax errors after change to config file Input:: @@ -87,6 +116,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -127,6 +164,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: reports syntax errors after change to ts file Input:: @@ -134,6 +192,14 @@ Input:: export function fooBar() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -174,11 +240,40 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: reports error when there is no change to tsconfig file Input:: //// [/user/username/projects/myproject/tsconfig.json] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -219,6 +314,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: builds after fixing config file errors Input:: @@ -226,6 +342,14 @@ Input:: {"compilerOptions":{"composite":true,"declaration":true},"files":["a.ts","b.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -332,3 +456,25 @@ export declare function bar(): void; "size": 880 } + +fileExists:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index dbaea614c79d5..82e53f7211ed2 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -143,6 +143,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -413,6 +421,46 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 3, + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/animals.ts": 1, + "/user/username/projects/demo/animals.tsx": 1, + "/user/username/projects/demo/animals.d.ts": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1, + "/user/username/projects/demo/lib/zoo/zoo.js": 1 +} + +directoryExists:: { + "/user/username/projects/demo": 3, + "/user/username/projects/demo/animals": 11, + "/user/username/projects/demo/core": 2, + "/user/username/projects/demo/core/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/demo/lib/core": 1, + "/user/username/projects/demo/lib": 1 +} + +getModifiedTimes:: { + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1 +} + +setModifiedTimes:: {} + Change:: Prepend a line Input:: @@ -432,6 +480,14 @@ export function lastElementOf(arr: T[]): T | undefined { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -678,3 +734,33 @@ exitCode:: ExitStatus.undefined "size": 2802 } + +fileExists:: { + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/animals.ts": 1, + "/user/username/projects/demo/animals.tsx": 1, + "/user/username/projects/demo/animals.d.ts": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1 +} + +directoryExists:: { + "/user/username/projects/demo": 2, + "/user/username/projects/demo/animals": 11, + "/user/username/projects/demo/core": 2, + "/user/username/projects/demo/core/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/demo/core/utilities.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 2b7648cb5a452..5238c3f189395 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -147,6 +147,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -202,6 +210,16 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 3 +} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix error Input:: @@ -215,6 +233,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -656,3 +682,47 @@ export declare function createZoo(): Array; "size": 1783 } + +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 1, + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/utilities.d.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/lib/animals/animal.d.ts": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1, + "/user/username/projects/demo/lib/zoo/zoo.js": 1, + "/user/username/projects/demo/lib/zoo/zoo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/demo/core/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/demo/lib/core": 1, + "/user/username/projects/demo/lib": 2, + "/user/username/projects/demo": 1, + "/user/username/projects/demo/animals": 10, + "/user/username/projects/demo/core": 2, + "/user/username/projects/demo/animals/node_modules/@types": 1, + "/user/username/projects/demo/lib/animals": 1, + "/user/username/projects/demo/zoo/node_modules/@types": 1, + "/user/username/projects/demo/lib/zoo": 1 +} + +getModifiedTimes:: { + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 3396771bc5867..b26800259f5e2 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -39,6 +39,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b packages/pkg1 --verbose -w --traceResolution Output:: >> Screen clear @@ -270,6 +278,65 @@ exports.theNum = 42; +fileExists:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg2/other.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/const.js.ts": 1, + "/user/username/projects/myproject/packages/pkg2/const.js.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/const.js.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 2, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg2": 4, + "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/pkg1/build": 1, + "/user/username/projects/myproject/packages/pkg1": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg2/other.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: reports import errors after change to package file Input:: @@ -277,6 +344,14 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/other.js"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -362,6 +437,45 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/other.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 +} + +setModifiedTimes:: {} + Change:: removes those errors when a package file is changed back Input:: @@ -369,6 +483,14 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/index.js"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -464,3 +586,49 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 07de3842a6fa7..ccc82f5a64fd7 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -36,6 +36,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b packages/pkg1 -w --verbose --traceResolution Output:: >> Screen clear @@ -261,6 +269,59 @@ export const theNum = 42; +fileExists:: { + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 2, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg2": 4, + "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/a/lib": 1, + "/a": 1, + "/": 1, + "/user/username/projects/myproject/packages/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1": 2, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/pkg1/build": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: reports import errors after change to package file Input:: @@ -268,6 +329,14 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"commonjs"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:11 AM] File change detected. Starting incremental compilation... @@ -381,6 +450,59 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg2": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/lib": 1, + "/a": 1, + "/": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 +} + +setModifiedTimes:: {} + Change:: removes those errors when a package file is changed back Input:: @@ -388,6 +510,14 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"module"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -491,6 +621,53 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg2": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/lib": 1, + "/a": 1, + "/": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 +} + +setModifiedTimes:: {} + Change:: reports import errors after change to package file Input:: @@ -498,6 +675,14 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"commonjs"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -611,6 +796,59 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg2": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/lib": 1, + "/a": 1, + "/": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 +} + +setModifiedTimes:: {} + Change:: removes those errors when a package file is changed to cjs extensions Input:: @@ -622,6 +860,14 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/index.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -768,3 +1014,42 @@ Object.defineProperty(exports, "__esModule", { value: true }); export type { TheNum } from './const.cjs'; + +fileExists:: { + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/index.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/const.cjs.ts": 1, + "/user/username/projects/myproject/packages/pkg2/const.cjs.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/const.cjs.d.ts": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.cts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg2": 3, + "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/lib": 1, + "/a": 1, + "/": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/index.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 9c07d419818b8..bb4f7a3f35a81 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -40,6 +40,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b -w -v Output:: >> Screen clear @@ -271,6 +279,51 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/project1/index.ts": 1, + "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, + "/user/username/projects/myproject/project1/node_modules/file.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, + "/user/username/projects/myproject/project1/node_modules/file.d.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.tsx": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1, + "/user/username/projects/myproject/project1/index.d.ts": 1, + "/user/username/projects/myproject/project2/index.ts": 1, + "/user/username/projects/myproject/project2/index.js": 1, + "/user/username/projects/myproject/project2/file.ts": 1, + "/user/username/projects/myproject/project2/file.tsx": 1, + "/user/username/projects/myproject/project2/file.d.ts": 1, + "/user/username/projects/myproject/project2/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/project1/node_modules": 2, + "/user/username/projects/myproject/project1/node_modules/file": 3, + "/user/username/projects/myproject/project1/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 6, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/myproject/node_modules/@types/foo": 5, + "/user/username/projects/myproject/node_modules/@types/bar": 3, + "/user/username/projects/myproject/project2": 1, + "/user/username/projects/myproject/project2/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/project1/index.ts": 1, + "/user/username/projects/myproject/project2/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Append text Input:: @@ -278,6 +331,14 @@ Input:: import { foo } from "file";const bar = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -402,3 +463,41 @@ var bar = 10; "size": 986 } + +fileExists:: { + "/user/username/projects/myproject/project1/index.ts": 1, + "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, + "/user/username/projects/myproject/project1/node_modules/file.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, + "/user/username/projects/myproject/project1/node_modules/file.d.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.ts": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.tsx": 1, + "/user/username/projects/myproject/project1/node_modules/file/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1, + "/user/username/projects/myproject/project1/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/project1/node_modules": 2, + "/user/username/projects/myproject/project1/node_modules/file": 3, + "/user/username/projects/myproject/project1/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 4, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types/foo": 3, + "/user/username/projects/myproject/node_modules/@types/bar": 3 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/project1/index.ts": 1, + "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/index.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 080ca6d1b743b..bb511b440da26 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -24,6 +24,14 @@ declare const console: { log(msg: any): void; }; {"compilerOptions":{"allowJs":true,"noEmit":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose --incremental Output:: >> Screen clear @@ -123,11 +131,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -169,6 +205,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: change Input:: @@ -176,6 +233,14 @@ Input:: const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -270,3 +335,24 @@ exitCode:: ExitStatus.undefined "size": 836 } + +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 2d382325db2b9..1edec88cc76aa 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -24,6 +24,14 @@ declare const console: { log(msg: any): void; }; {"compilerOptions":{"allowJs":true,"noEmit":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -75,11 +83,39 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -121,6 +157,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} + Change:: change Input:: @@ -128,6 +185,14 @@ Input:: const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -173,3 +238,24 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: { + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/a.js": 2, + "/user/username/projects/myproject/b.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 8c147b7dba4b9..9ff7fc4cabccd 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose --incremental Output:: >> Screen clear @@ -92,11 +100,43 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -146,6 +186,30 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -156,6 +220,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -284,6 +356,35 @@ console.log("hi"); } +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -292,6 +393,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -418,11 +527,44 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:26 AM] File change detected. Starting incremental compilation... @@ -472,6 +614,31 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -480,6 +647,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... @@ -593,11 +768,47 @@ var a = "hello"; } +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 +} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -647,3 +858,33 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/main.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/other.js": 1, + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index dd26029f8f51e..6a6a094943571 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -92,11 +100,43 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -146,6 +186,30 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -156,6 +220,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -227,6 +299,35 @@ console.log("hi"); +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -235,6 +336,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -286,11 +395,44 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -340,6 +482,31 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -348,6 +515,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -404,11 +579,47 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 +} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -457,3 +668,32 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time + +fileExists:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/noemitonerror/shared/types/db.ts": 1, + "/user/username/projects/noemitonerror/src/main.ts": 1, + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/main.js": 1, + "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index cdd4fcec9999d..f8b1d635eb0fb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -466,3 +474,38 @@ export declare const m: typeof mod; "size": 1617 } + +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 643d73446c30f..2a03dbde6fc80 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests -verbose Output:: >> Screen clear @@ -484,6 +492,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make non dts change Input:: @@ -498,6 +541,14 @@ export const m = mod; function someFn() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -645,6 +696,37 @@ function someFn() { } //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} + Change:: Make dts change Input:: @@ -659,6 +741,14 @@ export const m = mod; export function someFn() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -910,3 +1000,32 @@ export declare function someFn(): void; "size": 1658 } + +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 8c730f537d280..558100169a1c7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -25,6 +25,14 @@ export class myClass { } {"compilerOptions":{"composite":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -147,6 +155,29 @@ export declare class myClass { } +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} + Change:: Introduce error Input:: @@ -157,6 +188,14 @@ export var myClassWithError = class { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -201,6 +240,29 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +setModifiedTimes:: {} + Change:: Change fileWithoutError Input:: @@ -208,6 +270,14 @@ Input:: export class myClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -251,3 +321,26 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 5995d27a3ddd1..a9f2d5538b673 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -25,6 +25,14 @@ export class myClass { } {"compilerOptions":{"composite":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -147,6 +155,29 @@ export declare class myClass { } +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} + Change:: Introduce error Input:: @@ -157,6 +188,14 @@ export var myClassWithError = class { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -201,6 +240,29 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +setModifiedTimes:: {} + Change:: Fix error in fileWithError Input:: @@ -211,6 +273,14 @@ export var myClassWithError = class { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -255,3 +325,32 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/solution/app/fileWithoutError.d.ts] file changed its modified time //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents + +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1, + "/user/username/projects/solution/app/filewithouterror.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/solution/app/filewithouterror.js": 1, + "/user/username/projects/solution/app/filewithouterror.d.ts": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 4015ea581646e..a36b3933d516a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -25,6 +25,14 @@ export class myClass { } {"compilerOptions":{"composite":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -74,6 +82,28 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} + Change:: Change fileWithoutError Input:: @@ -81,6 +111,14 @@ Input:: export class myClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -124,3 +162,25 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index c019a99ee91c7..25eb727a444b6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -25,6 +25,14 @@ export class myClass { } {"compilerOptions":{"composite":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -74,6 +82,28 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} + Change:: Fix error in fileWithError Input:: @@ -84,6 +114,14 @@ export var myClassWithError = class { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -200,3 +238,26 @@ export declare class myClass { "size": 984 } + +fileExists:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/solution/app/node_modules/@types": 1, + "/user/username/projects/solution/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/solution/app/filewitherror.ts": 1, + "/user/username/projects/solution/app/filewithouterror.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index a8153212b3918..2a5d2ed2de9ac 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -467,6 +475,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: change logic Input:: @@ -481,6 +524,14 @@ export const m = mod; let y: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -622,6 +673,30 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1 +} + +setModifiedTimes:: {} + Change:: change core Input:: @@ -633,6 +708,14 @@ export function multiply(a: number, b: number) { return a * b; } let x: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -753,3 +836,26 @@ exitCode:: ExitStatus.undefined "size": 1450 } + +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index eb6b300a47b3e..a1e0582de494f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests --preserveWatchOutput Output:: [12:00:45 AM] Starting compilation in watch mode... @@ -466,6 +474,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: change logic Input:: @@ -480,6 +523,14 @@ export const m = mod; let y: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:24 AM] File change detected. Starting incremental compilation... @@ -620,6 +671,30 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1 +} + +setModifiedTimes:: {} + Change:: change core Input:: @@ -631,6 +706,14 @@ export function multiply(a: number, b: number) { return a * b; } let x: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:35 AM] File change detected. Starting incremental compilation... @@ -750,3 +833,26 @@ exitCode:: ExitStatus.undefined "size": 1450 } + +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 7a9b4eeb19a32..6b83b714b29db 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -26,6 +26,14 @@ export const World = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/core -verbose Output:: >> Screen clear @@ -147,10 +155,43 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/sample1/core/outdir": 1, + "/user/username/projects/sample1/core": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -170,6 +211,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -177,6 +226,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -288,10 +345,51 @@ export declare const y = 10; +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/file3.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/outdir/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/outdir/index.js": 1, + "/user/username/projects/sample1/core/outdir/index.d.ts": 1 +} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -312,3 +410,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index c81779a12522e..8c74aebafe017 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -33,6 +33,14 @@ export const World = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/core -verbose Output:: >> Screen clear @@ -162,10 +170,41 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -185,6 +224,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -192,6 +239,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -310,10 +365,53 @@ export declare const y = 10; //# sourceMappingURL=file3.d.ts.map +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/file3.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1 +} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -334,3 +432,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index caef5fcf161d3..7f0788a578e30 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -340,3 +348,32 @@ export declare const m: typeof mod; "size": 1472 } + +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index a9713a1320982..3546e050e157e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -68,6 +68,14 @@ export const m = mod; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -198,6 +206,32 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Write logic tsconfig and build logic Input:: @@ -217,6 +251,14 @@ Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:57 AM] File change detected. Starting incremental compilation... @@ -361,10 +403,42 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:16 AM] Found 0 errors. Watching for file changes. @@ -518,3 +592,26 @@ export declare const m: typeof mod; "size": 1617 } + +fileExists:: { + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index bc3d7d649a1e7..a804d676951ef 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -37,6 +37,14 @@ createSomeObject().message; {"references":[{"path":"../Library"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w App Output:: >> Screen clear @@ -162,6 +170,32 @@ var library_1 = require("../Library/library"); +fileExists:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1, + "/user/username/projects/sample1/app/app.ts": 1, + "/user/username/projects/sample1/app/app.js": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/library/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/library": 2, + "/user/username/projects/sample1/app/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/app/app.ts": 1 +} + +setModifiedTimes:: {} + Change:: Introduce error Input:: @@ -180,6 +214,14 @@ export function createSomeObject(): SomeObject } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -303,6 +345,30 @@ export {}; } +fileExists:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/library/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/library": 2, + "/user/username/projects/sample1/app/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/library/library.js": 1 +} + +setModifiedTimes:: {} + Change:: Fix error Input:: @@ -321,6 +387,14 @@ export function createSomeObject(): SomeObject } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -434,3 +508,27 @@ export {}; } //// [/user/username/projects/sample1/App/app.js] file written with same contents + +fileExists:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/library/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/library": 2, + "/user/username/projects/sample1/app/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/library/library.ts": 1, + "/user/username/projects/sample1/library/library.js": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 6b2bd47dff8e2..3946cca56543d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -25,6 +25,14 @@ function foo() { return 10; } function bar() { return foo() + 1 }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/logic Output:: >> Screen clear @@ -234,6 +242,32 @@ declare function bar(): number; ====================================================================== +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/index.js": 3, + "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 2, + "/user/username/projects/sample1/logic/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/sample1/logic/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make non local change and build core Input:: @@ -242,6 +276,14 @@ function foo() { return 10; } function myFunc() { return 10; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -341,10 +383,40 @@ declare function myFunc(): number; ====================================================================== +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/index.js": 2, + "/user/username/projects/sample1/core/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/index.js": 1 +} + +setModifiedTimes:: {} + Change:: Build logic Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:25 AM] Found 0 errors. Watching for file changes. @@ -486,6 +558,25 @@ declare function bar(): number; ====================================================================== +fileExists:: { + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 2, + "/user/username/projects/sample1/logic/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make local change and build core Input:: @@ -494,6 +585,14 @@ function foo() { return 10; } function myFunc() { return 100; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -589,10 +688,41 @@ declare function myFunc(): number; ====================================================================== +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/index.js": 2, + "/user/username/projects/sample1/core/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build logic Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:58 AM] Found 0 errors. Watching for file changes. @@ -716,3 +846,18 @@ declare function bar(): number; ====================================================================== + +fileExists:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 47c6be2b3967e..85c8307d4c8b7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -76,6 +76,14 @@ export const m = mod; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -433,6 +441,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Change to new File and build core Input:: @@ -440,6 +483,14 @@ Input:: export const newFileConst = 30; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -553,10 +604,51 @@ export declare const newFileConst = 30; +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -605,10 +697,41 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:27 AM] Found 0 errors. Watching for file changes. @@ -660,6 +783,31 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} + Change:: Change to new File and build core Input:: @@ -668,6 +816,14 @@ export const newFileConst = 30; export class someClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -789,10 +945,51 @@ export declare class someClass2 { +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -841,10 +1038,41 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:47 AM] Found 0 errors. Watching for file changes. @@ -895,3 +1123,28 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file changed its modified time //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index c75488ba556f3..8c50d4f0bca7e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -76,6 +76,14 @@ export const m = mod; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -433,6 +441,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make change to core Input:: @@ -444,6 +487,14 @@ export function multiply(a: number, b: number) { return a * b; } export class someClass { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -560,10 +611,46 @@ export declare class someClass { } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -681,10 +768,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:55 AM] Found 0 errors. Watching for file changes. @@ -818,6 +933,28 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Revert core file Input:: @@ -828,6 +965,14 @@ export function multiply(a: number, b: number) { return a * b; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:59 AM] File change detected. Starting incremental compilation... @@ -936,10 +1081,46 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1057,10 +1238,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:02:40 AM] Found 0 errors. Watching for file changes. @@ -1194,6 +1403,28 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make two changes Input:: @@ -1206,6 +1437,14 @@ export class someClass { } export class someClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:47 AM] File change detected. Starting incremental compilation... @@ -1330,10 +1569,46 @@ export declare class someClass2 { } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1451,10 +1726,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:03:28 AM] Found 0 errors. Watching for file changes. @@ -1587,3 +1890,25 @@ exitCode:: ExitStatus.undefined "size": 1614 } + +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 3d6e66045df24..3171b1d767721 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -76,6 +76,14 @@ export const m = mod; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -433,6 +441,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make local change to core Input:: @@ -444,6 +487,14 @@ export function multiply(a: number, b: number) { return a * b; } function foo() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -548,10 +599,47 @@ function foo() { } } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -585,10 +673,33 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:30 AM] Found 0 errors. Watching for file changes. @@ -623,3 +734,17 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file changed its modified time //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 6aafabd4097ae..8a787900c6424 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -467,6 +475,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Change to new File and build core Input:: @@ -474,6 +517,14 @@ Input:: export const newFileConst = 30; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -594,10 +645,53 @@ export declare const newFileConst = 30; //# sourceMappingURL=newfile.d.ts.map +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -646,10 +740,41 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:39 AM] Found 0 errors. Watching for file changes. @@ -701,6 +826,31 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} + Change:: Change to new File and build core Input:: @@ -709,6 +859,14 @@ export const newFileConst = 30; export class someClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -837,10 +995,53 @@ export declare class someClass2 { //# sourceMappingURL=newfile.d.ts.map +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -889,10 +1090,41 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:02:02 AM] Found 0 errors. Watching for file changes. @@ -943,3 +1175,28 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file changed its modified time //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index d8fc2592bbe8d..386091d49bdb0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -467,6 +475,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make change to core Input:: @@ -478,6 +521,14 @@ export function multiply(a: number, b: number) { return a * b; } export class someClass { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -600,10 +651,47 @@ export declare class someClass { } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -721,10 +809,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:02:08 AM] Found 0 errors. Watching for file changes. @@ -858,6 +974,28 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Revert core file Input:: @@ -868,6 +1006,14 @@ export function multiply(a: number, b: number) { return a * b; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:12 AM] File change detected. Starting incremental compilation... @@ -982,10 +1128,47 @@ export declare function multiply(a: number, b: number): number; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1103,10 +1286,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:02:56 AM] Found 0 errors. Watching for file changes. @@ -1240,6 +1451,28 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make two changes Input:: @@ -1252,6 +1485,14 @@ export class someClass { } export class someClass2 { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:03:03 AM] File change detected. Starting incremental compilation... @@ -1382,10 +1623,47 @@ export declare class someClass2 { } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1503,10 +1781,38 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:03:47 AM] Found 0 errors. Watching for file changes. @@ -1639,3 +1945,25 @@ exitCode:: ExitStatus.undefined "size": 1692 } + +fileExists:: { + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index bfe1294d29024..f9d32c6c03147 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -102,6 +102,14 @@ export function run() { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -467,6 +475,41 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make local change to core Input:: @@ -478,6 +521,14 @@ export function multiply(a: number, b: number) { return a * b; } function foo() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -586,10 +637,48 @@ function foo() { } } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 +} + Change:: Build logic or update time stamps Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -623,10 +712,33 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.js.map": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + Change:: Build Tests Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:43 AM] Found 0 errors. Watching for file changes. @@ -661,3 +773,17 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file changed its modified time //// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/user/username/projects/sample1/tests/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 02d8ce95925ff..205f7f1fd72d5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -37,6 +37,14 @@ let y = 1 let z = 0; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -v Output:: >> Screen clear @@ -225,6 +233,32 @@ declare let z: number; } +fileExists:: { + "/a/b/alpha.tsconfig.json": 1, + "/a/b/bravo.tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 2, + "/a/node_modules/@types": 2, + "/node_modules/@types": 2 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Remove project2 from base config Input:: @@ -232,6 +266,14 @@ Input:: {"references":[{"path":"./project1.tsconfig.json"}],"files":[]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:56 AM] File change detected. Starting incremental compilation... @@ -258,3 +300,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index fdce48d40fc42..c210cce0fecb0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w Output:: >> Screen clear @@ -63,6 +71,25 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/index.ts": 1, + "/user/username/projects/myproject/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Change tsconfig to set noUnusedParameters to false Input:: @@ -70,6 +97,14 @@ Input:: {"compilerOptions":{"noUnusedParameters":false}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -109,3 +144,22 @@ exitCode:: ExitStatus.undefined var fn = function (a, b) { return b; }; + +fileExists:: { + "/user/username/projects/myproject/index.ts": 1, + "/user/username/projects/myproject/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/index.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index abb8acaffde47..3100db6d5ddd4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -34,6 +34,14 @@ let y = 1 let z = 0; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -v project1.tsconfig.json project2.tsconfig.json Output:: >> Screen clear @@ -214,6 +222,32 @@ declare let z: number; } +fileExists:: { + "/a/b/alpha.tsconfig.json": 2, + "/a/b/bravo.tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 2, + "/a/node_modules/@types": 2, + "/node_modules/@types": 2 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/other.ts": 1 +} + +setModifiedTimes:: {} + Change:: Modify alpha config Input:: @@ -221,6 +255,14 @@ Input:: {"compilerOptions":{"strict":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... @@ -276,10 +318,56 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile2.d.ts] file changed its modified time //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/a/b/alpha.tsconfig.json": 1, + "/a/b/bravo.tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 3, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 3, + "/a/b/project1.tsconfig.tsbuildinfo": 1, + "/a/b/project1.tsconfig.json": 1, + "/a/b/alpha.tsconfig.json": 1 +} + +setModifiedTimes:: { + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1 +} + Change:: Build project 2 Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:00 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'other.js' is older than newest input 'alpha.tsconfig.json' @@ -330,6 +418,35 @@ exitCode:: ExitStatus.undefined //// [/a/b/other.d.ts] file changed its modified time //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1, + "/a/b/project2.tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 3, + "/a/b/project2.tsconfig.tsbuildinfo": 1, + "/a/b/project2.tsconfig.json": 1, + "/a/b/bravo.tsconfig.json": 1, + "/a/b/alpha.tsconfig.json": 1 +} + +setModifiedTimes:: { + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1, + "/a/b/project2.tsconfig.tsbuildinfo": 1 +} + Change:: change bravo config Input:: @@ -337,6 +454,14 @@ Input:: {"extends":"./alpha.tsconfig.json","compilerOptions":{"strict":false}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -390,6 +515,36 @@ exitCode:: ExitStatus.undefined //// [/a/b/other.d.ts] file changed its modified time //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/a/b/bravo.tsconfig.json": 1, + "/a/b/alpha.tsconfig.json": 1, + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1, + "/a/b/project2.tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 3, + "/a/b/project2.tsconfig.tsbuildinfo": 1, + "/a/b/project2.tsconfig.json": 1, + "/a/b/bravo.tsconfig.json": 1 +} + +setModifiedTimes:: { + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1, + "/a/b/project2.tsconfig.tsbuildinfo": 1 +} + Change:: project 2 extends alpha Input:: @@ -397,6 +552,14 @@ Input:: {"extends":"./alpha.tsconfig.json"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -469,6 +632,34 @@ var z = 0; +fileExists:: { + "/a/b/alpha.tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/other.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile2.js": 1, + "/a/b/other.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/other.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile2.js": 1, + "/a/b/other.js": 1, + "/a/b/project2.tsconfig.json": 1 +} + +setModifiedTimes:: {} + Change:: update aplha config Input:: @@ -476,6 +667,14 @@ Input:: {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... @@ -533,10 +732,55 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile2.d.ts] file changed its modified time //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time +fileExists:: { + "/a/b/alpha.tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 3, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 3, + "/a/b/project1.tsconfig.tsbuildinfo": 1, + "/a/b/project1.tsconfig.json": 1, + "/a/b/alpha.tsconfig.json": 1 +} + +setModifiedTimes:: { + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.js": 1, + "/a/b/commonfile2.d.ts": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1 +} + Change:: Build project 2 Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:01:38 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'other.js' is older than newest input 'alpha.tsconfig.json' @@ -592,3 +836,31 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file changed its modified time //// [/a/b/commonFile2.js] file changed its modified time //// [/a/b/other.js] file changed its modified time + +fileExists:: { + "/a/b/other.ts": 1, + "/a/b/other.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/b/other.ts": 1, + "/a/b/commonfile1.js": 1, + "/a/b/commonfile2.js": 1, + "/a/b/other.js": 1, + "/a/b/project2.tsconfig.json": 1, + "/a/b/alpha.tsconfig.json": 1 +} + +setModifiedTimes:: { + "/a/b/commonfile1.js": 1, + "/a/b/commonfile2.js": 1, + "/a/b/other.js": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index e0df4fab62355..d74194bbfc180 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -36,6 +36,14 @@ export enum e2 { } export function f22() { } // trailing +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b --w Output:: [12:00:31 AM] Projects in this build: @@ -244,6 +252,32 @@ export declare function f22(): void; } +fileExists:: { + "/user/username/projects/myproject/shared/index.ts": 1, + "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/index.d.ts": 1, + "/user/username/projects/myproject/webpack/index.ts": 1, + "/user/username/projects/myproject/webpack/index.js": 1, + "/user/username/projects/myproject/webpack/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/shared/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/webpack/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/shared/index.ts": 1, + "/user/username/projects/myproject/webpack/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: change to shared Input:: @@ -255,6 +289,14 @@ export enum e { } export function f2() { } // trailing +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... @@ -394,3 +436,31 @@ export declare function f2(): void; //// [/user/username/projects/myproject/webpack/index.js] file changed its modified time //// [/user/username/projects/myproject/webpack/index.d.ts] file changed its modified time //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] file changed its modified time + +fileExists:: { + "/user/username/projects/myproject/shared/index.ts": 1, + "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/shared/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/webpack/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/shared/index.ts": 1, + "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/webpack/index.d.ts": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/webpack/index.js": 1, + "/user/username/projects/myproject/webpack/index.d.ts": 1, + "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 0128d3c6f49ca..0c904925c5342 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -64,6 +64,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -b -w -verbose src Output:: >> Screen clear @@ -252,6 +260,44 @@ exports.session = { +fileExists:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1, + "/user/username/projects/reexport/src/main/index.ts": 1, + "/user/username/projects/reexport/out/main/index.js": 1, + "/user/username/projects/reexport/src/pure.ts": 1, + "/user/username/projects/reexport/src/pure.tsx": 1, + "/user/username/projects/reexport/src/pure.d.ts": 1, + "/user/username/projects/reexport/src/pure/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/reexport/src/pure": 6, + "/user/username/projects/reexport/src/pure/node_modules/@types": 1, + "/user/username/projects/reexport/src/node_modules/@types": 2, + "/user/username/projects/reexport/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/reexport/out/pure": 1, + "/user/username/projects/reexport/out": 2, + "/user/username/projects/reexport": 1, + "/user/username/projects/reexport/src": 2, + "/user/username/projects/reexport/src/main/node_modules/@types": 1, + "/user/username/projects/reexport/out/main": 1 +} + +getModifiedTimes:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/src/main/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: Introduce error Input:: @@ -263,6 +309,14 @@ export interface Session { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -417,6 +471,38 @@ export interface Session { } +fileExists:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1, + "/user/username/projects/reexport/src/pure.ts": 1, + "/user/username/projects/reexport/src/pure.tsx": 1, + "/user/username/projects/reexport/src/pure.d.ts": 1, + "/user/username/projects/reexport/src/pure/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/reexport/src/pure": 6, + "/user/username/projects/reexport/src/pure/node_modules/@types": 1, + "/user/username/projects/reexport/src/node_modules/@types": 2, + "/user/username/projects/reexport/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/reexport/src": 2, + "/user/username/projects/reexport/src/main/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/out/pure/index.js": 1 +} + +setModifiedTimes:: {} + Change:: Fix error Input:: @@ -428,6 +514,14 @@ export interface Session { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -573,3 +667,37 @@ export interface Session { } //// [/user/username/projects/reexport/out/main/index.js] file changed its modified time + +fileExists:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1, + "/user/username/projects/reexport/src/pure.ts": 1, + "/user/username/projects/reexport/src/pure.tsx": 1, + "/user/username/projects/reexport/src/pure.d.ts": 1, + "/user/username/projects/reexport/src/pure/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/reexport/src/pure": 6, + "/user/username/projects/reexport/src/pure/node_modules/@types": 1, + "/user/username/projects/reexport/src/node_modules/@types": 2, + "/user/username/projects/reexport/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/reexport/src": 2, + "/user/username/projects/reexport/src/main/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/reexport/src/pure/index.ts": 1, + "/user/username/projects/reexport/src/pure/session.ts": 1, + "/user/username/projects/reexport/out/pure/index.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/reexport/out/main/index.js": 1 +} diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 004678648fceb..87d4cb0fb2df0 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -43,6 +43,14 @@ export const pkg3 = 3; {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"},{"path":"./pkg3"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -212,6 +220,40 @@ exports.pkg3 = 3; +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 4, + "/user/username/projects/node_modules/@types": 4, + "/user/username/node_modules/@types": 4, + "/user/node_modules/@types": 4, + "/node_modules/@types": 4, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -219,6 +261,14 @@ Input:: export const typing = 10;export const typing1 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -348,6 +398,49 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 4, + "/user/username/projects/node_modules/@types": 4, + "/user/username/node_modules/@types": 4, + "/user/node_modules/@types": 4, + "/node_modules/@types": 4, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + Change:: change pkg references Input:: @@ -355,6 +448,14 @@ Input:: {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -394,6 +495,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -401,6 +510,14 @@ Input:: export const typing = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -503,6 +620,43 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 3, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + Change:: change pkg references to remove all watches Input:: @@ -510,6 +664,14 @@ Input:: {"files":[],"include":[],"references":[]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -534,6 +696,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -541,6 +711,14 @@ Input:: export const typing = 10;export const typing1 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -553,3 +731,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index 86e8b55819ffe..61f126b1a9d00 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -43,6 +43,14 @@ export const pkg3 = 3; {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"},{"path":"./pkg3"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -215,6 +223,40 @@ exports.pkg3 = 3; +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 4, + "/user/username/projects/node_modules/@types": 4, + "/user/username/node_modules/@types": 4, + "/user/node_modules/@types": 4, + "/node_modules/@types": 4, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1 +} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -222,6 +264,14 @@ Input:: export const typing = 10;export const typing1 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -354,6 +404,49 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 4, + "/user/username/projects/node_modules/@types": 4, + "/user/username/node_modules/@types": 4, + "/user/node_modules/@types": 4, + "/node_modules/@types": 4, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 +} + Change:: change pkg references Input:: @@ -361,6 +454,14 @@ Input:: {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -402,6 +503,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -409,6 +518,14 @@ Input:: export const typing = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -513,6 +630,43 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time +fileExists:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg0/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/myproject/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/pkg2/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.ts": 1, + "/user/username/projects/myproject/typings/xterm.d.ts": 3, + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.ts": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + +setModifiedTimes:: { + "/user/username/projects/myproject/pkg0/index.js": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, + "/user/username/projects/myproject/pkg2/index.js": 1 +} + Change:: change pkg references to remove all watches Input:: @@ -520,6 +674,14 @@ Input:: {"files":[],"include":[],"references":[]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -544,6 +706,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: modify typing file Input:: @@ -551,6 +721,14 @@ Input:: export const typing = 10;export const typing1 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -563,3 +741,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js index a0c00c62dc5ff..bf534d43cd130 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js @@ -36,6 +36,21 @@ Output:: /lib/tsc --composite false --p src/project --tsBuildInfoFile null exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js index aba5e2214654e..538b0a3b288ff 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js @@ -44,6 +44,21 @@ Found 1 error in src/project/tsconfig.json:6 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js index cab79a8011fa5..fe9444829df8a 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js @@ -35,6 +35,21 @@ Output:: /lib/tsc --composite false --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js index 917419c89e0d5..12bce04863735 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js @@ -35,6 +35,21 @@ Output:: /lib/tsc --composite null --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js index 7aa8c10c67d86..5f20243eba5c5 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p pkg3 --explainFiles Output:: pkg3/src/keys.ts:2:14 - error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '../../pkg2/node_modules/@raymondfeng/pkg1/dist'. This is likely not portable. A type annotation is necessary. @@ -134,3 +142,55 @@ __exportStar(require("./keys"), exports); export * from './keys'; + +fileExists:: { + "/user/username/projects/myproject/pkg3/tsconfig.json": 1, + "/user/username/projects/myproject/pkg3/src/keys.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/package.json": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.tsx": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.d.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg2/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg2/dist/types.ts": 1, + "/user/username/projects/myproject/pkg2/dist/types.tsx": 1, + "/user/username/projects/myproject/pkg2/dist/types.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/package.json": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.tsx": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg1/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg1/dist/types.ts": 1, + "/user/username/projects/myproject/pkg1/dist/types.tsx": 1, + "/user/username/projects/myproject/pkg1/dist/types.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg3": 2, + "/user/username/projects/myproject/pkg3/src": 1, + "/user/username/projects/myproject/pkg3/src/node_modules": 1, + "/user/username/projects/myproject/pkg3/node_modules": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist": 1, + "/user/username/projects/myproject/pkg2/dist": 1, + "/user/username/projects/myproject/pkg2/dist/node_modules": 1, + "/user/username/projects/myproject/pkg2/node_modules": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist": 1, + "/user/username/projects/myproject/pkg1/dist": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/dist": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js index 043b54bdbb0bb..b6993ad714d27 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p pkg3 --explainFiles Output:: pkg3/src/keys.ts:2:14 - error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '../../pkg2/node_modules/@raymondfeng/pkg1/dist'. This is likely not portable. A type annotation is necessary. @@ -134,3 +142,55 @@ __exportStar(require("./keys"), exports); export * from './keys'; + +fileExists:: { + "/user/username/projects/myproject/pkg3/tsconfig.json": 1, + "/user/username/projects/myproject/pkg3/src/keys.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/package.json": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.tsx": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.d.ts": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg2/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg2/dist/types.ts": 1, + "/user/username/projects/myproject/pkg2/dist/types.tsx": 1, + "/user/username/projects/myproject/pkg2/dist/types.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/package.json": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.tsx": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg1/dist/index.d.ts": 1, + "/user/username/projects/myproject/pkg1/dist/types.ts": 1, + "/user/username/projects/myproject/pkg1/dist/types.tsx": 1, + "/user/username/projects/myproject/pkg1/dist/types.d.ts": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/pkg3": 2, + "/user/username/projects/myproject/pkg3/src": 1, + "/user/username/projects/myproject/pkg3/src/node_modules": 1, + "/user/username/projects/myproject/pkg3/node_modules": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng": 1, + "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist": 1, + "/user/username/projects/myproject/pkg2/dist": 1, + "/user/username/projects/myproject/pkg2/dist/node_modules": 1, + "/user/username/projects/myproject/pkg2/node_modules": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng": 1, + "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist": 1, + "/user/username/projects/myproject/pkg1/dist": 1, + "/user/username/projects/myproject/pkg3/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/pkg3/dist": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index db8d9a3c52bcf..1ba36c9f087e8 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -85,6 +85,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== @@ -192,3 +200,48 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; + +fileExists:: { + "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/plugin-one": 1, + "/user/username/projects/myproject/plugin-one/node_modules": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, + "/user/username/projects/myproject/plugin-two/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index f35f09682d02e..58c81cc2fe591 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -87,6 +87,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -194,3 +202,55 @@ export declare const actions: { }; + +fileExists:: { + "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/plugin-one": 1, + "/user/username/projects/myproject/plugin-one/node_modules": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-two/dist/commonjs/node_modules": 1, + "/user/username/projects/myproject/plugin-two/dist/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 8dff9f49f6c15..926fb43a722a0 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -87,6 +87,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -194,3 +202,55 @@ export declare const actions: { }; + +fileExists:: { + "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/plugin-one": 1, + "/user/username/projects/myproject/plugin-one/node_modules": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-two/dist/commonjs/node_modules": 1, + "/user/username/projects/myproject/plugin-two/dist/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 431f2bd31e868..c17f4e6e711bc 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -85,6 +85,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== @@ -192,3 +200,48 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; + +fileExists:: { + "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/index.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/plugin-one": 1, + "/user/username/projects/myproject/plugin-one/node_modules": 1, + "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, + "/user/username/projects/myproject/plugin-two/node_modules": 1, + "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, + "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index 4a35b33af3c8d..d3833b1d190c4 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -36,6 +36,24 @@ Output:: /lib/tsc -p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/constants.ts": 1, + "/src/project/reexport.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/class1.d.ts] declare const a = 1; @@ -178,6 +196,24 @@ Found 1 error in src/project/class1.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/constants.ts": 1, + "/src/project/reexport.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/class1.d.ts] declare const a = 2; diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index 7a1310b88a4a8..9b2c4d4c2f39c 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -33,6 +33,23 @@ Output:: /lib/tsc -p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/constants.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/class1.d.ts] declare const a = 1; @@ -137,6 +154,23 @@ Found 1 error in src/project/class1.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/constants.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/class1.d.ts] declare const a = 2; diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 3409cacd28bad..8792954258bda 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -58,6 +58,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -258,6 +276,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -269,6 +305,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -311,6 +365,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -504,6 +576,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents @@ -630,6 +720,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -641,6 +749,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -652,6 +778,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -671,6 +815,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -719,6 +881,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -930,6 +1110,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -967,6 +1165,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1004,6 +1220,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1047,6 +1281,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1063,6 +1315,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -1207,6 +1477,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -1342,6 +1630,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1353,6 +1659,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1372,4 +1696,22 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index cf58b47ce13d4..424ba016865d3 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -58,6 +58,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -258,6 +276,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -269,6 +305,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -311,6 +365,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -504,6 +576,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents @@ -630,6 +720,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -641,6 +749,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -652,6 +778,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -671,6 +815,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -719,6 +881,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -930,6 +1110,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -967,6 +1165,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1004,6 +1220,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1047,6 +1281,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1063,6 +1315,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -1207,6 +1477,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -1342,6 +1630,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1353,6 +1659,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1372,4 +1696,22 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js index f445f8df17de2..eb31403b49328 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js @@ -58,6 +58,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; @@ -232,6 +250,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -243,6 +279,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -285,6 +339,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} @@ -469,6 +541,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] file written with same contents //// [/src/project/src/directUse.js] file written with same contents @@ -596,6 +686,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -607,6 +715,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -618,6 +744,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -637,6 +781,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -685,6 +847,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; @@ -890,6 +1070,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -927,6 +1125,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -964,6 +1180,24 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1007,6 +1241,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1023,6 +1275,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} @@ -1156,6 +1426,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; @@ -1285,6 +1573,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1296,6 +1602,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -1315,4 +1639,22 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index 328b68562b35d..f3a97f372e34d 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -50,6 +50,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} @@ -202,6 +220,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -439,6 +475,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -623,6 +677,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -767,6 +839,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 969989ad6328e..6abc90f0a77e7 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -50,6 +50,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} @@ -202,6 +220,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -439,6 +475,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { @@ -623,6 +677,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -767,6 +839,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.d.ts] export declare class classC { diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js index 56fbff173434b..242f31f22a330 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js @@ -50,6 +50,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} @@ -199,6 +217,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; @@ -410,6 +446,24 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; @@ -584,6 +638,24 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} @@ -717,6 +789,24 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/src/indirectClass.ts": 1, + "/src/project/src/class.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/class.js] "use strict"; diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index 6cf4aaf5a3c1f..000892f6dc7fc 100644 --- a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js +++ b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js @@ -60,6 +60,21 @@ Found 3 errors in the same file, starting at: src/project/index.tsx:10 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/index.js] "use strict"; @@ -182,4 +197,19 @@ Found 3 errors in the same file, starting at: src/project/index.tsx:10 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js index 373c93ef276d3..ff6c11e472376 100644 --- a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js +++ b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js @@ -57,6 +57,22 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/node_modules": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/dist/main.js] /// diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index 45d6bab61cc94..2cb5bd9c5bbba 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -74,6 +74,21 @@ Shape signatures in builder refreshed for:: /src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts during emit) /src/project/src/main.ts (computed .d.ts during emit) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/anotherFileWithSameReferenes.d.ts] /// @@ -209,6 +224,21 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -256,6 +286,21 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] @@ -377,6 +422,21 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] @@ -511,6 +571,21 @@ Shape signatures in builder refreshed for:: /src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts) /src/project/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/anotherFileWithSameReferenes.d.ts] file written with same contents //// [/src/project/src/anotherFileWithSameReferenes.js] file written with same contents @@ -657,6 +732,21 @@ Shape signatures in builder refreshed for:: /src/project/src/newfile.ts (computed .d.ts) /src/project/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/anotherFileWithSameReferenes.d.ts] /// @@ -803,6 +893,21 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index 0c1569a5bb7c0..df99f72b21636 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -35,6 +35,22 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/projects/project2/class2.d.ts] declare class class2 { @@ -116,6 +132,22 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -130,6 +162,22 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents @@ -195,6 +243,22 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -219,6 +283,22 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents @@ -275,6 +355,22 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "src/projects/project2": 1, + "/src/projects/project2/node_modules/@types": 1, + "/src/projects/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js index 02b806a56cee0..7dc80809b5949 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js @@ -38,6 +38,21 @@ src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"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},"-10726455937-export const x = 10;"],"options":{"module":1,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} @@ -97,4 +112,19 @@ src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js index d62d8e0b80709..bfecb638fca24 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js @@ -31,6 +31,21 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/dist/main.js] "use strict"; @@ -85,4 +100,19 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js index c760607d8c349..913b8a1c91cd2 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js @@ -32,6 +32,21 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/built/src/main.js] "use strict"; @@ -86,4 +101,19 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js index 67cf811b6e6d3..7414229cd8278 100644 --- a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js @@ -40,6 +40,21 @@ Shape signatures in builder refreshed for:: /lib/lib.d.ts (used version) /src/project/class1.ts (used version) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} @@ -102,4 +117,19 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js index 43a4d74796d47..d97d0659e7688 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js @@ -70,6 +70,22 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -188,6 +204,22 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -217,6 +249,22 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -314,4 +362,20 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js index 9e9ee7f46c9d7..0e5c9cb7cdbf7 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js @@ -72,6 +72,22 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -178,6 +194,22 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -209,6 +241,22 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -308,4 +356,20 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/tsconfig.json": 1, + "/src/shared/types/db.ts": 1 +} + +directoryExists:: { + "src": 1, + "/src/shared/types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js index 3032a94102654..6b9518892e378 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -29,6 +29,21 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"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},"-13729955264-export const y = 10;","-10726455937-export const x = 10;"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} @@ -78,6 +93,21 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + @@ -92,6 +122,21 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"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},"-13729955264-export const y = 10;","-10808461502-export const x = 10;export const xy = 100;"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js index 7447094744fe5..1496a7e3a6c5f 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js @@ -24,4 +24,12 @@ Output:: error TS6370: Options 'watch' and 'listFilesOnly' cannot be combined. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js index 5bdaee4b00882..4d22862056d70 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js +++ b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js @@ -25,4 +25,14 @@ Output:: /src/test.ts exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js index 2349f7c8d11bd..74dec134949c5 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js @@ -34,6 +34,21 @@ Found 1 error in src/project/tsconfig.json:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/theApp.js] define("main", ["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js index 76a9491ccae9f..2e4f8bf411e09 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js @@ -40,6 +40,28 @@ Found 1 error in src/project/tsconfig.json:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/utils.ts": 1, + "/src/utils.tsx": 1, + "/src/utils.d.ts": 1, + "/src/utils/package.json": 1, + "/src/utils/index.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src": 1, + "/src/utils": 1, + "/src/project/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index 21bbb86b25580..e2e54bfba76f5 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -51,6 +51,37 @@ Found 1 error in src/project/src/index.tsx:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/node_modules/react/package.json": 1, + "/src/project/node_modules/react/jsx-runtime.ts": 1, + "/src/project/node_modules/react/jsx-runtime.tsx": 1, + "/src/project/node_modules/react/jsx-runtime.d.ts": 1, + "/src/project/node_modules/@types/react/package.json": 1, + "/src/project/node_modules/@types/react/jsx-runtime.d.ts": 1, + "/src/project/node_modules/react/jsx-runtime.js": 1, + "/src/project/node_modules/@types/react/index.d.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src/node_modules": 1, + "/src/project/node_modules": 1, + "/src/project/node_modules/react/jsx-runtime": 1, + "/src/project/node_modules/react": 1, + "/src/project/node_modules/@types": 1, + "/src/project/node_modules/@types/react/jsx-runtime": 1, + "/src/project/node_modules/@types/react": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index 6e1a2c87c4a27..e363c0989c148 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -43,6 +43,37 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "src/project/tsconfig.json": 1, + "/src/project/node_modules/react/package.json": 1, + "/src/project/node_modules/react/jsx-runtime.ts": 1, + "/src/project/node_modules/react/jsx-runtime.tsx": 1, + "/src/project/node_modules/react/jsx-runtime.d.ts": 1, + "/src/project/node_modules/@types/react/package.json": 1, + "/src/project/node_modules/@types/react/jsx-runtime.d.ts": 1, + "/src/project/node_modules/react/jsx-runtime.js": 1, + "/src/project/node_modules/@types/react/index.d.ts": 1 +} + +directoryExists:: { + "src/project": 1, + "/src/project/src/node_modules": 1, + "/src/project/node_modules": 1, + "/src/project/node_modules/react/jsx-runtime": 1, + "/src/project/node_modules/react": 1, + "/src/project/node_modules/@types": 1, + "/src/project/node_modules/@types/react/jsx-runtime": 1, + "/src/project/node_modules/@types/react": 1, + "/src/node_modules": 1, + "/node_modules": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + //// [/src/project/src/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js index e963447956603..a24893375db5d 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js @@ -161,4 +161,14 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index 50b1c2f7ed7ff..56ab368fa07ef 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -161,4 +161,14 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index 50b1c2f7ed7ff..56ab368fa07ef 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -161,4 +161,14 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +getModifiedTime:: {} + +setModifiedTime:: {} + +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: {} + diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js index a4c8914f1a168..c8c4419f2e623 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /tsconfig.json Output:: >> Screen clear @@ -63,6 +71,16 @@ exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -70,6 +88,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:00:19 AM] File change detected. Starting incremental compilation... @@ -110,3 +136,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js index c70acece2e682..ad5d877bbd563 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /tsconfig.json Output:: [12:00:13 AM] Starting compilation in watch mode... @@ -62,6 +70,19 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: { + "/tsconfig.json": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -69,6 +90,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:00:19 AM] File change detected. Starting incremental compilation... @@ -109,3 +138,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js index d032563a545d9..727e29a2b5d52 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /f.ts --diagnostics Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -60,6 +68,16 @@ exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -67,6 +85,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file Scheduling update @@ -110,3 +136,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js index e021f79145ef0..791598bd26423 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /f.ts --extendedDiagnostics Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -62,6 +70,16 @@ exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -69,6 +87,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file Scheduling update @@ -112,3 +138,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js index 54d330d5c834b..f8aac8b18abb9 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /f.ts --preserveWatchOutput Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -55,6 +63,16 @@ exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -62,6 +80,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:00:17 AM] File change detected. Starting incremental compilation... @@ -98,3 +124,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js index aa769ab316ac8..ebae61b52e1e8 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /f.ts Output:: >> Screen clear @@ -56,6 +64,16 @@ exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Comment added to file f Input:: @@ -63,6 +81,14 @@ Input:: // +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -100,3 +126,11 @@ exitCode:: ExitStatus.undefined // + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js index 956eca5b5d3f0..790d3e1745bc8 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/someone/projects/myproject/file3.ts Output:: >> Screen clear @@ -85,6 +93,20 @@ var v = 1 /* E2.V */; +fileExists:: { + "/user/someone/projects/myproject/file2.ts": 1, + "/user/someone/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/someone/projects/myproject": 4, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Append content to file3 Input:: @@ -92,6 +114,14 @@ Input:: import { E2 } from "./file2"; const v: E2 = E2.V;function foo2() { return 2; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -138,3 +168,11 @@ var v = 1 /* E2.V */; function foo2() { return 2; } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js index 0b854f3cd9685..b811a020e7f78 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -66,6 +74,21 @@ var a = 10; +fileExists:: { + "/home/username/project/tsconfig.json": 1 +} + +directoryExists:: { + "/home/username/project/node_modules/@types": 1, + "/home/username/node_modules/@types": 1, + "/home/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: file is deleted and then created to modify content Input:: @@ -74,6 +97,14 @@ var a = 10; var b = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -119,3 +150,11 @@ var a = 10; var b = 10; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js index a4215828961e7..087a37fbb87a6 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js @@ -17,6 +17,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/app.ts Output:: >> Screen clear @@ -59,6 +67,16 @@ var y = 2; +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Append a line Input:: @@ -68,6 +86,14 @@ var y = 2; var z = 3; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -108,3 +134,11 @@ var y = 2; var z = 3; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js index 29bb1dc14a122..8733eed5d0e50 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js @@ -17,6 +17,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/app.ts Output:: >> Screen clear @@ -59,6 +67,16 @@ var y = 2; +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Append a line Input:: @@ -68,6 +86,14 @@ var y = 2; var z = 3; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -108,3 +134,11 @@ var y = 2; var z = 3; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js index fa49643219b55..06e6145e3a2ff 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js @@ -25,6 +25,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -101,6 +109,24 @@ var x = f2_1.y; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/f1.ts": 1, + "/a/b/f2.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 4, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Append content to f1 Input:: @@ -108,6 +134,14 @@ Input:: export function Foo() { return 10; }export function foo2() { return 2; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -170,6 +204,14 @@ exports.foo2 = foo2; //// [/a/b/f2.js] file written with same contents //// [/a/b/f3.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Again Append content to f1 Input:: @@ -177,6 +219,14 @@ Input:: export function Foo() { return 10; }export function foo2() { return 2; }export function fooN() { return 2; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -237,3 +287,11 @@ exports.fooN = fooN; //// [/a/b/f2.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js index 33ce144476adb..69695140fb90c 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -131,6 +139,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -138,6 +163,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -207,3 +240,11 @@ exports.Foo = Foo; ; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js index c6425f919362f..1862abd9b9971 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -130,6 +138,23 @@ System.register("moduleFile2", [], function (exports_4, context_4) { +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -137,6 +162,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -235,3 +268,11 @@ System.register("moduleFile2", [], function (exports_4, context_4) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js index d70d6c9479381..2b6f5dfdd2f38 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -126,6 +134,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change moduleFile1 shape and delete file1Consumer2 Input:: @@ -134,6 +159,14 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer2.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -194,3 +227,15 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js index 97503f7dee9eb..754d8dde09c2f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -126,6 +134,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change moduleFile1 shape and create file1Consumer3 Input:: @@ -136,6 +161,14 @@ export var T: number;export function Foo() { }; import {Foo} from "./moduleFile1"; let y = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -214,3 +247,18 @@ var moduleFile1_1 = require("./moduleFile1"); var y = (0, moduleFile1_1.Foo)(); + +fileExists:: { + "/a/b/file1consumer3.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/file1consumer3.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js index 8856532f89c1a..9e86386b61204 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -126,6 +134,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change file1Consumer1 content to `export let y = Foo();` Input:: @@ -133,6 +158,14 @@ Input:: export let y = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -197,6 +230,18 @@ exports.y = Foo(); +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -204,6 +249,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -273,6 +326,14 @@ exports.Foo = Foo; //// [/a/b/file1Consumer2.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add the import statements back to file1Consumer1 Input:: @@ -280,6 +341,14 @@ Input:: import {Foo} from "./moduleFile1";let y = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:57 AM] File change detected. Starting incremental compilation... @@ -339,6 +408,18 @@ var y = (0, moduleFile1_1.Foo)(); +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export var T2: string;export function Foo() { };` Input:: @@ -346,6 +427,14 @@ Input:: export let y = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:05 AM] File change detected. Starting incremental compilation... @@ -426,6 +515,14 @@ exports.y = Foo(); //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Multiple file edits in one go Input:: @@ -434,6 +531,14 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer1.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -500,3 +605,11 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js index dec1bc790c9f3..fcbf2d8f6f98f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -126,6 +134,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -133,6 +158,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -200,6 +233,14 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { console.log('hi'); };` Input:: @@ -207,6 +248,14 @@ Input:: export var T: number;export function Foo() { console.log('hi'); }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -272,3 +321,11 @@ exports.Foo = Foo; ; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js index 8df4089a05941..1e7c51274bee8 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -93,6 +101,23 @@ exports.y = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -100,6 +125,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -153,6 +186,14 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file1 internal, and verify only file1 is affected Input:: @@ -160,6 +201,14 @@ Input:: export var T: number;export function Foo() { };var T1: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -210,3 +259,11 @@ exports.Foo = Foo; var T1; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js index 6f305f1e595fa..398f588c1c207 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js @@ -20,6 +20,14 @@ export var x = Foo(); {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -83,6 +91,21 @@ exports.x = Foo(); +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit refereceFile1 Input:: @@ -91,6 +114,14 @@ Input:: export var x = Foo();export var yy = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -157,6 +188,14 @@ exports.yy = Foo(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: create moduleFile2 Input:: @@ -164,6 +203,14 @@ Input:: export var Foo4 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -226,3 +273,18 @@ exports.Foo4 = void 0; exports.Foo4 = 10; + +fileExists:: { + "/a/b/modulefile2.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/modulefile2.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js index e7dc8ea247bba..e9baf8642a696 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js @@ -23,6 +23,14 @@ export function Foo() { }; {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -93,11 +101,34 @@ exports.x = Foo(); +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: delete moduleFile1 Input:: //// [/a/b/moduleFile1.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -150,3 +181,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/referenceFile1.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js index 650e11d0fce92..4a95924bd5eb5 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js @@ -31,6 +31,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -126,6 +134,23 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change shape of global file Input:: @@ -133,6 +158,14 @@ Input:: interface GlobalFoo { age: number }var T2: string; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -201,3 +234,11 @@ var T2; //// [/a/b/moduleFile2.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js index 39ed216478299..3cfffe4b0cd47 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js @@ -34,6 +34,14 @@ interface Array { length: number; [n: number]: T; } import {y} from "./file1Consumer1"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -139,6 +147,24 @@ exports.Foo4 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile1.ts": 1, + "/a/b/file1consumer1.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 4, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file1Consumer1 Input:: @@ -146,6 +172,14 @@ Input:: import {Foo} from "./moduleFile1"; export var y = 10;export var T: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -211,6 +245,14 @@ exports.y = 10; //// [/a/b/file1Consumer1Consumer1.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -218,6 +260,14 @@ Input:: export var T: number;export function Foo() { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -288,6 +338,14 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file1Consumer1 and moduleFile1 Input:: @@ -298,6 +356,14 @@ export var T2: number;export function Foo() { }; import {Foo} from "./moduleFile1"; export var y = 10;export var T: number;export var T2: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -376,3 +442,11 @@ exports.y = 10; //// [/a/b/file1Consumer1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js index 4c824d524720b..d0e0dceca6c71 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js @@ -24,6 +24,14 @@ export var t2 = 10; {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -88,6 +96,21 @@ exports.t1 = 10; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file1 Input:: @@ -96,6 +119,14 @@ Input:: export var t1 = 10;export var t3 = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -150,3 +181,11 @@ exports.t1 = 10; exports.t3 = 10; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js index 7e379c7c4ca7d..992e7f1403a6f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -78,6 +86,20 @@ var y = 1; +fileExists:: { + "/a/tsconfig.json": 1 +} + +directoryExists:: { + "/a/tsconfig.json": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file Input:: @@ -85,6 +107,14 @@ Input:: let x = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -136,6 +166,14 @@ var x = 11; //// [/a/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file again Input:: @@ -143,6 +181,14 @@ Input:: let xy = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -193,3 +239,11 @@ var xy = 11; //// [/a/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js index a20e56f54036e..8adec28506ca9 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -69,6 +77,20 @@ var y = 1; +fileExists:: { + "/a/tsconfig.json": 1 +} + +directoryExists:: { + "/a/tsconfig.json": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file Input:: @@ -76,6 +98,14 @@ Input:: let x = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -122,6 +152,14 @@ var y = 1; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file again Input:: @@ -129,6 +167,14 @@ Input:: let xy = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -174,3 +220,11 @@ var xy = 11; var y = 1; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js index 4ef872f02ce1e..c1e5de85f864f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -69,6 +77,20 @@ var y = 1; +fileExists:: { + "/a/tsconfig.json": 1 +} + +directoryExists:: { + "/a/tsconfig.json": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file Input:: @@ -76,6 +98,14 @@ Input:: let x = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -122,6 +152,14 @@ var y = 1; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make change in the file again Input:: @@ -129,6 +167,14 @@ Input:: let xy = 11 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -174,3 +220,11 @@ var xy = 11; var y = 1; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js index 8699baff9154b..6d5fc3fcb935f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js @@ -28,6 +28,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"outFile":"../output/common.js","target":"es5"},"files":["/a/b/output/AnotherDependency/file1.d.ts","/a/b/dependencies/file2.d.ts","/a/b/project/src/main.ts","/a/b/project/src/main2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/project/tsconfig.json Output:: >> Screen clear @@ -94,3 +102,19 @@ var main; })(main || (main = {})); + +fileExists:: { + "/a/b/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/project/tsconfig.json": 1, + "/a/b/project/node_modules/@types": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js index c5fd4854e9163..2706326282411 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js @@ -28,6 +28,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"outDir":"../output","target":"es5"},"files":["/a/b/output/AnotherDependency/file1.d.ts","/a/b/dependencies/file2.d.ts","/a/b/project/src/main.ts","/a/b/project/src/main2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/project/tsconfig.json Output:: >> Screen clear @@ -107,3 +115,19 @@ var main; })(main || (main = {})); + +fileExists:: { + "/a/b/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/project/tsconfig.json": 1, + "/a/b/project/node_modules/@types": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js index 0199008ca2079..9fe4af78a28c8 100644 --- a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js +++ b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /a/rootFolder/project/tsconfig.json Output:: >> Screen clear @@ -78,6 +86,25 @@ var z = 10; +fileExists:: { + "/a/rootfolder/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/rootfolder/project/tsconfig.json": 1, + "/a/rootfolder/project/node_modules/@types": 1, + "/a/rootfolder/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/rootfolder/project/static/scripts": 1, + "/a/rootfolder/project/static": 1, + "/a/rootfolder/project": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify typescript file Input:: @@ -85,6 +112,14 @@ Input:: var zz30 = 100; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -135,3 +170,11 @@ exitCode:: ExitStatus.undefined var zz30 = 100; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 4ad08307699cb..38e3d4281ba1f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -98,6 +106,29 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -108,6 +139,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -158,6 +197,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -168,6 +215,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -218,6 +273,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -228,6 +291,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -277,3 +348,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index e5af13740a6c7..d11d4404df1a3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -123,6 +131,25 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -133,6 +160,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -203,6 +238,14 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -213,6 +256,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -280,6 +331,14 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -290,6 +349,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -356,3 +423,11 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 2e4300b3b2939..35f39bb76c8be 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -169,6 +177,27 @@ require("./d"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -183,6 +212,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -248,6 +285,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -262,6 +307,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... @@ -318,6 +371,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -332,6 +393,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... @@ -387,3 +456,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 668de3197073d..3586e92e1b6b0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -212,6 +220,30 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -221,6 +253,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -296,6 +336,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -305,6 +353,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -368,6 +424,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -377,6 +441,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -439,3 +511,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index c6e0b42637201..01f0163b64ecd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -235,6 +243,31 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -244,6 +277,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -325,6 +366,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -334,6 +383,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -400,6 +457,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -409,6 +474,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -474,3 +547,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index 10cfb6a2a9db9..c72ad71be22d3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -354,6 +406,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -362,6 +427,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -489,11 +562,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -543,6 +632,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -551,6 +648,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -661,11 +766,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -709,3 +830,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 4aff6d522fa99..22677a751d9c8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -91,11 +99,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -145,6 +179,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -155,6 +197,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -220,6 +270,20 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -228,6 +292,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -279,11 +351,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -333,6 +421,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -341,6 +437,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -393,11 +497,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -441,3 +561,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 3bfc8798173ab..e9492bf5c2a0f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -102,6 +110,29 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -112,6 +143,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -162,6 +201,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -172,6 +219,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -222,6 +277,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -232,6 +295,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -281,3 +352,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 1b5b6508729ef..62bdb1963c568 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -140,6 +148,25 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -150,6 +177,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -219,6 +254,14 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -229,6 +272,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -298,6 +349,14 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -308,6 +367,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -376,3 +443,11 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 261571ca33d61..6525859456c26 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -199,6 +207,27 @@ import "./d"; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -213,6 +242,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -297,6 +334,14 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -311,6 +356,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:11 AM] File change detected. Starting incremental compilation... @@ -395,6 +448,14 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -409,6 +470,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -492,3 +561,11 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 3606da8908821..ada03b35de8ee 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,6 +251,30 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -252,6 +284,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -316,6 +356,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -325,6 +373,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -389,6 +445,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -398,6 +462,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -461,3 +533,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 1b1c6a5f0fadf..667b7759d834e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -275,6 +283,31 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,6 +317,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -351,6 +392,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -360,6 +409,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -427,6 +484,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -436,6 +501,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:46 AM] File change detected. Starting incremental compilation... @@ -502,3 +575,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index ba89be276eac7..00564123f6239 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -168,11 +176,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -222,6 +258,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -232,6 +276,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -370,6 +422,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -378,6 +443,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -506,11 +579,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -560,6 +649,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -568,6 +665,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -680,11 +785,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -728,3 +849,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index a858fd1aff63c..f35e374e62ae2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -91,11 +99,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -145,6 +179,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -155,6 +197,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -234,6 +284,20 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -242,6 +306,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -293,11 +365,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -347,6 +435,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -355,6 +451,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -408,11 +512,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -456,3 +576,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js index c29f5601d0aa2..5ad6ccaf477e5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -98,6 +106,29 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -108,6 +139,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -165,6 +204,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -175,6 +222,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -227,6 +282,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -237,6 +300,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -293,3 +364,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js index ad28da438703c..a27ff8e37637c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -123,6 +131,25 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -133,6 +160,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -203,6 +238,14 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -213,6 +256,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -277,6 +328,14 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -287,6 +346,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -355,3 +422,11 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index 6511d769013c2..711cb637b5583 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -169,6 +177,27 @@ require("./d"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -183,6 +212,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -248,6 +285,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -262,6 +307,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... @@ -338,6 +391,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -352,6 +413,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... @@ -413,3 +482,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js index 12f34fb44e190..10e1f03e459db 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -212,6 +220,30 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -221,6 +253,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -296,6 +336,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -305,6 +353,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -370,6 +426,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -379,6 +443,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -449,3 +521,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js index f635f3ae38bf0..3661b4af9607b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -235,6 +243,31 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -244,6 +277,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -325,6 +366,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -334,6 +383,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -404,6 +461,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -413,6 +478,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -488,3 +561,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js index d01d060fe1319..3ac85b4949316 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -172,11 +180,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -226,6 +262,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -236,6 +280,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -358,6 +410,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -366,6 +431,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -492,11 +565,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -546,6 +635,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -554,6 +651,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -663,11 +768,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -711,3 +832,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js index bd644b773bad1..e20d3bbf0a156 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -97,11 +105,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -151,6 +185,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -161,6 +203,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -226,6 +276,20 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -234,6 +298,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -285,11 +357,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -339,6 +427,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -347,6 +443,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -399,11 +503,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -447,3 +567,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 881bb3fb80725..ef5ce2ab64837 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -102,6 +110,29 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -112,6 +143,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -170,6 +209,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -180,6 +227,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -233,6 +288,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -243,6 +306,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -300,3 +371,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 461b77f5037bb..b3489dbc885f6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -140,6 +148,25 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -150,6 +177,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -227,6 +262,14 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -237,6 +280,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -309,6 +360,14 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -319,6 +378,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -395,3 +462,11 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 80810ab0ec43a..085628281912c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -199,6 +207,27 @@ import "./d"; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -213,6 +242,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -287,6 +324,14 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -301,6 +346,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -391,6 +444,14 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -405,6 +466,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -478,3 +547,11 @@ export interface Coords { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 3daa1e66f2f5d..4efa54706d47a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,6 +251,30 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -252,6 +284,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -334,6 +374,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -343,6 +391,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -419,6 +475,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -428,6 +492,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:04 AM] File change detected. Starting incremental compilation... @@ -509,3 +581,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index d90b5e2271ced..4bea52c65b0fd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -275,6 +283,31 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,6 +317,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -372,6 +413,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -381,6 +430,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -463,6 +520,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -472,6 +537,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:16 AM] File change detected. Starting incremental compilation... @@ -559,3 +632,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index a7e1626c8dc86..d56ac79a6ae08 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js index efbd1eccf804c..2db732ba777ae 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -91,11 +99,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -145,6 +179,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -155,6 +197,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -234,6 +284,20 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -242,6 +306,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -293,11 +365,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -347,6 +435,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -355,6 +451,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -408,11 +512,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -456,3 +576,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 0a08936aad5a3..d4bd0899870e4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -167,6 +175,29 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -177,6 +208,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -296,6 +335,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -306,6 +353,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -425,6 +480,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -435,6 +498,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -553,3 +624,11 @@ exitCode:: ExitStatus.undefined "size": 940 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index a02c355ad5092..2538edd134bf1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -192,6 +200,25 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -202,6 +229,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -350,6 +385,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -360,6 +403,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -505,6 +556,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -515,6 +574,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -659,3 +726,11 @@ exports.C = C; "size": 1299 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index d0ef2c17b099d..51b7ea075645f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -313,6 +321,27 @@ require("./d"); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -327,6 +356,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -488,6 +525,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -502,6 +547,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -654,6 +707,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -668,6 +729,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -819,3 +888,11 @@ exitCode:: ExitStatus.undefined "size": 1817 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 079a29e8103f8..e28b4b8dae9d4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -326,6 +334,30 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -335,6 +367,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -544,6 +584,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -553,6 +601,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -750,6 +806,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -759,6 +823,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -955,3 +1027,11 @@ exitCode:: ExitStatus.undefined "size": 2308 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index b6640524b36d7..a0325f6d38da9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -364,6 +372,31 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -373,6 +406,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -603,6 +644,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -612,6 +661,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -827,6 +884,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -836,6 +901,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -1050,3 +1123,11 @@ exitCode:: ExitStatus.undefined "size": 2671 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index e42e43bd8b646..952b914ad64ef 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -354,6 +406,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -362,6 +427,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -489,11 +562,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -543,6 +632,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -551,6 +648,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -661,11 +766,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -709,3 +830,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 9dde0054674ce..b982a76e78bef 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -354,6 +406,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -362,6 +427,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -489,11 +562,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -543,6 +632,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -551,6 +648,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -661,11 +766,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -709,3 +830,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 59e9152a272f4..59a5dcdf75ab4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -169,6 +177,29 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -179,6 +210,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -296,6 +335,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -306,6 +353,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -423,6 +478,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -433,6 +496,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -549,3 +620,11 @@ exitCode:: ExitStatus.undefined "size": 1004 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 34d7a6f01d14b..d61dc0497cf0e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -207,6 +215,25 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -217,6 +244,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -353,6 +388,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -363,6 +406,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -499,6 +550,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -509,6 +568,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -644,3 +711,11 @@ export declare class C { "size": 1192 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 684bae78c879c..756dbd7ef8da9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -341,6 +349,27 @@ import "./d"; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -355,6 +384,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -581,6 +618,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -595,6 +640,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... @@ -821,6 +874,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -835,6 +896,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -1060,3 +1129,11 @@ export interface Coords { "size": 2498 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 21eff29fc5920..c6f55bfe4c33a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -355,6 +363,30 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -364,6 +396,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -540,6 +580,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -549,6 +597,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... @@ -725,6 +781,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -734,6 +798,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -909,3 +981,11 @@ export interface ITest { "size": 1952 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index a0b4491f09040..86ede9d4f58f7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -402,6 +410,31 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -411,6 +444,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -605,6 +646,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -614,6 +663,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -808,6 +865,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -817,6 +882,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:02 AM] File change detected. Starting incremental compilation... @@ -1010,3 +1083,11 @@ export interface ITest { "size": 2315 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index bfdf6d81126b5..ceec18d6e3d12 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -168,11 +176,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -222,6 +258,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -232,6 +276,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -370,6 +422,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -378,6 +443,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -506,11 +579,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -560,6 +649,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -568,6 +665,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -680,11 +785,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -728,3 +849,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index 3f2c70b67c6d6..ea61dcb8f9680 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -168,11 +176,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -222,6 +258,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -232,6 +276,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -370,6 +422,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -378,6 +443,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -506,11 +579,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -560,6 +649,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -568,6 +665,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -680,11 +785,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -728,3 +849,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js index fc05264b9f6be..4596fe1784e42 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -164,6 +172,29 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -174,6 +205,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -309,6 +348,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -319,6 +366,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -437,6 +492,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -447,6 +510,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -581,3 +652,11 @@ exitCode:: ExitStatus.undefined "size": 1005 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js index 1ddc36f38bc2a..f86310c6b343a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -189,6 +197,25 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -199,6 +226,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -344,6 +379,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -354,6 +397,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -484,6 +535,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -494,6 +553,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -640,3 +707,11 @@ exports.C = C; "size": 1193 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index ba0c15f8df4a8..0bf574bfc6b52 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -310,6 +318,27 @@ require("./d"); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -324,6 +353,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -482,6 +519,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -496,6 +541,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -713,6 +766,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -727,6 +788,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -884,3 +953,11 @@ exitCode:: ExitStatus.undefined "size": 1526 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js index 33455df772015..3a8b23dc15f72 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -323,6 +331,30 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -332,6 +364,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -538,6 +578,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -547,6 +595,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -723,6 +779,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -732,6 +796,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -936,3 +1008,11 @@ exitCode:: ExitStatus.undefined "size": 1890 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js index f72cf752238d1..7b224d5c1b1d3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -361,6 +369,31 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -370,6 +403,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -597,6 +638,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -606,6 +655,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -802,6 +859,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -811,6 +876,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -1035,3 +1108,11 @@ exitCode:: ExitStatus.undefined "size": 2075 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js index 050317bc3b808..6131e44df3935 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -172,11 +180,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -226,6 +262,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -236,6 +280,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -358,6 +410,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -366,6 +431,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -492,11 +565,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -546,6 +635,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -554,6 +651,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -663,11 +768,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -711,3 +832,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js index ab3c4d7927f42..44af709384a02 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js @@ -39,6 +39,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -172,11 +180,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -226,6 +262,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -236,6 +280,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -358,6 +410,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -366,6 +431,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -492,11 +565,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -546,6 +635,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -554,6 +651,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -663,11 +768,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -711,3 +832,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index c440413b8f56a..09bf9cce3125f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -168,6 +176,29 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -178,6 +209,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -314,6 +353,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -324,6 +371,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -443,6 +498,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -453,6 +516,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -588,3 +659,11 @@ exitCode:: ExitStatus.undefined "size": 1081 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js index e9cf233438753..68bd335622073 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -206,6 +214,25 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -216,6 +243,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -371,6 +406,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -381,6 +424,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -519,6 +570,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -529,6 +588,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -683,3 +750,11 @@ export declare class C { "size": 1269 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 081531da6d496..d67043aef7fb9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -340,6 +348,27 @@ import "./d"; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -354,6 +383,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -524,6 +561,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -538,6 +583,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -769,6 +822,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -783,6 +844,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -952,3 +1021,11 @@ export interface Coords { "size": 1787 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js index 3553ec1da0723..67e662c73f5dc 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -354,6 +362,30 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -363,6 +395,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -579,6 +619,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -588,6 +636,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:45 AM] File change detected. Starting incremental compilation... @@ -775,6 +831,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -784,6 +848,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:20 AM] File change detected. Starting incremental compilation... @@ -999,3 +1071,11 @@ export interface ITest { "size": 2278 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js index 8e8b28d62f71b..3bf9be7777b8f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -401,6 +409,31 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -410,6 +443,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -647,6 +688,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -656,6 +705,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:54 AM] File change detected. Starting incremental compilation... @@ -864,6 +921,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -873,6 +938,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:32 AM] File change detected. Starting incremental compilation... @@ -1109,3 +1182,11 @@ export interface ITest { "size": 2641 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js index 036a97dadd0e4..2c5a07832589f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js index 35a4b1f80423d..8b99a54632e1f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index ae960b54f62fa..e8562e73d6d6d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -164,6 +172,29 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -174,6 +205,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -309,6 +348,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -319,6 +366,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -437,6 +492,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -447,6 +510,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -581,3 +652,11 @@ exitCode:: ExitStatus.undefined "size": 1005 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 13f79b0d72f36..f8a3a02521160 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -189,6 +197,25 @@ console.log(b.c.d); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -199,6 +226,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -345,6 +380,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -355,6 +398,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -484,6 +535,14 @@ exports.C = C; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -494,6 +553,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -639,3 +706,11 @@ exports.C = C; "size": 1089 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index 53ebb855fc8d2..7e47407749b34 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -310,6 +318,27 @@ require("./d"); } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -324,6 +353,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -481,6 +518,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -495,6 +540,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -713,6 +766,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -727,6 +788,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -883,3 +952,11 @@ exitCode:: ExitStatus.undefined "size": 1405 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js index 9f576d8cb82f3..f2b2aed6df20a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -323,6 +331,30 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -332,6 +364,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -536,6 +576,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -545,6 +593,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -720,6 +776,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -729,6 +793,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:26 AM] File change detected. Starting incremental compilation... @@ -932,3 +1004,11 @@ exitCode:: ExitStatus.undefined "size": 1812 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js index 3cc11bccabbb9..5afe821cfd77c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -361,6 +369,31 @@ exports.App = App; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -370,6 +403,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -594,6 +635,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -603,6 +652,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -798,6 +855,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -807,6 +872,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -1030,3 +1103,11 @@ exitCode:: ExitStatus.undefined "size": 1997 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js index 7df8484e45904..3d1e6b37ce5aa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -166,11 +174,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -220,6 +256,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -230,6 +274,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -352,6 +404,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -360,6 +425,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -486,11 +559,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -540,6 +629,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -548,6 +645,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -657,11 +762,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -705,3 +826,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js index ecd40437efddc..70c75e5904022 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -166,11 +174,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -220,6 +256,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -230,6 +274,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -352,6 +404,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -360,6 +425,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -486,11 +559,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -540,6 +629,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -548,6 +645,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -657,11 +762,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -705,3 +826,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index eac80ea725366..fe8e072187ebf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -168,6 +176,29 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -178,6 +209,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -314,6 +353,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -324,6 +371,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -443,6 +498,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -453,6 +516,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -588,3 +659,11 @@ exitCode:: ExitStatus.undefined "size": 1081 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index e611a650ee126..d4c843b51867d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -206,6 +214,25 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -216,6 +243,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -370,6 +405,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -380,6 +423,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -517,6 +568,14 @@ export declare class C { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -527,6 +586,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -680,3 +747,11 @@ export declare class C { "size": 1269 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index ae50ce1ec816a..d4f3cf867232d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -340,6 +348,27 @@ import "./d"; } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -354,6 +383,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -526,6 +563,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -540,6 +585,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -773,6 +826,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -787,6 +848,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -958,3 +1027,11 @@ export interface Coords { "size": 1787 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index ab19e60075cee..9b45ecdf00333 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -354,6 +362,30 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -363,6 +395,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -578,6 +618,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -587,6 +635,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:42 AM] File change detected. Starting incremental compilation... @@ -773,6 +829,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -782,6 +846,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:14 AM] File change detected. Starting incremental compilation... @@ -996,3 +1068,11 @@ export interface ITest { "size": 2278 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 65720509b7e27..281e023aaafa7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -401,6 +409,31 @@ export declare class App { } +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -410,6 +443,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -646,6 +687,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -655,6 +704,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -862,6 +919,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -871,6 +936,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:26 AM] File change detected. Starting incremental compilation... @@ -1106,3 +1179,11 @@ export interface ITest { "size": 2641 } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index b320338ade2cd..67e6fe6192455 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js index e4a2935993f12..3c79eb1a6d65d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index f82cb18acc206..4b8c5ad42fb5c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -98,6 +106,29 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -108,6 +139,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -165,6 +204,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -175,6 +222,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -227,6 +282,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -237,6 +300,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -293,3 +364,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 187c852e65829..715551ba17ea4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -123,6 +131,25 @@ console.log(b.c.d); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -133,6 +160,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -201,6 +236,14 @@ exports.C = C; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -211,6 +254,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -274,6 +325,14 @@ exports.C = C; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -284,6 +343,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -351,3 +418,11 @@ var C = /** @class */ (function () { exports.C = C; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index bdf52477a2dec..ab0cd6d784630 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -169,6 +177,27 @@ require("./d"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -183,6 +212,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -244,6 +281,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -258,6 +303,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -335,6 +388,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -349,6 +410,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -409,3 +478,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js index 666c696b59ce8..403d70460d535 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -212,6 +220,30 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -221,6 +253,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -291,6 +331,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -300,6 +348,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -364,6 +420,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -373,6 +437,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -442,3 +514,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js index 64a6121a827be..4d280f6d258a6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -235,6 +243,31 @@ exports.App = App; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -244,6 +277,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -319,6 +360,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -328,6 +377,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -397,6 +454,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -406,6 +471,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -480,3 +553,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js index b6855669b1717..8066089bcd9b4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -166,11 +174,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -220,6 +256,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -230,6 +274,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -352,6 +404,19 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -360,6 +425,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -486,11 +559,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -540,6 +629,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -548,6 +645,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -657,11 +762,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -705,3 +826,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js index eeeb35625e47a..9a272babcff70 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -91,11 +99,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -145,6 +179,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -155,6 +197,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -220,6 +270,20 @@ console.log("hi"); +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -228,6 +292,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -279,11 +351,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -333,6 +421,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -341,6 +437,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -393,11 +497,27 @@ var a = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -441,3 +561,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 07ddff950d931..91080934b37a6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -102,6 +110,29 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.tsx": 1, + "/user/username/projects/myproject/b.d.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/c.tsx": 1, + "/user/username/projects/myproject/c.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -112,6 +143,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -170,6 +209,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -180,6 +227,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -233,6 +288,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -243,6 +306,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -300,3 +371,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 68a41566c5e8d..1edb729bdfd29 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,6 +35,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -140,6 +148,25 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -150,6 +177,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -226,6 +261,14 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -236,6 +279,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -307,6 +358,14 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property d to d2 of class C Input:: @@ -317,6 +376,14 @@ export class C } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -392,3 +459,11 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 54fdd1b5eba79..c438e699ca1e8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,6 +50,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -199,6 +207,27 @@ import "./d"; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/c.ts": 1, + "/user/username/projects/myproject/d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 8, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -213,6 +242,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -289,6 +326,14 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -303,6 +348,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -395,6 +448,14 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property x2 to x of interface Coords Input:: @@ -409,6 +470,14 @@ export interface Coords { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -484,3 +553,11 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 91452c7142d6f..83d3c3d61c184 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -49,6 +49,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,6 +251,30 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 5, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -252,6 +284,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -333,6 +373,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -342,6 +390,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -417,6 +473,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -426,6 +490,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:58 AM] File change detected. Starting incremental compilation... @@ -506,3 +578,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 058f6fe2036ea..97196c6799bdc 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,6 +55,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -275,6 +283,31 @@ export declare class App { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/lib2/public.ts": 1, + "/user/username/projects/myproject/lib2/data.ts": 1, + "/user/username/projects/myproject/lib1/public.ts": 1, + "/user/username/projects/myproject/lib2/data2.ts": 1, + "/user/username/projects/myproject/lib1/tools/public.ts": 1, + "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/lib2": 7, + "/user/username/projects/myproject/lib1": 3, + "/user/username/projects/myproject/lib1/tools": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,6 +317,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -371,6 +412,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -380,6 +429,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:41 AM] File change detected. Starting incremental compilation... @@ -461,6 +518,14 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename property title to title2 of interface ITest Input:: @@ -470,6 +535,14 @@ export interface ITest { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:10 AM] File change detected. Starting incremental compilation... @@ -556,3 +629,11 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 83a5707d25137..90431b2342c04 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -167,11 +175,39 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -221,6 +257,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -231,6 +275,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -368,6 +420,19 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -376,6 +441,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -503,11 +576,27 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -557,6 +646,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -565,6 +662,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -676,11 +781,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -724,3 +845,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js index e95bfc9ace12c..ab7be45739412 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js @@ -33,6 +33,14 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: >> Screen clear @@ -91,11 +99,37 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/noemitonerror/tsconfig.json": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 +} + +directoryExists:: { + "/user/username/projects/noemitonerror/shared/types": 2, + "/user/username/projects/noemitonerror/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -145,6 +179,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Syntax error Input:: @@ -155,6 +197,14 @@ const a = { }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -234,6 +284,20 @@ export {}; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/noemitonerror/dev-build/shared/types": 1, + "/user/username/projects/noemitonerror/dev-build/shared": 1, + "/user/username/projects/noemitonerror/dev-build": 2, + "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Semantic Error Input:: @@ -242,6 +306,14 @@ import { A } from "../shared/types/db"; const a: string = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -293,11 +365,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -347,6 +435,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix Semantic Error Input:: @@ -355,6 +451,14 @@ import { A } from "../shared/types/db"; const a: string = "hello"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -408,11 +512,27 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -456,3 +576,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index b1d511faa2c44..dc672976f31dc 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -36,6 +36,14 @@ export const App = () =>
; {"compilerOptions":{"jsx":"react-jsx","jsxImportSource":"react","forceConsistentCasingInFileNames":true},"files":["node_modules/react/jsx-Runtime/index.d.ts","index.tsx"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -110,3 +118,30 @@ var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); } exports.App = App; + +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime/package.json": 1, + "/user/username/projects/myproject/node_modules/react/package.json": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime.ts": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime.tsx": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime.d.ts": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.ts": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.tsx": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/myproject/node_modules/react/jsx-runtime": 3, + "/user/username/projects/myproject/node_modules/react": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index 33e472c837816..06fa863b34d6a 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -30,6 +30,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + c:/a/lib/tsc.js --w --p c://project --explainFiles Output:: >> Screen clear @@ -103,6 +111,21 @@ a_2.b; +fileExists:: { + "c:/project/tsconfig.json": 1, + "c:/project/a.ts": 2 +} + +directoryExists:: { + "c:/project": 5, + "c:/project/node_modules/@types": 1, + "c:/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -114,6 +137,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -176,3 +207,11 @@ exports.b = 2; //// [c:/project/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index e8961da542b86..ec98f3ffc0b05 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -30,6 +30,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + C:/a/lib/tsc.js --w --p C://project --explainFiles Output:: >> Screen clear @@ -103,6 +111,21 @@ a_2.b; +fileExists:: { + "c:/project/tsconfig.json": 1, + "c:/project/a.ts": 2 +} + +directoryExists:: { + "c:/project": 5, + "c:/project/node_modules/@types": 1, + "c:/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -114,6 +137,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -176,3 +207,11 @@ exports.b = 2; //// [C:/project/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index 634c9ca43fadb..861422d21789c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -131,6 +139,26 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy/a.ts": 1, + "/user/username/projects/myproject/link/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/xy": 1, + "/user/username/projects/myproject/link": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -142,6 +170,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -241,3 +277,11 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 53467069a4612..fc5bcab064beb 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -119,6 +127,25 @@ link_1.b; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy.ts": 1, + "/user/username/projects/myproject/link.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -130,6 +157,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -197,3 +232,11 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 6f765544f578c..c272a77712249 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -89,6 +97,25 @@ new logger_1.logger(); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/logger.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change module name from logger to Logger Input:: @@ -96,6 +123,14 @@ Input:: import { logger } from "./Logger"; new logger(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -153,3 +188,20 @@ var Logger_1 = require("./Logger"); new Logger_1.logger(); + +fileExists:: { + "/user/username/projects/myproject/logger.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index b847f8fdb410d..5bb7a938e67d3 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -131,6 +139,26 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy/a.ts": 1, + "/user/username/projects/myproject/link/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/xy": 1, + "/user/username/projects/myproject/link": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -142,6 +170,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -241,3 +277,11 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index 094ce2ca94265..ef2d7111a230e 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -119,6 +127,25 @@ link_1.b; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy.ts": 1, + "/user/username/projects/myproject/link.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -130,6 +157,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -197,3 +232,11 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index c9f4403e401f2..25eee29b8c4c4 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -137,6 +145,25 @@ System.register("XY/a", [], function (exports_3, context_3) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/link/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/yx": 2, + "/user/username/projects/myproject/link": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -148,6 +175,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -253,3 +288,11 @@ System.register("XY/a", [], function (exports_3, context_3) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 39c9167334e37..5c017e8b12755 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -127,6 +135,30 @@ link_1.b; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/yx.ts": 1, + "/user/username/projects/myproject/yx.tsx": 1, + "/user/username/projects/myproject/yx.d.ts": 1, + "/user/username/projects/myproject/yx.js": 1, + "/user/username/projects/myproject/yx.jsx": 1, + "/user/username/projects/myproject/link.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 6, + "/user/username/projects/myproject/yx": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -138,6 +170,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -210,3 +250,11 @@ exports.a = 1; exports.b = 2; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index a3571bb39360c..951b66ee93f53 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -139,6 +147,26 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy/a.ts": 1, + "/user/username/projects/myproject/link/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/xy": 1, + "/user/username/projects/myproject/link": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -150,6 +178,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -257,3 +293,11 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index f0059e68a8b7b..35d5c2f5d408b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -127,6 +135,25 @@ link_1.b; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy.ts": 1, + "/user/username/projects/myproject/link.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -138,6 +165,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -213,3 +248,11 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index effb28f973961..c940f20bbd831 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -139,6 +147,26 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy/a.ts": 1, + "/user/username/projects/myproject/link/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/xy": 1, + "/user/username/projects/myproject/link": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -150,6 +178,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -257,3 +293,11 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { }); + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 23c67c71ac06b..ee9adb8c22d3f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -31,6 +31,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -127,6 +135,25 @@ link_1.b; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/xy.ts": 1, + "/user/username/projects/myproject/link.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -138,6 +165,14 @@ export const b = 2; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -213,3 +248,11 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index 481cc141c2a56..5c98f0f2791a3 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -25,6 +25,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -133,6 +141,24 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/modulec.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Prepend a line to moduleA Input:: @@ -141,6 +167,14 @@ Input:: import a = require("./ModuleC") +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -225,3 +259,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/moduleA.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js index de81b0d9b7e94..248b6cc396917 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -89,11 +97,38 @@ new logger_1.logger(); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/logger.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change name of file from logger to Logger Input:: //// [/user/username/projects/myproject/Logger.ts] file was renamed from file /user/username/projects/myproject/logger.ts +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -142,3 +177,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index c2346e39d96e6..cdbe9bb63f36c 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -27,6 +27,14 @@ import classNames from "classnames"; classNames().foo; {"compilerOptions":{"module":"commonjs","incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -140,6 +148,33 @@ var classnames_1 = require("classnames"); } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/classnames/package.json": 1, + "/users/username/projects/project/node_modules/classnames.ts": 1, + "/users/username/projects/project/node_modules/classnames.tsx": 1, + "/users/username/projects/project/node_modules/classnames.d.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.tsx": 1, + "/users/username/projects/project/node_modules/classnames/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/src/node_modules": 1, + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/classnames": 1, + "/users/username/projects/project/src/types/node_modules": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -147,6 +182,14 @@ Input:: export {}; declare module "classnames" { interface Result {} } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: src/index.ts:1:51 - error TS2339: Property 'foo' does not exist on type 'Result'. @@ -264,3 +307,30 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 1237 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/classnames/package.json": 1, + "/users/username/projects/project/node_modules/classnames.ts": 1, + "/users/username/projects/project/node_modules/classnames.tsx": 1, + "/users/username/projects/project/node_modules/classnames.d.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.tsx": 1, + "/users/username/projects/project/node_modules/classnames/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/src/node_modules": 1, + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/classnames": 1, + "/users/username/projects/project/src/types/node_modules": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index 14d6f7c11844c..d24b6f62d34ee 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -27,6 +27,14 @@ import classNames from "classnames"; classNames().foo; {"compilerOptions":{"module":"commonjs","incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -165,6 +173,33 @@ var classnames_1 = require("classnames"); } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/classnames/package.json": 1, + "/users/username/projects/project/node_modules/classnames.ts": 1, + "/users/username/projects/project/node_modules/classnames.tsx": 1, + "/users/username/projects/project/node_modules/classnames.d.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.tsx": 1, + "/users/username/projects/project/node_modules/classnames/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/src/node_modules": 1, + "/users/username/projects/project/node_modules": 2, + "/users/username/projects/project/node_modules/classnames": 3, + "/users/username/projects/project/src/types/node_modules": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -172,6 +207,14 @@ Input:: export {}; declare module "classnames" { interface Result {} } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] Starting compilation in watch mode... @@ -311,3 +354,30 @@ exitCode:: ExitStatus.undefined "size": 1237 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/classnames/package.json": 1, + "/users/username/projects/project/node_modules/classnames.ts": 1, + "/users/username/projects/project/node_modules/classnames.tsx": 1, + "/users/username/projects/project/node_modules/classnames.d.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.ts": 1, + "/users/username/projects/project/node_modules/classnames/index.tsx": 1, + "/users/username/projects/project/node_modules/classnames/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/src/node_modules": 1, + "/users/username/projects/project/node_modules": 2, + "/users/username/projects/project/node_modules/classnames": 3, + "/users/username/projects/project/src/types/node_modules": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index ebc849b3d4904..bc45064c6f302 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -27,6 +27,14 @@ export const x = {...{}}; {"compilerOptions":{"importHelpers":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -120,12 +128,45 @@ exports.x = tslib_1.__assign({}); } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/tslib/package.json": 1, + "/users/username/projects/project/node_modules/tslib.ts": 1, + "/users/username/projects/project/node_modules/tslib.tsx": 1, + "/users/username/projects/project/node_modules/tslib.d.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.tsx": 1, + "/users/username/projects/project/node_modules/tslib/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/tslib": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/node_modules/tslib/index.d.ts] deleted //// [/users/username/projects/project/node_modules/tslib/package.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: index.tsx:1:19 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. @@ -206,3 +247,36 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 975 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/tslib/package.json": 1, + "/users/username/projects/project/node_modules/tslib.ts": 1, + "/users/username/projects/project/node_modules/tslib.tsx": 1, + "/users/username/projects/project/node_modules/tslib.d.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.tsx": 1, + "/users/username/projects/project/node_modules/tslib/index.d.ts": 1, + "/users/username/projects/project/node_modules/tslib.js": 1, + "/users/username/projects/project/node_modules/tslib.jsx": 1, + "/users/username/projects/project/node_modules/tslib/index.js": 1, + "/users/username/projects/project/node_modules/tslib/index.jsx": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/tslib": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules": 1, + "/users/username/node_modules": 1, + "/users/node_modules": 1, + "/node_modules": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js index 013f8e9db8614..3f19c9aa5b05c 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js @@ -27,6 +27,14 @@ export const x = {...{}}; {"compilerOptions":{"importHelpers":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -87,12 +95,45 @@ exports.x = tslib_1.__assign({}); +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/tslib/package.json": 1, + "/users/username/projects/project/node_modules/tslib.ts": 1, + "/users/username/projects/project/node_modules/tslib.tsx": 1, + "/users/username/projects/project/node_modules/tslib.d.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.tsx": 1, + "/users/username/projects/project/node_modules/tslib/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 2, + "/users/username/projects/project/node_modules/tslib": 3, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/node_modules/tslib/index.d.ts] deleted //// [/users/username/projects/project/node_modules/tslib/package.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] Starting compilation in watch mode... @@ -144,3 +185,36 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/users/username/projects/project/index.js] file written with same contents + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/tslib/package.json": 1, + "/users/username/projects/project/node_modules/tslib.ts": 1, + "/users/username/projects/project/node_modules/tslib.tsx": 1, + "/users/username/projects/project/node_modules/tslib.d.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.ts": 1, + "/users/username/projects/project/node_modules/tslib/index.tsx": 1, + "/users/username/projects/project/node_modules/tslib/index.d.ts": 1, + "/users/username/projects/project/node_modules/tslib.js": 1, + "/users/username/projects/project/node_modules/tslib.jsx": 1, + "/users/username/projects/project/node_modules/tslib/index.js": 1, + "/users/username/projects/project/node_modules/tslib/index.jsx": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 4, + "/users/username/projects/project/node_modules/tslib": 5, + "/users/username/projects/project/node_modules/@types": 2, + "/users/username/projects/node_modules": 2, + "/users/username/node_modules": 2, + "/users/node_modules": 2, + "/node_modules": 2, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js index 9fcbe347f8e5f..79426dfb6d129 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js @@ -43,6 +43,14 @@ export { C } from "./c"; {"compilerOptions":{"incremental":true,"target":"es5","module":"commonjs","declaration":true,"emitDeclarationOnly":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -209,6 +217,26 @@ export { C } from "./c"; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/b.ts": 1, + "/users/username/projects/project/c.ts": 1, + "/users/username/projects/project/a.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -221,6 +249,14 @@ export interface A { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: @@ -367,3 +403,23 @@ export interface A { "size": 1130 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/b.ts": 1, + "/users/username/projects/project/c.ts": 1, + "/users/username/projects/project/a.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js index 9dfa11ed63a19..0910b32050262 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js @@ -43,6 +43,14 @@ export { C } from "./c"; {"compilerOptions":{"incremental":true,"target":"es5","module":"commonjs","declaration":true,"emitDeclarationOnly":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -230,6 +238,26 @@ export { C } from "./c"; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/b.ts": 1, + "/users/username/projects/project/c.ts": 1, + "/users/username/projects/project/a.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project": 6, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -242,6 +270,14 @@ export interface A { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:44 AM] Starting compilation in watch mode... @@ -409,3 +445,23 @@ export interface A { "size": 1130 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/b.ts": 1, + "/users/username/projects/project/c.ts": 1, + "/users/username/projects/project/a.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project": 6, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index 8f677cebaf87d..ad7ad5652eeaa 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -21,6 +21,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: index.tsx:1:26 - error TS2307: Cannot find module 'react/jsx-runtime' or its corresponding type declarations. @@ -115,6 +123,27 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/node_modules": 1, + "/users/username/node_modules": 1, + "/users/node_modules": 1, + "/node_modules": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -136,6 +165,14 @@ export const Fragment: unique symbol; {"name":"react","version":"0.0.1"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: @@ -220,3 +257,30 @@ exitCode:: ExitStatus.Success "size": 1281 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 1, + "/users/username/projects/project/node_modules/react": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index e45b207c97124..5ac430f45bad9 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -21,6 +21,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -129,6 +137,27 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 2, + "/users/username/projects/node_modules": 2, + "/users/username/node_modules": 2, + "/users/node_modules": 2, + "/node_modules": 2, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -150,6 +179,14 @@ export const Fragment: unique symbol; {"name":"react","version":"0.0.1"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -257,3 +294,30 @@ exitCode:: ExitStatus.undefined "size": 1281 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 3, + "/users/username/projects/project/node_modules/react": 2, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index a083115e1a363..a90f6ee51d166 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -38,6 +38,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -134,12 +142,47 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 1, + "/users/username/projects/project/node_modules/react": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts] deleted //// [/users/username/projects/project/node_modules/react/package.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: index.tsx:1:26 - error TS2307: Cannot find module 'react/jsx-runtime' or its corresponding type declarations. @@ -222,3 +265,38 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 1038 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.js": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.jsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.js": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.jsx": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 1, + "/users/username/projects/project/node_modules/react": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules": 1, + "/users/username/node_modules": 1, + "/users/node_modules": 1, + "/node_modules": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index cd0d1e7b8b18d..375e75b677c73 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -38,6 +38,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -157,12 +165,47 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 3, + "/users/username/projects/project/node_modules/react": 2, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts] deleted //// [/users/username/projects/project/node_modules/react/package.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] Starting compilation in watch mode... @@ -263,3 +306,38 @@ exitCode:: ExitStatus.undefined "size": 1038 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.js": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.jsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.js": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.jsx": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 2, + "/users/username/projects/project/node_modules/react/jsx-runtime": 5, + "/users/username/projects/project/node_modules/react": 3, + "/users/username/projects/project/node_modules/@types": 2, + "/users/username/projects/node_modules": 2, + "/users/username/node_modules": 2, + "/users/node_modules": 2, + "/node_modules": 2, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index 7b5c667c63a9c..e66802e82beb2 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -55,6 +55,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i --explainFiles Output:: ../../../../a/lib/lib.d.ts @@ -157,6 +165,33 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 1, + "/users/username/projects/project/node_modules/react": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -164,6 +199,14 @@ Input:: {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"preact"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: index.tsx:1:31 - error TS2322: Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'. Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'? @@ -295,3 +338,30 @@ exports.App = App; "size": 1629 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/preact/package.json": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime": 1, + "/users/username/projects/project/node_modules/preact": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index 7725b4acdace9..f0d840dbe3a25 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -55,6 +55,14 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w --explainFiles Output:: >> Screen clear @@ -180,6 +188,33 @@ exports.App = App; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/react/package.json": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/react/jsx-runtime": 3, + "/users/username/projects/project/node_modules/react": 2, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -187,6 +222,14 @@ Input:: {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"preact"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] Starting compilation in watch mode... @@ -338,3 +381,30 @@ exports.App = App; "size": 1629 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/package.json": 1, + "/users/username/projects/project/node_modules/preact/package.json": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.tsx": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime.d.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.ts": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.tsx": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts": 2 +} + +directoryExists:: { + "/users/username/projects/project/node_modules": 1, + "/users/username/projects/project/node_modules/preact/jsx-runtime": 3, + "/users/username/projects/project/node_modules/preact": 2, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js index fcadad4ec2672..b1c43cdab0b26 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js @@ -22,6 +22,14 @@ export const y: string = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: file2.ts:1:14 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -132,6 +140,22 @@ define(["require", "exports"], function (require, exports) { } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -139,6 +163,14 @@ Input:: export const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: file2.ts:1:14 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -234,3 +266,19 @@ define(["require", "exports"], function (require, exports) { "size": 912 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js index 2e79391f863c7..75ef74a9f4c04 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js @@ -22,6 +22,14 @@ export const y: string = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -146,6 +154,22 @@ define(["require", "exports"], function (require, exports) { } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -153,6 +177,14 @@ Input:: export const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -262,3 +294,19 @@ define(["require", "exports"], function (require, exports) { "size": 912 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js index 3332c7e75e276..b655010cef51f 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js @@ -22,6 +22,14 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -112,6 +120,22 @@ define(["require", "exports"], function (require, exports) { } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -119,6 +143,14 @@ Input:: export const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: @@ -194,3 +226,19 @@ define(["require", "exports"], function (require, exports) { "size": 765 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js index 68cba3cbea504..40be5959ebddb 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js @@ -22,6 +22,14 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -129,6 +137,22 @@ define(["require", "exports"], function (require, exports) { } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -136,6 +160,14 @@ Input:: export const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -228,3 +260,19 @@ define(["require", "exports"], function (require, exports) { "size": 765 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 546532b70ff45..1d6efa49bda83 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -22,6 +22,14 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd","outFile":"out.js"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -106,3 +114,20 @@ define("file2", ["require", "exports"], function (require, exports) { ====================================================================== + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/out.js": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index 4ed569a14ce0f..d17e2587e9a51 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -22,6 +22,14 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd","outFile":"out.js"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -123,3 +131,20 @@ define("file2", ["require", "exports"], function (require, exports) { ====================================================================== + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/out.js": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js index 7246a7f1db2ba..4c07c8910075d 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js @@ -22,6 +22,14 @@ const x = 10; const y: string = 20; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: file2.ts:1:7 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -121,6 +129,22 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -128,6 +152,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: file2.ts:1:7 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -221,3 +253,19 @@ var z = 10; "size": 977 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js index 0bb59d7451bd4..6d2986dca4748 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js @@ -22,6 +22,14 @@ const x = 10; const y: string = 20; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -135,6 +143,22 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -142,6 +166,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -249,3 +281,19 @@ var z = 10; "size": 977 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js index 4bcf107f5802e..b12253e110e0a 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i -p tsconfig.json Output:: @@ -101,6 +109,23 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -108,6 +133,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: @@ -181,3 +214,20 @@ var z = 10; "size": 830 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js index 80549bfa4b8ed..9680169c6c616 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p tsconfig.json Output:: >> Screen clear @@ -118,6 +126,23 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -125,6 +150,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -215,3 +248,20 @@ var z = 10; "size": 830 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js index f4c092fab8618..dd548d74640fa 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -101,6 +109,22 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -108,6 +132,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: @@ -181,3 +213,19 @@ var z = 10; "size": 830 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js index fa1e250c159cc..69bf5d9a4cff0 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -118,6 +126,22 @@ var y = 20; } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: @@ -125,6 +149,14 @@ Input:: const z = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -215,3 +247,19 @@ var z = 10; "size": 830 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js index fa9ddd25d6b9a..34f2cd7ba0f80 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js @@ -24,6 +24,14 @@ console.log(Config.value); {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -99,11 +107,35 @@ console.log(Config.value); } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/globals.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: index.ts:1:13 - error TS2304: Cannot find name 'Config'. @@ -183,3 +215,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 880 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js index 2ff03fa62b66a..a021de553749e 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js @@ -24,6 +24,14 @@ console.log(Config.value); {"compilerOptions":{"incremental":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -116,11 +124,35 @@ console.log(Config.value); } +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Input:: //// [/users/username/projects/project/globals.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] Starting compilation in watch mode... @@ -212,3 +244,19 @@ exitCode:: ExitStatus.undefined "size": 880 } + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 46e14eb8b8fc8..9489a5180523b 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true,"outFile":"out.js"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -i Output:: @@ -86,3 +94,20 @@ var y = 20; ====================================================================== + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/out.js": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index dad99f4f478d1..68c0f77056c19 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -22,6 +22,14 @@ const y = 20; {"compilerOptions":{"incremental":true,"outFile":"out.js"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -103,3 +111,20 @@ var y = 20; ====================================================================== + +fileExists:: { + "/users/username/projects/project/tsconfig.json": 1, + "/users/username/projects/project/out.js": 1 +} + +directoryExists:: { + "/users/username/projects/project/node_modules/@types": 1, + "/users/username/projects/node_modules/@types": 1, + "/users/username/node_modules/@types": 1, + "/users/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index 38a03f26ac618..d1b3ac181cb0c 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -36,6 +36,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --project ./packages/pkg1/tsconfig.json -w --traceResolution Output:: >> Screen clear @@ -145,6 +153,51 @@ exports.theNum = 42; +fileExists:: { + "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/pkg1/build": 1, + "/user/username/projects/myproject/packages/pkg1": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: reports import errors after change to package file Input:: @@ -152,6 +205,14 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/other.js"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:53 AM] File change detected. Starting incremental compilation... @@ -239,6 +300,40 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents +fileExists:: { + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/other.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: removes those errors when a package file is changed back Input:: @@ -246,6 +341,14 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/index.js"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -345,3 +448,44 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, + "/user/username/projects/myproject/node_modules/pkg2.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, + "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/pkg1/node_modules": 1, + "/user/username/projects/myproject/packages/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/pkg2": 2, + "/user/username/projects/myproject/node_modules/pkg2/build": 4, + "/user/username/projects/myproject/packages/pkg2/build": 3, + "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js index bad3c2f405f98..4614ace947bae 100644 --- a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js +++ b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js @@ -27,6 +27,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /project/tsconfig.json Output:: >> Screen clear @@ -90,6 +98,34 @@ Thing.fn(); +fileExists:: { + "/project/tsconfig.json": 1, + "/project/src/package.json": 3, + "/project/package.json": 3, + "/a/lib/package.json": 2, + "/a/package.json": 2, + "/package.json": 2 +} + +directoryExists:: { + "/project/tsconfig.json": 1, + "/project/src": 3, + "/project": 3, + "/project/src/node_modules": 2, + "/project/node_modules": 2, + "/node_modules": 2, + "/project/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/lib": 2, + "/a": 2, + "/": 2, + "/dist": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify typescript file Input:: @@ -98,6 +134,14 @@ import * as Thing from "thing"; Thing.fn(); +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -145,3 +189,23 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/dist/index.js] file written with same contents + +fileExists:: { + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1, + "/project/src/package.json": 3, + "/project/package.json": 3 +} + +directoryExists:: { + "/a/lib": 1, + "/a": 1, + "/": 1, + "/project/src": 3, + "/project": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js index 49927e202caad..87b646acb3543 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js @@ -24,6 +24,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -80,3 +88,18 @@ exitCode:: ExitStatus.undefined var x = 10; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js index 8b8222669058e..aa3bfaac41caa 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js @@ -27,6 +27,14 @@ interface Array { length: number; [n: number]: T; } } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -87,6 +95,21 @@ var x = 10; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQSJ9 +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove the comment from config file Input:: @@ -100,6 +123,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -152,3 +183,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js index 2cd209a3fd767..6d1b75eb96817 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -74,3 +82,18 @@ exitCode:: ExitStatus.undefined //// [/a/b/app.js] + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js index 3f1f97f6c4719..727842d40b4c2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -66,6 +74,21 @@ var x = 10; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change config file to add error Input:: @@ -77,6 +100,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -120,6 +151,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change config file to remove error Input:: @@ -130,6 +169,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -167,3 +214,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js index a06197c668323..47d341bfcf1d1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js @@ -19,6 +19,14 @@ label: while (1) {} {"compilerOptions":{"allowUnusedLabels":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /tsconfig.json Output:: >> Screen clear @@ -64,6 +72,19 @@ label: while (1) { } +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: { + "/tsconfig.json": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Disable allowUnsusedLabels Input:: @@ -71,6 +92,14 @@ Input:: {"compilerOptions":{"allowUnusedLabels":false}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -114,6 +143,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable allowUnsusedLabels Input:: @@ -121,6 +158,14 @@ Input:: {"compilerOptions":{"allowUnusedLabels":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... @@ -158,3 +203,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js index 4c5f9fd874543..f1736cdeef21e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -66,6 +74,21 @@ var x = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Create commonFile2 Input:: @@ -73,6 +96,14 @@ Input:: let y = 1 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -123,3 +154,18 @@ exitCode:: ExitStatus.undefined var y = 1; + +fileExists:: { + "/a/b/commonfile2.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/commonfile2.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js index dbcedcb926755..89c73b4c0af9c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/file1.ts Output:: >> Screen clear @@ -67,6 +75,24 @@ T.bar(); +fileExists:: { + "/a/b/modulefile.ts": 1, + "/a/b/modulefile.tsx": 1, + "/a/b/modulefile.d.ts": 1, + "/a/b/modulefile.js": 1, + "/a/b/modulefile.jsx": 1 +} + +directoryExists:: { + "/a/b": 4, + "/a/b/modulefile": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Create module file Input:: @@ -74,6 +100,14 @@ Input:: export function bar() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -121,3 +155,16 @@ function bar() { } exports.bar = bar; + +fileExists:: { + "/a/b/modulefile.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 198407636764c..8c3ae3a835b05 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -22,6 +22,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -67,6 +75,21 @@ var x = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify config to make f2 as root too Input:: @@ -74,6 +97,14 @@ Input:: {"compilerOptions":{},"files":["f1.ts","f2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -122,3 +153,15 @@ exitCode:: ExitStatus.undefined var y = 1; + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index bdc830d204aef..abfe5b998c059 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -66,6 +74,21 @@ var x = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Write f2 Input:: @@ -73,6 +96,14 @@ Input:: let y = 1 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -123,3 +154,18 @@ exitCode:: ExitStatus.undefined var y = 1; + +fileExists:: { + "/a/b/f2.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/f2.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index 4d67e95eb4725..df04537f9eea1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } {"include":[".","./**/*.json"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p . Output:: >> Screen clear @@ -71,6 +79,23 @@ exports.x = 10; +fileExists:: { + "/user/username/projects/myproject/project/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/project/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Write file2 Input:: @@ -78,6 +103,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -129,3 +162,21 @@ exports.y = void 0; exports.y = 10; + +fileExists:: { + "/user/username/projects/myproject/project/file2.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/project/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/project/file2.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js index 0f5f85ff676ef..ac79605fe4451 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } {"include":["app.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /A/B/tsconfig.json Output:: >> Screen clear @@ -63,3 +71,18 @@ exitCode:: ExitStatus.undefined var x = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js index 266ea82a68489..18e307728ea0b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -22,6 +22,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts","f2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -76,6 +84,21 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify config to set outFile option Input:: @@ -83,6 +106,14 @@ Input:: {"compilerOptions":{"outFile":"out.js"},"files":["f1.ts","f2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -126,3 +157,11 @@ var x = 1; var y = 1; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js index 5e03660aaa3c6..81fcee363cd05 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js +++ b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js @@ -20,6 +20,14 @@ interface Array { length: number; [n: number]: T; } {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -68,6 +76,21 @@ exports.__esModule = true; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change `module` to 'none' Input:: @@ -75,6 +98,14 @@ Input:: {"compilerOptions":{"module":"none"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -122,3 +153,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js index 6f83238be91a8..e827d1fbaa539 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/f1.ts --explainFiles Output:: >> Screen clear @@ -97,6 +105,19 @@ __exportStar(require("./f2"), exports); +fileExists:: { + "/a/b/f2.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify f2 to include f3 Input:: @@ -104,6 +125,14 @@ Input:: export * from "../c/f3" +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -183,3 +212,16 @@ exports.y = void 0; exports.y = 1; + +fileExists:: { + "/a/c/f3.ts": 1 +} + +directoryExists:: { + "/a/c": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js index 81afaa8af30a4..3f6b5ca76b26c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js @@ -25,6 +25,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f2.ts","f3.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/c/tsconfig.json Output:: >> Screen clear @@ -94,3 +102,20 @@ exports.y = void 0; exports.y = 1; + +fileExists:: { + "/a/c/tsconfig.json": 1, + "/a/b/f1.ts": 1 +} + +directoryExists:: { + "/a/c/tsconfig.json": 1, + "/a/b": 2, + "/a/c/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js index 1a995e90899aa..f28fff6025bd3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -22,6 +22,14 @@ interface Array { length: number; [n: number]: T; } {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -78,11 +86,34 @@ var y = 2; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete config file Input:: //// [/a/b/tsconfig.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: error TS5083: Cannot read file '/a/b/tsconfig.json'. @@ -108,3 +139,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js index 09159656db710..66b4a5e5d33c6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js @@ -23,6 +23,14 @@ var x: Promise; {"compilerOptions":{"module":"commonjs","target":"es5","noImplicitAny":true,"sourceMap":false,"lib":["es5"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /compiler/tsc.js -w -p /src/tsconfig.json Output:: >> Screen clear @@ -75,6 +83,21 @@ var x; +fileExists:: { + "/src/tsconfig.json": 1 +} + +directoryExists:: { + "/src/tsconfig.json": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1, + "/node_modules": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change the lib in config Input:: @@ -82,6 +105,14 @@ Input:: {"compilerOptions":{"module":"commonjs","target":"es5","noImplicitAny":true,"sourceMap":false,"lib":["es5","es2015.promise"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -128,3 +159,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/src/app.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/src/node_modules/@types": 1, + "/node_modules/@types": 1, + "/node_modules": 4 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js index 33ed2f53acdee..b0b998f187f1a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js @@ -31,6 +31,14 @@ let y = 1 let z = 1 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -86,3 +94,18 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js index cb7dcd8725350..41ab954b5a956 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/c/app.ts Output:: >> Screen clear @@ -82,3 +90,18 @@ var module_1 = require("./module"); console.log(module_1.f); + +fileExists:: { + "/a/b/c/module.ts": 1, + "/a/b/c/module.tsx": 1, + "/a/b/c/module.d.ts": 1 +} + +directoryExists:: { + "/a/b/c": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js index 5e5a7b6f05dff..e8d574a6fa060 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/f1.ts /a/c/f3.ts --noImplicitAny Output:: >> Screen clear @@ -116,11 +124,34 @@ __exportStar(require("./f2"), exports); +fileExists:: { + "/a/b/f2.ts": 1, + "/a/c/f3.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/a/c": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -165,3 +196,19 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents + +fileExists:: { + "/a/b/f2.tsx": 1, + "/a/b/f2.d.ts": 1, + "/a/b/f2.js": 1 +} + +directoryExists:: { + "/a/b": 4, + "/a/b/f2": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js index 1252177b6b9b9..b2baf07013e0f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/f1.ts --noImplicitAny Output:: >> Screen clear @@ -116,11 +124,34 @@ __exportStar(require("./f2"), exports); +fileExists:: { + "/a/b/f2.ts": 1, + "/a/c/f3.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/a/c": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -162,3 +193,19 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents + +fileExists:: { + "/a/b/f2.tsx": 1, + "/a/b/f2.d.ts": 1, + "/a/b/f2.js": 1 +} + +directoryExists:: { + "/a/b": 4, + "/a/b/f2": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js index efaad4632b2de..c4d5711a94ceb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js +++ b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js @@ -28,6 +28,14 @@ let y = 1 {"extends":"./first.tsconfig.json"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -82,6 +90,21 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change config to extend another config Input:: @@ -89,6 +112,14 @@ Input:: {"extends":"./second.tsconfig.json","compilerOptions":{},"files":["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -135,6 +166,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/a/b/second.tsconfig.json": 1, + "/a/b/first.tsconfig.json": 1 +} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change first extended config Input:: @@ -142,6 +184,14 @@ Input:: {"compilerOptions":{"strict":false}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -188,6 +238,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/a/b/second.tsconfig.json": 1, + "/a/b/first.tsconfig.json": 1 +} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change second extended config Input:: @@ -195,6 +256,14 @@ Input:: {"extends":"./first.tsconfig.json","compilerOptions":{"strictNullChecks":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -241,6 +310,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/a/b/second.tsconfig.json": 1, + "/a/b/first.tsconfig.json": 1 +} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change config to stop extending another config Input:: @@ -248,6 +328,14 @@ Input:: {"compilerOptions":{},"files":["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -289,3 +377,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js index 67b8d85e3d235..1b73b894d699e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js @@ -22,6 +22,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts","f2.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -76,11 +84,34 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -129,3 +160,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js index 3dd5287c0c29a..56cfce54c95f3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js @@ -28,6 +28,14 @@ let t = 1; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -83,3 +91,18 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js index a1adb29d11034..ef993cb0507ea 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -22,6 +22,14 @@ let y = 1 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json --explainFiles Output:: >> Screen clear @@ -84,6 +92,21 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file to ensure signatures are updated Input:: @@ -91,6 +114,14 @@ Input:: let y = 1;let xy = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -149,11 +180,27 @@ var xy = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: delete file2 Input:: //// [/a/b/commonFile2.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -199,6 +246,18 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: recreate file2 Input:: @@ -206,6 +265,18 @@ Input:: let y = 1 +fileExists:: { + "/a/b/commonfile2.ts": 1 +} + +directoryExists:: { + "/a/b/commonfile2.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -262,3 +333,15 @@ exitCode:: ExitStatus.undefined var y = 1; + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js index 979458664886f..0a8ca9ab22aca 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js @@ -17,6 +17,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/commonFile1.ts Output:: >> Screen clear @@ -71,6 +79,16 @@ var x = y; +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: create file2 Input:: @@ -78,6 +96,14 @@ Input:: let y = 1 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -122,3 +148,15 @@ exitCode:: ExitStatus.undefined var y = 1; + +fileExists:: { + "/a/b/commonfile2.ts": 2 +} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js index 42c8939567406..7c344aaf1c4ac 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js +++ b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js @@ -21,6 +21,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -67,3 +75,18 @@ exitCode:: ExitStatus.undefined var x = 10; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 46c0fd771ac4e..84c4c68587c12 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -25,6 +25,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/tsconfig.json Output:: >> Screen clear @@ -60,3 +68,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: { + "/a/tsconfig.json": 1 +} + +directoryExists:: { + "/a/tsconfig.json": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js index bc8812d17871d..d1eef27dbe6ae 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -60,3 +68,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js index 52728c1d945f4..e5dd1c5bb8236 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -86,6 +94,23 @@ T.bar(); +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/modulefile.ts": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename moduleFile to moduleFile1 Input:: @@ -95,6 +120,14 @@ export function bar() { }; //// [/a/b/moduleFile.ts] deleted //// [/a/b/moduleFile.js] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -159,6 +192,27 @@ exports.bar = bar; +fileExists:: { + "/a/b/modulefile.ts": 1, + "/a/b/modulefile.tsx": 1, + "/a/b/modulefile.d.ts": 1, + "/a/b/modulefile.js": 1, + "/a/b/modulefile.jsx": 1, + "/a/b/modulefile1.js": 2 +} + +directoryExists:: { + "/a/b/modulefile": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/modulefile1.js": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename moduleFile1 back to moduleFile Input:: @@ -167,6 +221,20 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted +fileExists:: { + "/a/b/modulefile1.ts": 2, + "/a/b/modulefile.ts": 2 +} + +directoryExists:: { + "/a/b/modulefile1.ts": 2, + "/a/b/modulefile.ts": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -221,3 +289,18 @@ exports.bar = bar; ; + +fileExists:: { + "/a/b/modulefile.js": 1 +} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/modulefile.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js index 187e8fe568146..415c66dd41f7e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/file1.ts Output:: >> Screen clear @@ -77,6 +85,19 @@ T.bar(); +fileExists:: { + "/a/b/modulefile.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename moduleFile to moduleFile1 Input:: @@ -86,6 +107,14 @@ export function bar() { }; //// [/a/b/moduleFile.ts] deleted //// [/a/b/moduleFile.js] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -128,6 +157,23 @@ exitCode:: ExitStatus.undefined //// [/a/b/file1.js] file written with same contents +fileExists:: { + "/a/b/modulefile.tsx": 1, + "/a/b/modulefile.d.ts": 1, + "/a/b/modulefile.js": 1, + "/a/b/modulefile.jsx": 1 +} + +directoryExists:: { + "/a/b": 4, + "/a/b/modulefile": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename moduleFile1 back to moduleFile Input:: @@ -136,6 +182,14 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -184,3 +238,16 @@ exports.bar = bar; ; + +fileExists:: { + "/a/b/modulefile.ts": 1 +} + +directoryExists:: { + "/a/b": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js index 406f6217436ac..77de6828eab8c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -87,6 +95,26 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/b.ts": 1 +} + +directoryExists:: { + "/user/username/projects": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/lib": 1, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Make changes to file a Input:: @@ -96,6 +124,14 @@ Input:: import { x } from "../b"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -144,3 +180,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js index cf4b0302ebedc..89ac1c5368d3f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js @@ -23,6 +23,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -85,6 +93,24 @@ var b = a_1.a; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change shape of a Input:: @@ -92,6 +118,14 @@ Input:: export const a: number = 1 +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -148,3 +182,11 @@ exports.a = void 0; exports.a = 1; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js index 48ea2bbb8d547..1211054db2c0d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/tsconfig.json Output:: >> Screen clear @@ -67,3 +75,17 @@ exitCode:: ExitStatus.undefined var x = 1; + +fileExists:: { + "/a/tsconfig.json": 1 +} + +directoryExists:: { + "/a/tsconfig.json": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js index 05c172cec7a46..0abcc31b3b3c0 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -28,6 +28,14 @@ interface Array { length: number; [n: number]: T; } } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -81,3 +89,18 @@ exitCode:: ExitStatus.undefined var x = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index 6eea8b4b620a9..278b0dfed1b88 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -225,10 +233,43 @@ export declare const d = 30; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/decls": 2, + "/user/username/projects/myproject/decls/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -254,6 +295,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -261,6 +310,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -349,10 +406,35 @@ export declare const y = 10; +fileExists:: { + "/user/username/projects/myproject/src/file3.js": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src/file3.js": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -379,3 +461,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index aaa8113e67dc2..52ea43d6e0534 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -225,10 +233,45 @@ export declare const d = 30; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 3, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/build": 2, + "/user/username/projects/myproject/decls": 2, + "/user/username/projects/myproject/build/src": 1, + "/user/username/projects/myproject/decls/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -254,6 +297,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -261,6 +312,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -349,10 +408,32 @@ export declare const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -379,3 +460,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index 18b7c7536b52b..0834a114762e2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -217,10 +225,43 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/build": 2, + "/user/username/projects/myproject/build/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -246,6 +287,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -253,6 +302,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -337,10 +394,32 @@ define(["require", "exports"], function (require, exports) { +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -367,3 +446,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index a665616e7e52a..b080f8ed3e47f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -212,10 +220,42 @@ define("src/file2", ["require", "exports"], function (require, exports) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/build": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -241,6 +281,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -248,6 +296,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -343,10 +399,32 @@ define("src/file3", ["require", "exports"], function (require, exports) { +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -373,3 +451,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index e7e009453d856..6c9dc7664e506 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -225,10 +233,41 @@ export declare const d = 30; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -254,6 +293,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -261,6 +308,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -349,10 +404,37 @@ export declare const y = 10; +fileExists:: { + "/user/username/projects/myproject/src/file3.js": 2, + "/user/username/projects/myproject/src/file3.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src/file3.js": 2, + "/user/username/projects/myproject/src/file3.d.ts": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -379,3 +461,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index 641d0e341de4b..fbef1f2410124 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -125,6 +125,14 @@ interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -217,10 +225,41 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file1.ts": 1, + "/user/username/projects/myproject/src/file1.tsx": 1, + "/user/username/projects/myproject/src/file1.d.ts": 1, + "/user/username/projects/myproject/file1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -246,6 +285,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file Input:: @@ -253,6 +300,14 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -337,10 +392,35 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/user/username/projects/myproject/src/file3.js": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src/file3.js": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -367,3 +447,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index e184266ab3290..de5c9bd518150 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -30,6 +30,14 @@ export interface T {} } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -85,6 +93,24 @@ exports.__esModule = true; +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/module1.ts": 2 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules": 2, + "/a/b/node_modules/module1": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change module resolution to classic Input:: @@ -97,6 +123,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -147,3 +181,22 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; + +fileExists:: { + "/a/b/module1.ts": 1, + "/a/b/module1.tsx": 1, + "/a/b/module1.d.ts": 1, + "/a/module1.ts": 1 +} + +directoryExists:: { + "/a/b": 1, + "/a": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js index f645329658ee8..b6273ccde165b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js @@ -25,6 +25,14 @@ let y = 1 } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json --explainFiles Output:: >> Screen clear @@ -85,6 +93,21 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change file to ensure signatures are updated Input:: @@ -92,6 +115,14 @@ Input:: let y = 1;let xy = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -148,6 +179,14 @@ var xy = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change config Input:: @@ -158,6 +197,14 @@ Input:: } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -200,3 +247,15 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js index b365633a6644f..4bf73b82c1075 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/compile Output:: >> Screen clear @@ -56,3 +64,13 @@ exitCode:: ExitStatus.undefined var x = 1; + +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js index b008330c1a700..478b37995a322 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js @@ -28,6 +28,14 @@ interface Array { length: number; [n: number]: T; } } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -88,3 +96,18 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js index 7675045eb4526..32e7c5225ba6d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js +++ b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js @@ -21,6 +21,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/file.ts --noUnusedLocals Output:: >> Screen clear @@ -67,6 +75,16 @@ function two() { +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change file to module Input:: @@ -79,6 +97,14 @@ export function two() { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -125,3 +151,11 @@ function two() { exports.two = two; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js index e14955f6cc7ca..8c0cf91d7fb5e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js +++ b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js @@ -24,6 +24,14 @@ export let x = 1; export let y = 1; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/c/f2.ts /a/d/f3.ts Output:: >> Screen clear @@ -80,6 +88,16 @@ exports.y = 1; +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + createing separate watcher Output:: >> Screen clear @@ -153,5 +171,20 @@ __exportStar(require("../d/f3"), exports); +fileExists:: { + "/a/c/f2.ts": 1, + "/a/d/f3.ts": 1 +} + +directoryExists:: { + "/a/c": 2, + "/a/d": 2, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + First program is not updated:: true Second program is not updated:: true \ No newline at end of file diff --git a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js index 15a7ea10a5d00..69e1b7003281b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -77,3 +85,23 @@ exitCode:: ExitStatus.undefined var x = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/node.d.ts": 1, + "/a/b/node_modules/@types/node/package.json": 1, + "/a/b/node_modules/@types/node.d.ts": 1, + "/a/b/node_modules/@types/node/index.d.ts": 2 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules": 2, + "/a/b/node_modules/node": 2, + "/a/b/node_modules/@types": 2, + "/a/b/node_modules/@types/node": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js index 93da6eb6032ce..74a9e5616d1af 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js @@ -26,6 +26,14 @@ export class B {} {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -104,6 +112,20 @@ export { A }; +fileExists:: { + "/tsconfig.json": 1, + "/b.ts": 1 +} + +directoryExists:: { + "/": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable experimentalDecorators Input:: @@ -111,6 +133,14 @@ Input:: {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error","experimentalDecorators":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... @@ -158,6 +188,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable emitDecoratorMetadata Input:: @@ -165,6 +203,14 @@ Input:: {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error","experimentalDecorators":true,"emitDecoratorMetadata":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -228,3 +274,11 @@ A = __decorate([ export { A }; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js index 867a6d2485abc..3491dd52c96cb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js @@ -20,6 +20,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -78,6 +86,18 @@ class D extends C { +fileExists:: { + "/tsconfig.json": 1 +} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable useDefineForClassFields Input:: @@ -85,6 +105,14 @@ Input:: {"compilerOptions":{"target":"es6","useDefineForClassFields":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -144,3 +172,11 @@ class D extends C { } + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js index b0e55c8eb889c..045d189469b0d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js @@ -20,6 +20,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -67,6 +75,22 @@ var d =
; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Update 'jsx' to 'react' Input:: @@ -74,6 +98,14 @@ Input:: { "compilerOptions": { "jsx": "react" } } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -115,3 +147,20 @@ exitCode:: ExitStatus.undefined var d = React.createElement("div", null); + +fileExists:: { + "/user/username/projects/myproject/index.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/index.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js index 3605988c3e4da..50ef5427107cc 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js @@ -23,6 +23,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -91,6 +99,24 @@ exports.f = f; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Set to "remove" Input:: @@ -98,6 +124,14 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"remove"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -144,6 +178,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Set to "error" Input:: @@ -151,6 +193,14 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"error"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -210,6 +260,14 @@ exports.f = f; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Set to "preserve" Input:: @@ -217,6 +275,14 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"preserve"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -262,3 +328,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js index 4ae5b9f965fe5..775d1015288f5 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js @@ -26,6 +26,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"module":"commonjs","noEmit":true,"strict":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -74,6 +82,24 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/b.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changed x type to string Input:: @@ -84,6 +110,14 @@ function test(x: string, y: number) { export default test; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -134,6 +168,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changed x type to number Input:: @@ -144,6 +186,14 @@ function test(x: number, y: number) { export default test; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -189,6 +239,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changed y type to string Input:: @@ -199,6 +257,14 @@ function test(x: number, y: string) { export default test; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -254,6 +320,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changed y type to number Input:: @@ -264,6 +338,14 @@ function test(x: number, y: number) { export default test; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -308,3 +390,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js index 1a17c8122f8f6..e4c872bdaa08d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js @@ -25,6 +25,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -79,6 +87,20 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -90,6 +112,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -128,6 +158,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -141,6 +179,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -188,3 +234,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js index e82cd8de6d6fe..8ca0b2af2a749 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js @@ -25,6 +25,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipDefaultLibCheck Output:: >> Screen clear @@ -74,6 +82,20 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -85,6 +107,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -122,6 +152,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -135,6 +173,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -176,3 +222,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js index 3a8ef27c8cc18..31cf771f2f015 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js @@ -25,6 +25,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipLibCheck Output:: >> Screen clear @@ -74,6 +82,20 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -85,6 +107,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -122,6 +152,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -135,6 +173,14 @@ var y: number; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -176,3 +222,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js index 0deb9a28021a7..ca95dc6b1e9d6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js @@ -22,6 +22,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -75,6 +83,20 @@ var y; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -83,6 +105,14 @@ var x: string; var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -125,6 +155,14 @@ var y; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -135,6 +173,14 @@ interface Document { var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -185,3 +231,11 @@ exitCode:: ExitStatus.undefined var y; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js index e5082b418762a..81df4ef1a2054 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js @@ -22,6 +22,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipDefaultLibCheck Output:: >> Screen clear @@ -70,6 +78,20 @@ var y; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -78,6 +100,14 @@ var x: string; var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -119,6 +149,14 @@ var y; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -129,6 +167,14 @@ interface Document { var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -173,3 +219,11 @@ exitCode:: ExitStatus.undefined var y; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js index 8cacc65ae11db..d0cbc6cc750f7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js @@ -22,6 +22,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipLibCheck Output:: >> Screen clear @@ -70,6 +78,20 @@ var y; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove document declaration from file Input:: @@ -78,6 +100,14 @@ var x: string; var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -119,6 +149,14 @@ var y; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rever the file to contain document declaration Input:: @@ -129,6 +167,14 @@ interface Document { var y: number; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -173,3 +219,11 @@ exitCode:: ExitStatus.undefined var y; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js index e02fc3be9519b..47c23ad7c69d7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js @@ -21,6 +21,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -67,6 +75,22 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Create b.ts with same content Input:: @@ -76,6 +100,14 @@ declare module 'a' { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -147,11 +179,40 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/b.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/b.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete b.ts Input:: //// [/user/username/projects/myproject/b.ts] deleted +fileExists:: { + "/user/username/projects/myproject/b.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/b.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -194,3 +255,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js index 8515ccfb52b9e..dd6d536b6587f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -85,6 +93,20 @@ exports.__esModule = true; +fileExists:: { + "/tsconfig.json": 1, + "/a.ts": 2 +} + +directoryExists:: { + "/": 4, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable forceConsistentCasingInFileNames Input:: @@ -92,6 +114,14 @@ Input:: {"compilerOptions":{"forceConsistentCasingInFileNames":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -144,3 +174,13 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js index 97bd6b5fba7e3..25eb4382976e6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js @@ -28,6 +28,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -80,6 +88,22 @@ v === 'foo'; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable noErrorTruncation Input:: @@ -87,6 +111,14 @@ Input:: {"compilerOptions":{"noErrorTruncation":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -131,3 +163,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js index bd8c98525622c..059e79e94b24a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js @@ -20,6 +20,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -67,6 +75,22 @@ foo().hello; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable strict null checks Input:: @@ -74,6 +98,14 @@ Input:: {"compilerOptions":{"strictNullChecks":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -119,6 +151,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Set always strict false Input:: @@ -126,6 +166,14 @@ Input:: {"compilerOptions":{"strict":true,"alwaysStrict":false}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -171,6 +219,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Disable strict Input:: @@ -178,6 +234,14 @@ Input:: {"compilerOptions":{}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -217,3 +281,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index 5ce3779146643..bbe95c1b4e975 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -79,6 +87,29 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/data.json.ts": 1, + "/user/username/projects/myproject/data.json.tsx": 1, + "/user/username/projects/myproject/data.json.d.ts": 1, + "/user/username/projects/myproject/data.json.js": 1, + "/user/username/projects/myproject/data.json.jsx": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 4, + "/user/username/projects/myproject/data.json": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Enable resolveJsonModule Input:: @@ -86,6 +117,14 @@ Input:: {"compilerOptions":{"moduleResolution":"node","resolveJsonModule":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -135,3 +174,24 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/data.json.ts": 1, + "/user/username/projects/myproject/data.json.tsx": 1, + "/user/username/projects/myproject/data.json.d.ts": 2, + "/user/username/projects/myproject/data.json.js": 1, + "/user/username/projects/myproject/data.json.jsx": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/data.json": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js index 96a842a4a9cb1..74fb97d8a806a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /home/username/project/tsconfig.json Output:: >> Screen clear @@ -66,6 +74,22 @@ var a = 10; +fileExists:: { + "/home/username/project/tsconfig.json": 1 +} + +directoryExists:: { + "/home/username/project/tsconfig.json": 1, + "/home/username/project/node_modules/@types": 1, + "/home/username/node_modules/@types": 1, + "/home/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename file1 to file2 Input:: @@ -74,6 +98,14 @@ var a = 10; //// [/home/username/project/src/file1.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -118,3 +150,19 @@ exitCode:: ExitStatus.undefined var a = 10; + +fileExists:: { + "/home/username/project/src/file2.js": 1 +} + +directoryExists:: { + "/home/username/project/node_modules/@types": 1, + "/home/username/node_modules/@types": 1, + "/home/node_modules/@types": 1, + "/node_modules/@types": 1, + "/home/username/project/src/file2.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js index fe976b5d9346a..a74a67c75e728 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p . --extendedDiagnostics Output:: [12:00:21 AM] Starting compilation in watch mode... @@ -76,6 +84,22 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Create foo in project root Input:: @@ -83,6 +107,14 @@ Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update @@ -109,3 +141,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js index af10639931622..5ca837c4349fa 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js @@ -23,6 +23,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p . --extendedDiagnostics Output:: [12:00:31 AM] Starting compilation in watch mode... @@ -104,6 +112,24 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/client/folder1/module1.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/client/folder1": 3, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add module3 to folder2 Input:: @@ -111,6 +137,14 @@ Input:: import * as M from "folder1/module1"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory Scheduling update @@ -174,3 +208,18 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/client/linktofolder2": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index c1884b9430b9a..41ff07fe710eb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -28,6 +28,14 @@ interface Array { length: number; [n: number]: T; } declare class class1 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -160,6 +168,25 @@ declare class class2 { } +fileExists:: { + "/user/username/projects/myproject/projects/project2/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/tsconfig.json": 1, + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add class3 to project1 Input:: @@ -167,6 +194,18 @@ Input:: class class3 {} +fileExists:: { + "/user/username/projects/myproject/projects/project1/class3.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project1/class3.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -236,6 +275,22 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add output of class3 Input:: @@ -243,6 +298,18 @@ Input:: declare class class3 {} +fileExists:: { + "/user/username/projects/myproject/projects/project1/class3.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project1/class3.d.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -365,6 +432,22 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add excluded file to project1 Input:: @@ -372,6 +455,18 @@ Input:: declare class file {} +fileExists:: { + "/user/username/projects/myproject/projects/project1/temp": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project1/temp": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -412,11 +507,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete output of class3 Input:: //// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update @@ -535,6 +646,22 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add output of class3 Input:: @@ -542,6 +669,14 @@ Input:: declare class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -663,3 +798,21 @@ exitCode:: ExitStatus.undefined "size": 918 } + +fileExists:: { + "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js index 0f93f9716b775..bb9e3a55b4539 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js @@ -29,6 +29,14 @@ interface Document { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -95,6 +103,22 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Input:: @@ -102,6 +126,14 @@ Input:: {"compilerOptions":{"skipLibCheck":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -150,6 +182,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Input:: @@ -157,6 +197,14 @@ Input:: {"compilerOptions":{"skipDefaultLibCheck":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -210,6 +258,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{}} Input:: @@ -217,6 +273,14 @@ Input:: {"compilerOptions":{}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -274,6 +338,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Input:: @@ -281,6 +353,14 @@ Input:: {"compilerOptions":{"skipDefaultLibCheck":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:45 AM] File change detected. Starting incremental compilation... @@ -333,6 +413,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Input:: @@ -340,6 +428,14 @@ Input:: {"compilerOptions":{"skipLibCheck":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -388,6 +484,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Changing config to {"compilerOptions":{}} Input:: @@ -395,6 +499,14 @@ Input:: {"compilerOptions":{}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... @@ -452,3 +564,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js index 41c1ab3576ca7..729462020d196 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js +++ b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js @@ -25,6 +25,14 @@ let y = 1 } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -79,11 +87,34 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify config without changing content Input:: //// [/a/b/tsconfig.json] file changed its modified time +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -116,3 +147,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 61b51a6589ac0..4aeccd9cdfa2b 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -360,6 +360,46 @@ export declare const m: typeof mod; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/sample1/core": 8, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/logic": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p tests Output:: >> Screen clear @@ -436,6 +476,24 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/sample1/tests/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/tests": 1, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: local edit in logic ts, and build logic Input:: @@ -535,6 +593,52 @@ function foo() { } } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/tsconfig.json": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -610,6 +714,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: non local edit in logic ts, and build logic Input:: @@ -717,6 +829,51 @@ export declare function gfoo(): void; } +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/tsconfig.json": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -879,6 +1036,14 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: change in project reference config file builds correctly Input:: @@ -976,6 +1141,54 @@ export declare function gfoo(): void; +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/decls/index.d.ts": 1, + "/user/username/projects/sample1/logic/decls": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 4, + "/user/username/projects/sample1/logic/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/sample1/logic/decls": 2, + "/user/username/projects/sample1/logic": 1 +} + +getModifiedTimes:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts.map": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/tsconfig.json": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:22 AM] File change detected. Starting incremental compilation... @@ -1137,3 +1350,21 @@ exitCode:: ExitStatus.undefined "size": 1663 } + +fileExists:: { + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} + +directoryExists:: { + "/user/username/projects/sample1/core": 2, + "/user/username/projects/sample1/tests/node_modules/@types": 1, + "/user/username/projects/sample1/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 6cd4f1cec3e84..81e1354273e7e 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -168,6 +168,53 @@ a_1.X; +fileExists:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.js": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/a/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/b/node_modules/@types": 1, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p c Output:: >> Screen clear @@ -267,6 +314,37 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/c/tsconfig.json": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/c": 1, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: non local edit b ts, and build b Input:: @@ -345,6 +423,44 @@ export declare function gfoo(): void; } +fileExists:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/b/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 2, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/a/tsconfig.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -433,6 +549,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit on config file Input:: @@ -445,6 +569,14 @@ export class A {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -537,6 +669,39 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert config file edit Input:: @@ -544,6 +709,14 @@ Input:: {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... @@ -636,6 +809,39 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit in referenced config file Input:: @@ -643,6 +849,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../nrefs/*"]}},"references":[{"path":"../a"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -731,6 +945,26 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert referenced config file edit Input:: @@ -738,6 +972,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../a"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:49 AM] File change detected. Starting incremental compilation... @@ -815,11 +1057,43 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted +fileExists:: { + "/user/username/projects/transitivereferences/b/tsconfig.json": 2 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/b/tsconfig.json": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -901,6 +1175,26 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b/index.js] file written with same contents //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting referenced config file Input:: @@ -908,6 +1202,18 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]} +fileExists:: { + "/user/username/projects/transitivereferences/b/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/b/tsconfig.json": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:02 AM] File change detected. Starting incremental compilation... @@ -1000,11 +1306,44 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted +fileExists:: { + "/user/username/projects/transitivereferences/a/tsconfig.json": 2 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/a/tsconfig.json": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:08 AM] File change detected. Starting incremental compilation... @@ -1097,6 +1436,21 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a/index.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting transitively referenced config file Input:: @@ -1104,6 +1458,18 @@ Input:: {"compilerOptions":{"composite":true}} +fileExists:: { + "/user/username/projects/transitivereferences/a/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/a/tsconfig.json": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:15 AM] File change detected. Starting incremental compilation... @@ -1192,3 +1558,18 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 317f977848d72..3657d296aa17e 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -168,6 +168,53 @@ a_1.X; +fileExists:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.js": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/a/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/b/node_modules/@types": 1, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p c Output:: >> Screen clear @@ -263,6 +310,41 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/c/tsconfig.json": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/c": 1, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: non local edit b ts, and build b Input:: @@ -341,6 +423,44 @@ export declare function gfoo(): void; } +fileExists:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/b/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 2, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/a/tsconfig.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/b/index.js": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -425,6 +545,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit on config file Input:: @@ -437,6 +565,14 @@ export class A {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -525,6 +661,39 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert config file edit Input:: @@ -532,6 +701,14 @@ Input:: {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... @@ -620,6 +797,39 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.tsx": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/b": 4, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit in referenced config file Input:: @@ -627,6 +837,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../nrefs/*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -710,6 +928,26 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert referenced config file edit Input:: @@ -717,6 +955,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:49 AM] File change detected. Starting incremental compilation... @@ -789,11 +1035,39 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -873,6 +1147,26 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b/index.js] file written with same contents //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting referenced config file Input:: @@ -880,6 +1174,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:02 AM] File change detected. Starting incremental compilation... @@ -968,11 +1270,42 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.tsx": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/a/package.json": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/a": 4, + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:08 AM] File change detected. Starting incremental compilation... @@ -1062,6 +1395,21 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a/index.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting transitively referenced config file Input:: @@ -1069,6 +1417,14 @@ Input:: {"compilerOptions":{"composite":true},"files":["index.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:15 AM] File change detected. Starting incremental compilation... @@ -1153,3 +1509,18 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/c/node_modules/@types": 1, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 1ff6e1dd59894..14e0299f3c122 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -192,6 +192,40 @@ a_1.X; +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/c.ts": 1, + "/user/username/projects/transitivereferences/c.js": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/refs": 3 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/c.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear @@ -275,6 +309,30 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/tsconfig.c.json": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/tsconfig.c.json": 1, + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: non local edit b ts, and build b Input:: @@ -354,6 +412,38 @@ export declare function gfoo(): void; } +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 2, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/tsconfig.a.json": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.js": 1 +} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -430,6 +520,14 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit on config file Input:: @@ -442,6 +540,14 @@ export class A {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -518,6 +624,28 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert config file edit Input:: @@ -525,6 +653,14 @@ Input:: {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -601,6 +737,28 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 5, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: edit in referenced config file Input:: @@ -608,6 +766,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["./nrefs/*"]}},"files":["b.ts"],"references":[{"path":"tsconfig.a.json"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -685,6 +851,25 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/nrefs/a.ts": 1, + "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, + "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/nrefs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert referenced config file edit Input:: @@ -692,6 +877,14 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"files":["b.ts"],"references":[{"path":"tsconfig.a.json"}]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -758,11 +951,38 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/tsconfig.b.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:46 AM] File change detected. Starting incremental compilation... @@ -836,6 +1056,25 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b.js] file written with same contents //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting referenced config file Input:: @@ -854,6 +1093,14 @@ Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -932,11 +1179,36 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/tsconfig.a.json] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:02 AM] File change detected. Starting incremental compilation... @@ -1018,6 +1290,20 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Revert deleting transitively referenced config file Input:: @@ -1026,6 +1312,14 @@ Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... @@ -1102,3 +1396,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 4d3501b96fe19..d85f6c4bd53d6 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -179,6 +179,40 @@ a_1.X; +fileExists:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/c.ts": 1, + "/user/username/projects/transitivereferences/c.js": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/node_modules/@types": 3, + "/user/username/projects/node_modules/@types": 3, + "/user/username/node_modules/@types": 3, + "/user/node_modules/@types": 3, + "/node_modules/@types": 3, + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/refs": 3 +} + +getModifiedTimes:: { + "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/c.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear @@ -261,3 +295,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents + +fileExists:: { + "/user/username/projects/transitivereferences/tsconfig.c.json": 1, + "/user/username/projects/transitivereferences/b.ts": 1, + "/user/username/projects/transitivereferences/refs/a.ts": 1, + "/user/username/projects/transitivereferences/refs/a.tsx": 1, + "/user/username/projects/transitivereferences/refs/a.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1 +} + +directoryExists:: { + "/user/username/projects/transitivereferences/tsconfig.c.json": 1, + "/user/username/projects/transitivereferences": 3, + "/user/username/projects/transitivereferences/refs": 3, + "/user/username/projects/transitivereferences/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js index 64d57dfe2a7f4..ab2018eb09a02 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/d/f0.ts Output:: >> Screen clear @@ -84,6 +92,23 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/a/d/f1.ts": 1, + "/a/d/f1.tsx": 1, + "/a/d/f1.d.ts": 1, + "/a/f1.ts": 1 +} + +directoryExists:: { + "/a/d": 1, + "/a": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Adding text doesnt re-resole the imports Input:: @@ -92,6 +117,14 @@ import {x} from "f1" var x: string = 1; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -154,6 +187,14 @@ define(["require", "exports"], function (require, exports) { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Resolves f2 Input:: @@ -161,6 +202,14 @@ Input:: import {x} from "f2" +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -213,6 +262,38 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/a/d/f2.ts": 1, + "/a/d/f2.tsx": 1, + "/a/d/f2.d.ts": 1, + "/a/f2.ts": 1, + "/a/f2.tsx": 1, + "/a/f2.d.ts": 1, + "/f2.ts": 1, + "/f2.tsx": 1, + "/f2.d.ts": 1, + "/a/d/f2.js": 1, + "/a/d/f2.jsx": 1, + "/a/f2.js": 1, + "/a/f2.jsx": 1, + "/f2.js": 1, + "/f2.jsx": 1 +} + +directoryExists:: { + "/a/d": 2, + "/a": 2, + "/": 2, + "/a/d/node_modules": 1, + "/a/node_modules": 1, + "/node_modules": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Resolve f1 Input:: @@ -220,6 +301,14 @@ Input:: import {x} from "f1" +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -273,3 +362,20 @@ exitCode:: ExitStatus.undefined //// [/a/f1.js] file written with same contents //// [/a/d/f0.js] file written with same contents + +fileExists:: { + "/a/d/f1.ts": 1, + "/a/d/f1.tsx": 1, + "/a/d/f1.d.ts": 1, + "/a/f1.ts": 1 +} + +directoryExists:: { + "/a/d": 1, + "/a": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index 5cd6ea169cf8a..7204410739b09 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -22,6 +22,14 @@ export const x = 10; {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -79,6 +87,32 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/somemodule/package.json": 1, + "/user/username/projects/myproject/node_modules/somemodule.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule.tsx": 1, + "/user/username/projects/myproject/node_modules/somemodule.d.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.tsx": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/somemodule": 3, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install file and folder that start with '.' Input:: @@ -86,6 +120,14 @@ Input:: {"something":10} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -112,3 +154,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 2b076ec86b5b5..9781e96e618b8 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -22,6 +22,14 @@ export const x = 10; {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /user/username/projects/myproject/test.ts Output:: >> Screen clear @@ -73,6 +81,26 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/node_modules/somemodule/package.json": 1, + "/user/username/projects/myproject/node_modules/somemodule.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule.tsx": 1, + "/user/username/projects/myproject/node_modules/somemodule.d.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.ts": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.tsx": 1, + "/user/username/projects/myproject/node_modules/somemodule/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/somemodule": 3, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install file and folder that start with '.' Input:: @@ -80,6 +108,14 @@ Input:: {"something":10} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -100,3 +136,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js index c13df4fd4be34..230cb91e6eec3 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/foo.ts Output:: >> Screen clear @@ -71,6 +79,31 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/a/bar.ts": 1, + "/a/bar.tsx": 1, + "/a/bar.d.ts": 1, + "/bar.ts": 1, + "/bar.tsx": 1, + "/bar.d.ts": 1, + "/a/bar.js": 1, + "/a/bar.jsx": 1, + "/bar.js": 1, + "/bar.jsx": 1 +} + +directoryExists:: { + "/a": 2, + "/": 2, + "/a/node_modules": 1, + "/node_modules": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: write imported file Input:: @@ -81,6 +114,14 @@ import {y} from "bar" export const y = 1; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -122,3 +163,18 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents + +fileExists:: { + "/a/bar.ts": 1, + "/a/bar.tsx": 1, + "/a/bar.d.ts": 1 +} + +directoryExists:: { + "/a": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js index 40374b75d6da9..f288acc9b3935 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/foo.ts Output:: >> Screen clear @@ -70,11 +78,34 @@ define(["require", "exports"], function (require, exports) { +fileExists:: { + "/a/bar.ts": 1, + "/a/bar.tsx": 1, + "/a/bar.d.ts": 1 +} + +directoryExists:: { + "/a": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete imported file Input:: //// [/a/bar.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:18 AM] File change detected. Starting incremental compilation... @@ -121,6 +152,30 @@ exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents +fileExists:: { + "/a/bar.ts": 1, + "/a/bar.tsx": 1, + "/bar.ts": 1, + "/bar.tsx": 1, + "/bar.d.ts": 1, + "/a/bar.js": 1, + "/a/bar.jsx": 1, + "/bar.js": 1, + "/bar.jsx": 1 +} + +directoryExists:: { + "/a": 2, + "/": 2, + "/a/node_modules": 1, + "/node_modules": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Create imported file Input:: @@ -128,6 +183,14 @@ Input:: export const y = 1;export const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -169,3 +232,18 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents + +fileExists:: { + "/a/bar.ts": 1, + "/a/bar.tsx": 1, + "/a/bar.d.ts": 1 +} + +directoryExists:: { + "/a": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js index ac6b4a0970d76..6a46105b90d1c 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -73,6 +81,28 @@ myapp.component("hello"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/node_modules": 1, + "/user/username/node_modules": 1, + "/user/node_modules": 1, + "/node_modules": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install ts-types Input:: @@ -86,6 +116,14 @@ declare namespace myapp { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -135,10 +173,40 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib/app.js] file written with same contents +fileExists:: { + "/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json": 1, + "/user/username/projects/myproject/node_modules/@myapp/ts-types.d.ts": 1, + "/user/username/projects/myproject/node_modules/@myapp/ts-types/types/somefile.define.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/myproject/node_modules/@myapp/ts-types": 2, + "/user/username/projects/myproject/node_modules/@myapp": 1, + "/user/username/projects/myproject/node_modules/@myapp/ts-types/types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change, just check program Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -163,3 +231,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js index d6c57a43371fe..87ef2ccc3f990 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js @@ -29,6 +29,14 @@ export * from './other'; export declare const Foo = "BAR"; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -94,3 +102,35 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; + +fileExists:: { + "/user/username/projects/myproject/main/tsconfig.json": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/package.json": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.ts": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.tsx": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.d.ts": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/dist/index.d.ts": 1, + "/user/username/projects/myproject/linked-package/dist/index.d.ts": 1, + "/user/username/projects/myproject/linked-package/dist/other.ts": 1, + "/user/username/projects/myproject/linked-package/dist/other.tsx": 1, + "/user/username/projects/myproject/linked-package/dist/other.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/main/@scoped": 1, + "/user/username/projects/myproject/main/node_modules": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package": 2, + "/user/username/projects/myproject/main/node_modules/@scoped": 1, + "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/dist": 1, + "/user/username/projects/myproject/linked-package/dist": 2, + "/user/username/projects/myproject/main/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js index 5f4cbc0eb30f6..363944494fe53 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js @@ -28,6 +28,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/b/foo.ts /a/b/bar.d.ts Output:: >> Screen clear @@ -84,6 +92,21 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules": 4, + "/a/node_modules": 4, + "/node_modules": 4, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add fs definition Input:: @@ -103,6 +126,14 @@ declare module "fs" { +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -146,3 +177,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/foo.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 0f536d2d6faf1..0b4521fe2e0cf 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -37,6 +37,14 @@ declare namespace NodeJS { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -126,6 +134,25 @@ process.on("uncaughtException"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, + "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types/node": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm ci step one: remove all node_modules files Input:: @@ -134,6 +161,18 @@ Input:: //// [/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts] deleted //// [/user/username/projects/myproject/node_modules/@types/node/globals.d.ts] deleted +fileExists:: { + "/user/username/projects/myproject/node_modules/@types/node": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types/node": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file Scheduling update @@ -272,6 +311,20 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/worker.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm ci step two: create atTypes but something else in the @types folder Input:: @@ -279,6 +332,14 @@ Input:: export const foo = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -367,10 +428,40 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 2, + "/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types/mocha": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm ci step three: create atTypes node folder Input:: +fileExists:: { + "/user/username/projects/myproject/node_modules/@types/node": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types/node": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -439,6 +530,33 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, + "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/node.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/node.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types/node": 5, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/node": 2, + "/user/username/projects/node_modules": 1, + "/user/username/node_modules": 1, + "/user/node_modules": 1, + "/node_modules": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm ci step four: create atTypes write all the files but dont invoke watcher for index.d.ts Input:: @@ -461,6 +579,14 @@ declare namespace NodeJS { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -559,3 +685,21 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/worker.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 1, + "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, + "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types/node": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index 77ffc10c76f48..bb55ded886f60 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w /a/b/foo.ts Output:: >> Screen clear @@ -67,6 +75,21 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/a/b/node_modules": 2, + "/a/node_modules": 2, + "/node_modules": 2, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install node types Input:: @@ -86,6 +109,14 @@ declare module "fs" { } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -133,3 +164,30 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/foo.js] file written with same contents + +fileExists:: { + "/a/b/node_modules/fs.ts": 1, + "/a/b/node_modules/fs.tsx": 1, + "/a/b/node_modules/fs.d.ts": 1, + "/a/b/node_modules/@types/fs.d.ts": 1, + "/a/b/node_modules/fs.js": 1, + "/a/b/node_modules/fs.jsx": 1, + "/a/b/node_modules/@types/node/package.json": 2, + "/a/b/node_modules/@types/node/index.d.ts": 2 +} + +directoryExists:: { + "/a/b/node_modules": 4, + "/a/b/node_modules/fs": 3, + "/a/b/node_modules/@types": 6, + "/a/b/node_modules/@types/fs": 2, + "/a/node_modules": 2, + "/node_modules": 2, + "/a/node_modules/@types": 2, + "/node_modules/@types": 2, + "/a/b/node_modules/@types/node": 3 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index dfbb07b5eeecd..0f0810155fc1a 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -19,6 +19,14 @@ interface Array { length: number; [n: number]: T; } export {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -70,6 +78,25 @@ exports.__esModule = true; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/node_modules": 2, + "/user/username/node_modules": 2, + "/user/node_modules": 2, + "/node_modules": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install Input:: @@ -78,6 +105,14 @@ export {} //// [/user/username/projects/myproject/node_modules2/@types/qqq/index.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -125,3 +160,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/node_modules/qqq.ts": 1, + "/user/username/projects/myproject/node_modules/qqq.tsx": 1, + "/user/username/projects/myproject/node_modules/qqq.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/qqq/package.json": 2, + "/user/username/projects/myproject/node_modules/@types/qqq.d.ts": 1, + "/user/username/projects/myproject/node_modules/@types/qqq/index.d.ts": 4 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/qqq": 2, + "/user/username/projects/myproject/node_modules/@types": 6, + "/user/username/projects/myproject/node_modules/@types/qqq": 5, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index 93c8aeaf958d9..a878f7024ed8a 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -27,6 +27,14 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"allowJs":true,"rootDir":".","outDir":"../dist","moduleResolution":"node","maxNodeModuleJsDepth":1}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/b/projects/myProject/src Output:: >> Screen clear @@ -102,6 +110,43 @@ module11("hello"); +fileExists:: { + "/a/b/projects/myproject/src/tsconfig.json": 1, + "/a/b/projects/myproject/node_modules/module1/package.json": 1, + "/a/b/projects/myproject/node_modules/module1.ts": 1, + "/a/b/projects/myproject/node_modules/module1.tsx": 1, + "/a/b/projects/myproject/node_modules/module1.d.ts": 1, + "/a/b/projects/myproject/node_modules/module1/index.ts": 1, + "/a/b/projects/myproject/node_modules/module1/index.tsx": 1, + "/a/b/projects/myproject/node_modules/module1/index.d.ts": 1, + "/a/b/projects/myproject/node_modules/module1.js": 1, + "/a/b/projects/myproject/node_modules/module1.jsx": 1, + "/a/b/projects/myproject/node_modules/module1/index.js": 2 +} + +directoryExists:: { + "/a/b/projects/myproject/src": 1, + "/a/b/projects/myproject/src/node_modules": 2, + "/a/b/projects/myproject/node_modules": 4, + "/a/b/projects/myproject/node_modules/module1": 5, + "/a/b/projects/myproject/node_modules/@types": 2, + "/a/b/projects/node_modules": 1, + "/a/b/node_modules": 1, + "/a/node_modules": 1, + "/node_modules": 1, + "/a/b/projects/myproject/src/node_modules/@types": 1, + "/a/b/projects/node_modules/@types": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b/projects/myproject/dist": 1, + "/a/b/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new line to file1 Input:: @@ -111,6 +156,14 @@ module1("hello"); ; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -170,3 +223,11 @@ module1("hello"); ; + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index dfcb553d113b9..41cc77c518963 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -176,6 +176,57 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 2, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 1, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -307,3 +358,38 @@ exitCode:: ExitStatus.undefined "size": 948 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 8d9938e3c2f7d..bd50c34ba5183 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -176,6 +176,56 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 1, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -307,3 +357,36 @@ exitCode:: ExitStatus.undefined "size": 948 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index e33dc889abee4..8e26d30211783 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -180,3 +188,38 @@ export {}; "size": 948 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 1fa905db8207b..8d9b14a2a2c3e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -176,6 +176,58 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 2, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 1, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -307,3 +359,39 @@ exitCode:: ExitStatus.undefined "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index ea4d108d8025e..1a99a8903046b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -176,6 +176,57 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 1, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/bar.ts": 1, + "/user/username/projects/myproject/packages/b/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -307,3 +358,37 @@ exitCode:: ExitStatus.undefined "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index ca06367e52e09..4a240ef957290 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -180,3 +188,39 @@ export {}; "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index b4fc0c61f64e5..60c7c3071662f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -180,3 +188,41 @@ export {}; "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b": 2, + "/user/username/projects/myproject/node_modules/@issue": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 17f7653b71c29..7cbfc3a718e39 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -180,3 +188,40 @@ export {}; "size": 948 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b.ts": 1, + "/user/username/projects/myproject/node_modules/b.tsx": 1, + "/user/username/projects/myproject/node_modules/b.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/b": 2, + "/user/username/projects/myproject/node_modules/b/lib": 2, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index fe04599afb4ae..3b58a69858d98 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -176,6 +176,59 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 2, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 2, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -309,3 +362,39 @@ exitCode:: ExitStatus.undefined "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 7ac28369d8853..ae4257558544f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -176,6 +176,58 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 2, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -309,3 +361,37 @@ exitCode:: ExitStatus.undefined "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index 444de1c145a95..a5f7770910dc8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -182,3 +190,39 @@ export {}; "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index b07af8c25e319..7e18c230bc06f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -176,6 +176,59 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 2, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 2, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -309,3 +362,39 @@ exitCode:: ExitStatus.undefined "size": 977 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index ae9408fe9835d..5a3fad3ce474e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -176,6 +176,58 @@ export {}; } +fileExists:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/b/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 2, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/myproject/packages/b/lib": 2, + "/user/username/projects/myproject/packages/b": 1, + "/user/username/projects/myproject/packages/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: { + "/user/username/projects/myproject/packages/b/src/foo.ts": 1, + "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -309,3 +361,37 @@ exitCode:: ExitStatus.undefined "size": 977 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 99a07c3d2a35e..39d4a1785bf26 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -182,3 +190,39 @@ export {}; "size": 977 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index 903e03e6061d2..99b31f219d8a5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -182,3 +190,41 @@ export {}; "size": 977 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index 5497b50617968..8482d4115605f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -36,6 +36,14 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -182,3 +190,41 @@ export {}; "size": 962 } + +fileExists:: { + "/user/username/projects/myproject/node_modules/b/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/packages/a/src/node_modules": 2, + "/user/username/projects/myproject/packages/a/node_modules": 2, + "/user/username/projects/myproject/packages/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/b/lib/foo": 1, + "/user/username/projects/myproject/node_modules/b": 1, + "/user/username/projects/myproject/node_modules/b/lib": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, + "/user/username/projects/myproject/node_modules/b/lib/bar": 1, + "/user/username/projects/myproject/packages/a/node_modules/@types": 1, + "/user/username/projects/myproject/packages/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/packages/a/lib": 1, + "/user/username/projects/myproject/packages/a": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 1e4d9c6628377..9eff28ca4c557 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -313,6 +313,46 @@ export declare function createDog(): Dog; } +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 2, + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/utilities.d.ts": 1, + "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/lib/animals/animal.d.ts": 1, + "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 +} + +directoryExists:: { + "/user/username/projects/demo/core/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 2, + "/user/username/node_modules/@types": 2, + "/user/node_modules/@types": 2, + "/node_modules/@types": 2, + "/user/username/projects/demo/lib/core": 1, + "/user/username/projects/demo/lib": 2, + "/user/username/projects/demo": 1, + "/user/username/projects/demo/animals": 8, + "/user/username/projects/demo/core": 2, + "/user/username/projects/demo/animals/node_modules/@types": 1, + "/user/username/projects/demo/lib/animals": 1 +} + +getModifiedTimes:: { + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/animals/animal.ts": 1, + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/animals/index.ts": 1 +} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear @@ -471,3 +511,21 @@ exitCode:: ExitStatus.undefined "size": 2695 } + +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 2, + "/user/username/projects/demo/animals/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/demo/animals/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index f4c8657f89a6a..0f2c58f3a37ef 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -101,6 +101,14 @@ export { createDog, Dog }; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear @@ -316,3 +324,24 @@ export declare function createDog(): Dog; "size": 2536 } + +fileExists:: { + "/user/username/projects/demo/tsconfig-base.json": 2, + "/user/username/projects/demo/animals/package.json": 1 +} + +directoryExists:: { + "/user/username/projects/demo/animals/node_modules/@types": 1, + "/user/username/projects/demo/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/demo/lib/animals": 1, + "/user/username/projects/demo/lib": 1, + "/user/username/projects/demo": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js index 3cb760382f373..92f94c2dabc56 100644 --- a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js +++ b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -77,6 +85,20 @@ var x = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Write a file Input:: @@ -84,6 +106,18 @@ Input:: +fileExists:: { + "/user/username/projects/myproject/other2.vue": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/other2.vue": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... @@ -132,3 +166,20 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/other2.vue.js] + +fileExists:: { + "/user/username/projects/myproject/other2.vue.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/other2.vue.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index 9c424cba570ff..f6754bd38ae54 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w --noEmit Output:: >> Screen clear @@ -121,6 +129,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -226,6 +248,20 @@ export declare const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add comment Input:: @@ -234,6 +270,14 @@ export const x = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w --noEmit Output:: >> Screen clear @@ -325,6 +369,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -417,6 +475,20 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add comment Input:: @@ -426,6 +498,14 @@ export const x = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -520,3 +600,17 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index 0b67343295800..b80e54aab94dd 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w --noEmit Output:: >> Screen clear @@ -121,6 +129,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -233,6 +255,20 @@ export declare const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -248,6 +284,14 @@ export const x = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w --noEmit Output:: >> Screen clear @@ -339,6 +383,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -438,6 +496,20 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -454,6 +526,14 @@ export const x = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -551,6 +631,20 @@ exports.x = 10; //// [/user/username/projects/myproject/other.js] file written with same contents //// [/user/username/projects/myproject/other.d.ts] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index 4ca9f5dcdf673..ee9e6411e81b2 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -139,6 +147,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add comment Input:: @@ -147,6 +169,14 @@ export const x: string = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -260,6 +290,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix error Input:: @@ -267,6 +311,14 @@ Input:: export const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -374,3 +426,17 @@ exports.y = 10; export declare const y = 10; + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index d5fd4d074b4ec..e3edda361f794 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -139,6 +147,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -154,6 +176,14 @@ export const x: string = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -267,6 +297,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -281,6 +325,14 @@ Input:: export const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -389,6 +441,20 @@ export declare const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index 2124226bf4454..094f47d3d60ab 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + tsc --w Output:: >> Screen clear @@ -139,6 +147,20 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Fix error Input:: @@ -146,6 +168,14 @@ Input:: export const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:32 AM] Starting compilation in watch mode... @@ -248,3 +278,17 @@ export declare const x = 10; export declare const y = 10; + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index 93e8cdd0f6c6d..070724d48242f 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -22,6 +22,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -70,6 +78,20 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Modify a file Input:: @@ -78,6 +100,14 @@ export const x = 10; // SomeComment +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -120,3 +150,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js index b569dd310d3f1..66c72e8f15f15 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js @@ -22,6 +22,14 @@ import settings from './settings.json'; {"content":"Print this"} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -82,3 +90,26 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; + +fileExists:: { + "/user/username/projects/myproject/settings.json.ts": 1, + "/user/username/projects/myproject/settings.json.tsx": 1, + "/user/username/projects/myproject/settings.json.d.ts": 2, + "/user/username/projects/myproject/settings.json.js": 1, + "/user/username/projects/myproject/settings.json.jsx": 1, + "/user/username/projects/myproject/settings.json": 1 +} + +directoryExists:: { + "/user/username/projects/myproject": 6, + "/user/username/projects/myproject/settings.json": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js index 17f91edc17505..23c9337c964ee 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js @@ -19,6 +19,14 @@ let compiler = new Compiler(); for (let i = 0; j < 5; i++) {} {"compilerOptions":{"module":"commonjs"},"files":["index.ts"]} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -79,3 +87,17 @@ var compiler = new Compiler(); for (var i = 0; j < 5; i++) { } + +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index 4118a2f21c3e2..fa11eadd618a5 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -28,6 +28,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -160,6 +168,22 @@ declare class class2 { } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add class3 to project1 Input:: @@ -167,6 +191,14 @@ Input:: class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -236,6 +268,22 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add class3 output to project1 Input:: @@ -243,6 +291,14 @@ Input:: declare class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -365,6 +421,24 @@ exitCode:: ExitStatus.undefined } +fileExists:: { + "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add excluded file to project1 Input:: @@ -372,6 +446,14 @@ Input:: declare class file {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -412,11 +494,27 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Delete output of class3 Input:: //// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update @@ -535,6 +633,22 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add output of class3 Input:: @@ -542,6 +656,14 @@ Input:: declare class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -663,3 +785,21 @@ exitCode:: ExitStatus.undefined "size": 918 } + +fileExists:: { + "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index d75dca263485b..e34a58bfc614a 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -28,6 +28,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -160,6 +168,22 @@ declare class class2 { } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add class3 to project1 Input:: @@ -167,6 +191,14 @@ Input:: class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -286,6 +318,22 @@ exitCode:: ExitStatus.undefined } +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, + "/user/username/projects/myproject/projects/node_modules/@types": 1, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add excluded file to project1 Input:: @@ -293,6 +341,14 @@ Input:: declare class file {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -333,6 +389,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add output of class3 Input:: @@ -340,6 +404,14 @@ Input:: declare class class3 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts @@ -376,3 +448,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js index ff7be3bc4966c..b9aa097a12e17 100644 --- a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js +++ b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -66,6 +74,20 @@ var x = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Write a file Input:: @@ -73,6 +95,18 @@ Input:: const y =10; +fileExists:: { + "/user/username/projects/myproject/bar.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/bar.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: [12:00:32 AM] Found 0 errors. Watching for file changes. @@ -120,3 +154,20 @@ exitCode:: ExitStatus.undefined var y = 10; + +fileExists:: { + "/user/username/projects/myproject/bar.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/bar.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js index 9e88224fe6d5b..e20660b2776d3 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -61,6 +69,28 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/a/username/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/username/project/tsconfig.json": 1, + "/a/username/project/node_modules/@types": 2, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/username/project": 1, + "/a/username/project/src": 1 +} + +getModifiedTimes:: { + "/a/username/project/node_modules/@types": 1, + "/a/username/project": 1, + "/a/username/project/src": 1 +} + +setModifiedTimes:: {} + Change:: Rename file1 to file2 Input:: @@ -69,6 +99,14 @@ Input:: //// [/a/username/project/src/file1.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -107,3 +145,21 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] + +fileExists:: {} + +directoryExists:: { + "/a/username/project/src": 2, + "/a/username/project/node_modules/@types": 1, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/username/project/node_modules/@types": 2, + "/a/username/project": 2, + "/a/username/project/src": 2 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js index 14593d53c3d50..50e256fbc9a35 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -67,6 +75,24 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/a/username/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/username/project/tsconfig.json": 1, + "/a/username/project/node_modules/@types": 2, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/username/project": 1, + "/a/username/project/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename file1 to file2 Input:: @@ -75,6 +101,16 @@ Input:: //// [/a/username/project/src/file1.ts] deleted +fileExists:: {} + +directoryExists:: { + "/a/username/project/src": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -119,3 +155,20 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] + +fileExists:: { + "/a/username/project/src/file2.js": 1 +} + +directoryExists:: { + "/a/username/project/node_modules/@types": 1, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/username/project/src/file2.js": 1, + "/a/username/project/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js index 8a34513c078c1..0141c52f7a115 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js @@ -19,6 +19,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -67,6 +75,24 @@ exitCode:: ExitStatus.undefined +fileExists:: { + "/a/username/project/tsconfig.json": 1 +} + +directoryExists:: { + "/a/username/project/tsconfig.json": 1, + "/a/username/project/node_modules/@types": 2, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/username/project": 1, + "/a/username/project/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Rename file1 to file2 Input:: @@ -75,6 +101,16 @@ Input:: //// [/a/username/project/src/file1.ts] deleted +fileExists:: {} + +directoryExists:: { + "/a/username/project/src": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -119,3 +155,17 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] + +fileExists:: {} + +directoryExists:: { + "/a/username/project/node_modules/@types": 1, + "/a/username/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/username/project/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index c9af5bfe24576..06177b5ca5dfe 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -29,6 +29,14 @@ export {} //// [/home/user/projects/myproject/node_modules/reala/node_modules/b] symlink(/home/user/projects/myproject/node_modules/b) //// [/home/user/projects/myproject/node_modules/realb/node_modules/a] symlink(/home/user/projects/myproject/node_modules/a) +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w Output:: [12:00:45 AM] Starting compilation in watch mode... @@ -125,3 +133,36 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; + +fileExists:: { + "/home/user/projects/myproject/tsconfig.json": 1, + "/home/user/projects/myproject/node_modules/a/package.json": 1, + "/home/user/projects/myproject/node_modules/a.ts": 1, + "/home/user/projects/myproject/node_modules/a.tsx": 1, + "/home/user/projects/myproject/node_modules/a.d.ts": 1, + "/home/user/projects/myproject/node_modules/a/index.ts": 1, + "/home/user/projects/myproject/node_modules/a/index.tsx": 1, + "/home/user/projects/myproject/node_modules/a/index.d.ts": 1, + "/home/user/projects/myproject/node_modules/reala/index.d.ts": 1 +} + +directoryExists:: { + "/home/user/projects/myproject/src/node_modules": 1, + "/home/user/projects/myproject/node_modules": 3, + "/home/user/projects/myproject/node_modules/a": 3, + "/home/user/projects/myproject/node_modules/@types": 2, + "/home/user/projects/node_modules/@types": 1, + "/home/user/node_modules/@types": 1, + "/home/node_modules/@types": 1, + "/node_modules/@types": 1, + "/home/user/projects/myproject/src": 2, + "/home/user/projects/myproject/node_modules/reala": 1, + "/home/user/projects/myproject/node_modules/reala/node_modules": 1, + "/home/user/projects/myproject/node_modules/realb": 1, + "/home/user/projects/myproject/node_modules/realb/node_modules": 1, + "/home/user/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js index e48000c8b3751..cd96f77dd925c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js @@ -22,6 +22,14 @@ export const x = 10; {"compilerOptions":{"outDir":"dist"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -86,10 +94,39 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/file2.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src": 3, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/dist": 2, + "/user/username/projects/myproject": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -117,6 +154,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: rename the file Input:: @@ -125,6 +170,16 @@ export const x = 10; //// [/user/username/projects/myproject/src/file2.ts] deleted +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -176,10 +231,39 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/dist/file1.js] file written with same contents +fileExists:: { + "/user/username/projects/myproject/src/file2.tsx": 1, + "/user/username/projects/myproject/src/file2.d.ts": 1, + "/user/username/projects/myproject/src/file2.js": 1, + "/user/username/projects/myproject/src/file2.jsx": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src": 4, + "/user/username/projects/myproject/src/file2": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Pending directory watchers and program update Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -239,3 +323,28 @@ exports.x = void 0; exports.x = 10; + +fileExists:: { + "/user/username/projects/myproject/src/file2.ts": 1, + "/user/username/projects/myproject/src/file2.tsx": 1, + "/user/username/projects/myproject/src/file2.d.ts": 1, + "/user/username/projects/myproject/src/file2.js": 1, + "/user/username/projects/myproject/src/file2.jsx": 1, + "/user/username/projects/myproject/dist/renamed.js": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject/src/file2": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/dist": 2, + "/user/username/projects/myproject/dist/renamed.js": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 37fd4927ba263..bfba67bc8f53d 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -22,6 +22,14 @@ export const x = 10; {"compilerOptions":{"outDir":"dist","declaration":true}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -89,10 +97,48 @@ export {}; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/file2/package.json": 1, + "/user/username/projects/myproject/node_modules/file2.ts": 1, + "/user/username/projects/myproject/node_modules/file2.tsx": 1, + "/user/username/projects/myproject/node_modules/file2.d.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, + "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/file2": 4, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src": 1, + "/user/username/projects/myproject/dist": 2, + "/user/username/projects/myproject": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -126,6 +172,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Add new file, should schedule and run timeout to update directory watcher Input:: @@ -133,6 +187,16 @@ Input:: export const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -166,10 +230,28 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Actual program update to include new file Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -235,10 +317,33 @@ export declare const y = 10; +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/dist": 2 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: After program emit with new file, should schedule and run timeout to update directory watcher Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -272,10 +377,33 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/dist/file3.js": 1, + "/user/username/projects/myproject/dist/file3.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/dist": 1, + "/user/username/projects/myproject/dist/file3.js": 1, + "/user/username/projects/myproject/dist/file3.d.ts": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: No change Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -308,3 +436,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index baaf9b75c86c4..1ebf23b6bb5bd 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -22,6 +22,14 @@ export const x = 10; {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -83,10 +91,47 @@ exports.__esModule = true; +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/file2/package.json": 1, + "/user/username/projects/myproject/node_modules/file2.ts": 1, + "/user/username/projects/myproject/node_modules/file2.tsx": 1, + "/user/username/projects/myproject/node_modules/file2.d.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, + "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/file2": 4, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src": 2, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Directory watch updates because of file1.js creation Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -118,11 +163,33 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Remove directory node_modules Input:: //// [/user/username/projects/myproject/node_modules/file2/index.d.ts] deleted +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules/file2": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -173,10 +240,38 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/src/file1.js] file written with same contents +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 2, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/node_modules": 2, + "/user/username/node_modules": 2, + "/user/node_modules": 2, + "/node_modules": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Pending directory watchers and program update Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -224,10 +319,42 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject": 1, + "/user/username/projects/myproject/src/node_modules": 2, + "/user/username/projects/node_modules": 2, + "/user/username/node_modules": 2, + "/user/node_modules": 2, + "/node_modules": 2, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Start npm install Input:: +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 1, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -253,10 +380,28 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install folder creation of file2 Input:: +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -282,6 +427,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: npm install index file in file2 Input:: @@ -289,6 +442,14 @@ Input:: export const x = 10; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -314,10 +475,26 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Updates the program Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -345,10 +522,32 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: { + "/user/username/projects/myproject/node_modules": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/file2": 1, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Invalidates module resolution cache Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -376,10 +575,26 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Pending updates Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -433,3 +648,28 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/src/file1.js] file written with same contents + +fileExists:: { + "/user/username/projects/myproject/node_modules/file2/package.json": 1, + "/user/username/projects/myproject/node_modules/file2.ts": 1, + "/user/username/projects/myproject/node_modules/file2.tsx": 1, + "/user/username/projects/myproject/node_modules/file2.d.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.ts": 1, + "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, + "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/file2": 3, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js index 2164d2f3e79c5..5cbc667f24a6a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js @@ -22,6 +22,14 @@ let y = 1 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -70,6 +78,26 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Make change to file but should detect as changed and schedule program update Input:: @@ -77,6 +105,14 @@ Input:: var zz30 = 100; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -92,10 +128,31 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Callbacks: queue and scheduled program update Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -138,3 +195,16 @@ var zz30 = 100; //// [/a/b/commonFile2.js] file written with same contents + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js index 0978c331e611e..d1b76caf57f9c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js @@ -16,6 +16,14 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js --w /a/username/project/typescript.ts Output:: >> Screen clear @@ -53,10 +61,31 @@ var z = 10; +fileExists:: {} + +directoryExists:: { + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/username/project/typescript.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Time spent to Transition libFile and file1 to low priority queue Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -68,6 +97,17 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/username/project/typescript.ts": 64, + "/a/lib/lib.d.ts": 64 +} + +setModifiedTimes:: {} + Change:: Make change to file Input:: @@ -75,6 +115,14 @@ Input:: var zz30 = 100; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -86,10 +134,29 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/username/project/typescript.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Callbacks: medium priority + high priority queue and scheduled program update Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -125,10 +192,29 @@ var zz30 = 100; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/username/project/typescript.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Polling queues polled and everything is in the high polling queue Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -139,3 +225,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/username/project/typescript.ts": 98, + "/a/lib/lib.d.ts": 96 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js index eeeead92f9366..1045f9181a20f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js @@ -22,6 +22,14 @@ let y = 1 {"watchOptions":{"watchFile":"FixedChunkSizePolling"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -70,10 +78,38 @@ var y = 1; +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: The timeout is to check the status of all files Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -89,6 +125,19 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 4, + "/a/b/commonfile1.ts": 4, + "/a/b/commonfile2.ts": 4, + "/a/lib/lib.d.ts": 4 +} + +setModifiedTimes:: {} + Change:: Make change to file but should detect as changed and schedule program update Input:: @@ -96,6 +145,14 @@ Input:: var zz30 = 100; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -111,10 +168,31 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: Callbacks: queue and scheduled program update Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -158,10 +236,31 @@ var zz30 = 100; //// [/a/b/commonFile2.js] file written with same contents +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} + Change:: The timeout is to check the status of all files Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -176,3 +275,16 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: { + "/a/b/tsconfig.json": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, + "/a/lib/lib.d.ts": 1 +} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index 0f73e756ecd1f..3af107bcc9b0c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["node_modules"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -111,11 +119,48 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/bar": 5, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: delete fooBar Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -142,3 +187,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index f389c59be0905..d542ca3c639d2 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["**/temp"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -117,10 +125,49 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/bar": 6, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src": 2, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Directory watch updates because of main.js creation Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: sysLog:: onTimerToUpdateChildWatches:: 1 sysLog:: invokingWatchers:: Elapsed:: *ms:: 0 @@ -163,6 +210,16 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: add new folder to temp Input:: @@ -170,6 +227,14 @@ Input:: export function temp(): string; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -202,3 +267,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index 6730dd8f5979d..1ecc40105012a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["**/temp"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -99,10 +107,49 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 3, + "/user/username/projects/myproject/node_modules/bar": 6, + "/user/username/projects/myproject/node_modules/@types": 2, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1, + "/user/username/projects/myproject/src": 2, + "/user/username/projects/myproject": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Directory watch updates because of main.js creation Input:: +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -136,6 +183,16 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +fileExists:: {} + +directoryExists:: { + "/user/username/projects/myproject/src": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: add new folder to temp Input:: @@ -143,6 +200,14 @@ Input:: export function temp(): string; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -175,3 +240,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index 0a167785511a8..d973ffcb90ce8 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["node_modules"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -93,11 +101,48 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/bar": 5, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: delete fooBar Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -124,3 +169,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index ef32647bc0b20..1652a3aeb3924 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeFiles":["node_modules/*"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -111,6 +119,35 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/bar": 5, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change foo Input:: @@ -118,6 +155,14 @@ Input:: export function fooBar(): string; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -142,3 +187,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index df999e6b21d36..514eda8ce6f49 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -31,6 +31,14 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeFiles":["node_modules/*"]}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w Output:: >> Screen clear @@ -91,6 +99,35 @@ var bar_1 = require("bar"); +fileExists:: { + "/user/username/projects/myproject/tsconfig.json": 1, + "/user/username/projects/myproject/node_modules/bar/package.json": 1, + "/user/username/projects/myproject/node_modules/bar.ts": 1, + "/user/username/projects/myproject/node_modules/bar.tsx": 1, + "/user/username/projects/myproject/node_modules/bar.d.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.ts": 1, + "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, + "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, + "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, + "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 +} + +directoryExists:: { + "/user/username/projects/myproject/src/node_modules": 1, + "/user/username/projects/myproject/node_modules": 2, + "/user/username/projects/myproject/node_modules/bar": 5, + "/user/username/projects/myproject/node_modules/@types": 1, + "/user/username/projects/node_modules/@types": 1, + "/user/username/node_modules/@types": 1, + "/user/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Change:: Change foo Input:: @@ -98,6 +135,14 @@ Input:: export function fooBar(): string; +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + Output:: WatchedFiles:: @@ -122,3 +167,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined + +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js index 4601f5bda1ed0..261737c83357c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js @@ -22,6 +22,14 @@ let y = 1 {"watchOptions":{"fallbackPolling":"PriorityInterval"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -77,3 +85,19 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 2, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js index 20d001cb9063f..e7129fab8cde0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js @@ -22,6 +22,14 @@ let y = 1 {"watchOptions":{"watchDirectory":"UseFsEvents"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -77,3 +85,19 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 2, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1, + "/a/b": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js index 5cc2b3b89ee19..0295dbb5a7945 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js @@ -22,6 +22,14 @@ let y = 1 {} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json --watchFile UseFsEvents Output:: >> Screen clear @@ -77,3 +85,18 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js index 566566ab08193..75b43786c75c9 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js @@ -22,6 +22,14 @@ let y = 1 {"watchOptions":{"watchFile":"UseFsEvents"}} +fileExists:: {} + +directoryExists:: {} + +getModifiedTimes:: {} + +setModifiedTimes:: {} + /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -77,3 +85,18 @@ var x = 1; var y = 1; + +fileExists:: { + "/a/b/tsconfig.json": 1 +} + +directoryExists:: { + "/a/b/tsconfig.json": 1, + "/a/b/node_modules/@types": 1, + "/a/node_modules/@types": 1, + "/node_modules/@types": 1 +} + +getModifiedTimes:: {} + +setModifiedTimes:: {} From 0ff8cb38d8d565d626a01c93b212361a0bc33c50 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 16 Mar 2022 12:34:14 -0700 Subject: [PATCH 16/64] Remove unnecessary write file finger print code since its not used at all --- src/compiler/program.ts | 46 +---------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index c7f886ea3119f..bf6b2a81f62e7 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -58,22 +58,14 @@ namespace ts { return getPathFromPathComponents(commonPathComponents); } - interface OutputFingerprint { - hash: string; - byteOrderMark: boolean; - mtime: Date; - } - export function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost { return createCompilerHostWorker(options, setParentNodes); } /*@internal*/ - // TODO(shkamat): update this after reworking ts build API export function createCompilerHostWorker(options: CompilerOptions, setParentNodes?: boolean, system = sys): CompilerHost { const existingDirectories = new Map(); const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames); - const computeHash = maybeBind(system, system.createHash) || generateDjb2Hash; function getSourceFile(fileName: string, languageVersionOrOptions: ScriptTarget | CreateSourceFileOptions, onError?: (message: string) => void): SourceFile | undefined { let text: string | undefined; try { @@ -113,7 +105,7 @@ namespace ts { fileName, data, writeByteOrderMark, - (path, data, writeByteOrderMark) => writeFileWorker(path, data, writeByteOrderMark), + (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark), path => (compilerHost.createDirectory || system.createDirectory)(path), path => directoryExists(path)); @@ -127,42 +119,6 @@ namespace ts { } } - let outputFingerprints: ESMap; - function writeFileWorker(fileName: string, data: string, writeByteOrderMark: boolean) { - if (!isWatchSet(options) || !system.getModifiedTime) { - system.writeFile(fileName, data, writeByteOrderMark); - return; - } - - if (!outputFingerprints) { - outputFingerprints = new Map(); - } - - const hash = computeHash(data); - const mtimeBefore = system.getModifiedTime(fileName); - - if (mtimeBefore) { - const fingerprint = outputFingerprints.get(fileName); - // If output has not been changed, and the file has no external modification - if (fingerprint && - fingerprint.byteOrderMark === writeByteOrderMark && - fingerprint.hash === hash && - fingerprint.mtime.getTime() === mtimeBefore.getTime()) { - return; - } - } - - system.writeFile(fileName, data, writeByteOrderMark); - - const mtimeAfter = system.getModifiedTime(fileName) || missingFileModifiedTime; - - outputFingerprints.set(fileName, { - hash, - byteOrderMark: writeByteOrderMark, - mtime: mtimeAfter - }); - } - function getDefaultLibLocation(): string { return getDirectoryPath(normalizePath(system.getExecutingFilePath())); } From 59ad6ef0006d0fc9e57dfd08f90d911d1ee00761 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 11 Apr 2022 13:58:33 -0700 Subject: [PATCH 17/64] Use modified time instead of file existence check --- src/compiler/tsbuild.ts | 2 - src/compiler/tsbuildPublic.ts | 36 +++--- .../modules-and-globals-mixed-in-amd.js | 37 +++---- .../multiple-emitHelpers-in-all-projects.js | 54 +++------ .../multiple-prologues-in-all-projects.js | 54 +++------ .../shebang-in-all-projects.js | 37 +++---- .../amdModulesWithOut/stripInternal.js | 54 +++------ .../triple-slash-refs-in-all-projects.js | 41 +++---- ...e-resolution-finds-original-source-file.js | 19 ++-- .../reports-syntax-errors-in-config-file.js | 47 +++----- .../when-tsconfig-extends-the-missing-file.js | 9 +- ...nce-and-both-extend-config-with-include.js | 15 +-- ...th-projects-extends-config-with-include.js | 15 +-- ...ter-initial-build-doesnt-build-anything.js | 27 +---- ...ugh-triple-slash-but-uses-no-references.js | 10 +- ...file-is-referenced-through-triple-slash.js | 17 ++- ...d-inferred-type-from-referenced-project.js | 13 +-- ...s-not-in-rootDir-at-the-import-location.js | 11 +- ...ng-setup-correctly-and-reports-no-error.js | 21 ++-- ...-emitDeclarationOnly-and-declarationMap.js | 18 +-- ...import-project-with-emitDeclarationOnly.js | 18 +-- ...mports-project-with-emitDeclarationOnly.js | 18 +-- ...es-is-empty-and-references-are-provided.js | 10 +- ...-transitive-module-with-isolatedModules.js | 26 ++--- .../inferred-type-from-transitive-module.js | 24 ++-- ...hange-in-signature-with-isolatedModules.js | 35 ++---- ...based-projects-and-emits-them-correctly.js | 19 ++-- ...ved-json-files-and-emits-them-correctly.js | 21 ++-- ...rojects-and-concatenates-them-correctly.js | 37 +++---- ...s-merged-and-contains-late-bound-member.js | 18 +-- ...project-correctly-with-preserveSymlinks.js | 10 +- ...-file-from-referenced-project-correctly.js | 10 +- ...t-resolution-options-referenced-project.js | 14 +-- ...fiers-across-projects-resolve-correctly.js | 23 ++-- ...zed-module-specifiers-resolve-correctly.js | 17 ++- .../semantic-errors-with-incremental.js | 34 ++---- .../tsbuild/noEmitOnError/semantic-errors.js | 33 ++---- .../syntax-errors-with-incremental.js | 34 ++---- .../tsbuild/noEmitOnError/syntax-errors.js | 33 ++---- .../non-module-projects-without-prepend.js | 15 +-- ...al-flag-changes-between-non-dts-changes.js | 67 ++++-------- ...erated-when-incremental-is-set-to-false.js | 24 ++-- ...-buildInfo-absence-results-in-new-build.js | 26 +---- .../baseline-sectioned-sourcemaps.js | 72 ++++-------- .../declarationMap-and-sourceMap-disabled.js | 24 ++-- .../emitHelpers-in-all-projects.js | 94 +++++----------- ...tHelpers-in-only-one-dependency-project.js | 70 ++++-------- .../tsbuild/outfile-concat/explainFiles.js | 72 ++++-------- .../multiple-emitHelpers-in-all-projects.js | 70 ++++-------- ...tiple-emitHelpers-in-different-projects.js | 70 ++++-------- .../multiple-prologues-in-all-projects.js | 94 +++++----------- ...ultiple-prologues-in-different-projects.js | 70 ++++-------- .../outfile-concat/shebang-in-all-projects.js | 72 ++++-------- .../shebang-in-only-one-dependency-project.js | 48 +++----- .../outfile-concat/strict-in-all-projects.js | 94 +++++----------- .../strict-in-one-dependency.js | 70 ++++-------- ...hen-internal-is-inside-another-internal.js | 26 ++--- ...en-one-two-three-are-prepended-in-order.js | 74 +++++-------- .../stripInternal-jsdoc-style-comment.js | 70 ++++-------- ...en-one-two-three-are-prepended-in-order.js | 50 ++++----- ...-jsdoc-style-with-comments-emit-enabled.js | 48 +++----- ...l-when-few-members-of-enum-are-internal.js | 26 ++--- ...en-one-two-three-are-prepended-in-order.js | 103 ++++++------------ ...nal-when-prepend-is-completely-internal.js | 16 +-- ...en-one-two-three-are-prepended-in-order.js | 74 +++++-------- ...tripInternal-with-comments-emit-enabled.js | 70 ++++-------- .../tsbuild/outfile-concat/stripInternal.js | 94 +++++----------- .../triple-slash-refs-in-all-projects.js | 75 ++++--------- .../triple-slash-refs-in-one-project.js | 50 +++------ ...roject-is-not-composite-but-incremental.js | 26 ++--- ...t-composite-but-uses-project-references.js | 44 +++----- ...final-project-specifies-tsBuildInfoFile.js | 26 ++--- ...-source-files-are-empty-in-the-own-file.js | 48 +++----- ...otDir-is-not-specified-and-is-composite.js | 17 +-- .../when-rootDir-is-not-specified.js | 13 +-- ...iles-belong-to-rootDir-and-is-composite.js | 18 +-- ...ied-but-not-all-files-belong-to-rootDir.js | 18 +-- .../outputPaths/when-rootDir-is-specified.js | 13 +-- .../builds-correctly.js | 14 +-- ...nfo-file-because-no-rootDir-in-the-base.js | 12 +- ...reports-error-for-same-tsbuildinfo-file.js | 12 +- ...eports-no-error-when-tsbuildinfo-differ.js | 14 +-- .../files-containing-json-file.js | 9 +- ...ting-json-module-from-project-reference.js | 19 +--- .../resolveJsonModule/include-and-files.js | 9 +- ...r-include-and-file-name-matches-ts-file.js | 9 +- ...nclude-of-json-along-with-other-include.js | 9 +- .../tsbuild/resolveJsonModule/include-only.js | 5 +- .../tsbuild/resolveJsonModule/sourcemap.js | 19 +--- .../resolveJsonModule/without-outDir.js | 17 +-- .../always-builds-under-with-force-option.js | 34 +++--- ...uilding-using-getNextInvalidatedProject.js | 26 ++--- ...rectly-when-declarationDir-is-specified.js | 18 ++- ...ilds-correctly-when-outDir-is-specified.js | 18 ++- ...composite-or-doesnt-have-any-references.js | 12 +- .../can-detect-when-and-what-to-rebuild.js | 85 +-------------- ...ojects-if-upstream-projects-have-errors.js | 15 +-- ...does-not-write-any-files-in-a-dry-build.js | 14 +-- .../reference/tsbuild/sample1/explainFiles.js | 51 ++------- ...it-would-skip-builds-during-a-dry-build.js | 22 +--- .../sample1/invalidates-projects-correctly.js | 33 +++--- .../tsbuild/sample1/listEmittedFiles.js | 51 ++------- .../reference/tsbuild/sample1/listFiles.js | 51 ++------- ...uilds-from-start-if-force-option-is-set.js | 15 ++- ...uilds-when-extended-config-file-changes.js | 38 ++----- .../reference/tsbuild/sample1/sample.js | 93 +++------------- .../when-declaration-option-changes.js | 21 +--- .../when-esModuleInterop-option-changes.js | 36 ++---- .../when-logic-specifies-tsBuildInfoFile.js | 18 ++- .../sample1/when-module-option-changes.js | 19 +--- .../sample1/when-target-option-changes.js | 19 +--- ...roject-uses-different-module-resolution.js | 13 +-- .../transitiveReferences/builds-correctly.js | 13 +-- ...de-resolution-with-external-module-name.js | 12 +- .../reports-syntax-errors-in-config-file.js | 47 +++----- .../demo/updates-with-bad-reference.js | 19 ++-- .../demo/updates-with-circular-reference.js | 21 ++-- ...for-changes-to-package-json-main-fields.js | 20 ++-- ...t-correctly-with-cts-and-mts-extensions.js | 29 ++--- ...se-different-module-resolution-settings.js | 19 ++-- ...n-no-files-are-emitted-with-incremental.js | 23 ++-- ...when-watching-when-no-files-are-emitted.js | 23 ++-- ...mit-any-files-on-error-with-incremental.js | 44 +++----- .../does-not-emit-any-files-on-error.js | 44 +++----- .../creates-solution-in-watch-mode.js | 19 ++-- .../incremental-updates-in-verbose-mode.js | 30 ++--- .../when-file-with-no-error-changes.js | 23 +--- ...ing-errors-only-changed-file-is-emitted.js | 24 +--- .../when-file-with-no-error-changes.js | 18 +-- ...ixing-error-files-all-files-are-emitted.js | 20 ++-- .../when-preserveWatchOutput-is-not-used.js | 27 ++--- ...veWatchOutput-is-passed-on-command-line.js | 27 ++--- ...e-of-program-emit-with-outDir-specified.js | 20 +--- ...r-recompilation-because-of-program-emit.js | 20 +--- ...-references-watches-only-those-projects.js | 13 +-- ...tches-config-files-that-are-not-present.js | 31 +++--- ...e-down-stream-project-and-then-fixes-it.js | 25 ++--- ...ncing-project-even-for-non-local-change.js | 37 ++++--- ...le-is-added,-and-its-subsequent-updates.js | 47 ++++---- ...hanges-and-reports-found-errors-message.js | 61 ++++------- ...not-start-build-of-referencing-projects.js | 26 ++--- ...le-is-added,-and-its-subsequent-updates.js | 47 ++++---- ...hanges-and-reports-found-errors-message.js | 61 ++++------- ...not-start-build-of-referencing-projects.js | 26 ++--- ...project-with-extended-config-is-removed.js | 15 +-- ...hen-noUnusedParameters-changes-to-false.js | 16 +-- .../works-with-extended-source-files.js | 59 ++-------- .../publicApi/with-custom-transformers.js | 22 ++-- .../reexport/Reports-errors-correctly.js | 31 +++--- ...e-projects-with-single-watcher-per-file.js | 40 ++----- .../same-file-in-multiple-projects.js | 40 ++----- .../on-sample-project.js | 67 +++--------- ...-different-folders-with-no-files-clause.js | 28 ++--- ...nsitive-references-in-different-folders.js | 28 ++--- .../on-transitive-references.js | 26 ++--- ...roject-uses-different-module-resolution.js | 17 ++- ...es-field-when-solution-is-already-built.js | 14 +-- ...Symlinks-when-solution-is-already-built.js | 13 +-- ...-package-when-solution-is-already-built.js | 14 +-- ...Symlinks-when-solution-is-already-built.js | 13 +-- ...ubFolder-when-solution-is-already-built.js | 14 +-- ...Symlinks-when-solution-is-already-built.js | 13 +-- ...-package-when-solution-is-already-built.js | 14 +-- ...Symlinks-when-solution-is-already-built.js | 13 +-- ...-project-when-solution-is-already-built.js | 16 +-- 165 files changed, 1774 insertions(+), 3527 deletions(-) diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index ed14804e19c06..ebe69e277e2e2 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -68,8 +68,6 @@ namespace ts { newestInputFileTime?: Date; newestInputFileName?: string; newestDeclarationFileContentChangedTime?: Date; - newestOutputFileTime?: Date; - newestOutputFileName?: string; oldestOutputFileName: string; } diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index e0825db610005..1aa25e592b2bd 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -970,8 +970,9 @@ namespace ts { let priorChangeTime: Date | undefined; if (!anyDtsChanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files - if (host.fileExists(name) && state.readFileWithCache(name) === text) { - priorChangeTime = host.getModifiedTime(name); + const modifiedTime = getModifiedTime(host, name); + if (modifiedTime !== missingFileModifiedTime && state.readFileWithCache(name) === text) { + priorChangeTime = modifiedTime; } else { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; @@ -1346,13 +1347,21 @@ namespace ts { } function getUpToDateStatusWorker(state: SolutionBuilderState, project: ParsedCommandLine, resolvedPath: ResolvedConfigFilePath): UpToDateStatus { + // Container if no files are specified in the project + if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { + return { + type: UpToDateStatusType.ContainerOnly + }; + } + const force = !!state.options.force; let newestInputFileName: string = undefined!; let newestInputFileTime = minimumDate; const { host } = state; // Get timestamps of input files for (const inputFile of project.fileNames) { - if (!host.fileExists(inputFile)) { + const inputTime = getModifiedTime(host, inputFile); + if (inputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.Unbuildable, reason: `${inputFile} does not exist` @@ -1360,7 +1369,6 @@ namespace ts { } if (!force) { - const inputTime = getModifiedTime(host, inputFile); if (inputTime > newestInputFileTime) { newestInputFileName = inputFile; newestInputFileTime = inputTime; @@ -1368,21 +1376,12 @@ namespace ts { } } - // Container if no files are specified in the project - if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { - return { - type: UpToDateStatusType.ContainerOnly - }; - } - // Collect the expected outputs of this project const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); // Now see if all outputs are newer than the newest input let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; - let newestOutputFileName = "(none)"; - let newestOutputFileTime = minimumDate; let missingOutputFileName: string | undefined; let newestDeclarationFileContentChangedTime = minimumDate; let isOutOfDateWithInputs = false; @@ -1390,12 +1389,12 @@ namespace ts { for (const output of outputs) { // Output is missing; can stop checking // Don't immediately return because we can still be upstream-blocked, which is a higher-priority status - if (!host.fileExists(output)) { + const outputTime = getModifiedTime(host, output); + if (outputTime === missingFileModifiedTime) { missingOutputFileName = output; break; } - const outputTime = getModifiedTime(host, output); if (outputTime < oldestOutputFileTime) { oldestOutputFileTime = outputTime; oldestOutputFileName = output; @@ -1408,11 +1407,6 @@ namespace ts { break; } - if (outputTime > newestOutputFileTime) { - newestOutputFileTime = outputTime; - newestOutputFileName = output; - } - // Keep track of when the most recent time a .d.ts file was changed. // In addition to file timestamps, we also keep track of when a .d.ts file // had its file touched but not had its contents changed - this allows us @@ -1546,9 +1540,7 @@ namespace ts { type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate, newestDeclarationFileContentChangedTime, newestInputFileTime, - newestOutputFileTime, newestInputFileName, - newestOutputFileName, oldestOutputFileName }; } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index e8720d53f4442..750f7ad23a1dc 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -88,22 +88,19 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -119,7 +116,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -1027,19 +1025,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 3c41ad0a7d280..2825d52af068a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -100,22 +100,19 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -131,7 +128,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -2204,19 +2202,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -3865,19 +3854,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index a9ea0499bc48a..67d3fdcc7c22a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -93,22 +93,19 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -124,7 +121,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -1313,19 +1311,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -2245,19 +2234,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 4de116765f028..6eb7a7b34684f 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -91,22 +91,19 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -122,7 +119,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -1049,19 +1047,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index ccdbc138753af..ad9f5c50c0ba8 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -114,22 +114,19 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -145,7 +142,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -4954,19 +4952,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -8801,19 +8790,10 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 5504d6e546969..d80840518b383 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -99,25 +99,20 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/tripleRef.d.ts": 1, + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tripleRef.d.ts": 1 + "/src/app/tripleRef.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/tripleRef.d.ts": 1, - "/src/lib/module.js": 3, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tripleRef.d.ts": 1, - "/src/app/module.js": 2, + "/src/lib/module.js": 2, + "/src/lib/module.d.ts": 1, "/src/app/file1.ts": 1, "/src/app/file1.tsx": 1, "/src/app/file1.d.ts": 1, @@ -133,7 +128,8 @@ fileExists:: { "/src/file1.jsx": 1, "/file1.js": 1, "/file1.jsx": 1, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { @@ -1268,21 +1264,10 @@ setModifiedTime:: { } fileExists:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/tripleRef.d.ts": 1, - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tripleRef.d.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, - "/src/app/module.tsbuildinfo": 1 + "/src/lib/module.js": 1, + "/src/lib/module.d.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 55ee5cff89016..f26e1357febc7 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -88,23 +88,22 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, + "/src/module.js": 1, + "/src/module.d.ts": 1, "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1 + "/src/app/file4.ts": 1, + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/lib/file0.ts": 1, + "/src/module.js": 2, + "/src/module.d.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/module.js": 3, - "/src/module.d.ts": 2, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/module.js": 2, - "/src/app/module.d.ts": 2 + "/src/app/module.js": 1, + "/src/app/module.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index f2c5d26a4eef9..ec7648283ddf6 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -47,16 +47,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, - "/src/b.ts": 1 + "/src/b.ts": 1, + "/src/a.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/a.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -96,16 +93,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, - "/src/b.ts": 1 + "/src/b.ts": 1, + "/src/a.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/a.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -136,16 +130,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, - "/src/b.ts": 1 + "/src/b.ts": 1, + "/src/a.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/a.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -173,16 +164,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, - "/src/b.ts": 1 + "/src/b.ts": 1, + "/src/a.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/a.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -204,19 +192,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/a.ts": 1, "/src/b.ts": 1, "/src/a.js": 1, "/src/a.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/node_modules/@types": 1, "/node_modules/@types": 1 diff --git a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js index f2dc7ee7a06d5..b2dee19922f0a 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js @@ -58,14 +58,15 @@ Found 4 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} +getModifiedTime:: { + "/src/tsconfig.first.tsbuildinfo": 1, + "/src/tsconfig.second.tsbuildinfo": 1 +} setModifiedTime:: {} fileExists:: { - "/src/foobar.json": 2, - "/src/tsconfig.first.tsbuildinfo": 1, - "/src/tsconfig.second.tsbuildinfo": 1 + "/src/foobar.json": 2 } directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index f42842eed65f3..9f8ab0ee8edc2 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -62,15 +62,6 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, - "/src/webpack/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/tsconfig-base.json": 2, - "/src/shared/index.ts": 1, - "/src/shared/typings-base/globals.d.ts": 1, "/src/target-tsc-build/shared/index.js": 1, "/src/target-tsc-build/shared/index.d.ts": 1, "/src/webpack/index.ts": 1, @@ -78,6 +69,12 @@ fileExists:: { "/src/target-tsc-build/webpack/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/shared/tsconfig-base.json": 2 +} + directoryExists:: { "/src/shared/node_modules/@types": 1, "/src/node_modules/@types": 2, diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index fcc0ef49903ba..aa8a52b7b7131 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -63,15 +63,6 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, - "/src/webpack/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/tsconfig-base.json": 2, - "/src/shared/index.ts": 1, - "/src/shared/typings-base/globals.d.ts": 1, "/src/target-tsc-build/shared/index.js": 1, "/src/target-tsc-build/shared/index.d.ts": 1, "/src/webpack/index.ts": 1, @@ -79,6 +70,12 @@ fileExists:: { "/src/target-tsc-build/webpack/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/shared/tsconfig-base.json": 2 +} + directoryExists:: { "/src/shared/node_modules/@types": 1, "/src/node_modules/@types": 2, diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 5c341a5df5c89..a59d1ffc8ec8a 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -100,14 +100,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/folder/index.ts": 1, - "/src/src/folder2/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/src/folder/index.ts": 1, "/src/src/folder/index.js": 1, "/src/src/folder/index.d.ts": 1, @@ -119,6 +111,10 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/src/folder/node_modules/@types": 1, "/src/src/node_modules/@types": 2, @@ -310,20 +306,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/folder/index.ts": 1, - "/src/src/folder/index.js": 1, - "/src/src/folder/index.d.ts": 1, - "/src/src/folder/tsconfig.tsbuildinfo": 1, - "/src/src/folder2/index.ts": 1, - "/src/src/folder2/index.js": 1, - "/src/src/folder2/index.d.ts": 1, - "/src/src/folder2/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 7eaba1f02260f..93d3a5af9be85 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -71,7 +71,9 @@ getModifiedTime:: { "/src/solution/src/common/nominal.ts": 1, "/src/solution/src/common/types.d.ts": 1, "/src/solution/src/subProject/index.ts": 1, - "/src/solution/src/subProject2/index.ts": 1 + "/src/solution/src/subProject2/index.ts": 1, + "/src/solution/lib/src/common/nominal.js": 1, + "/src/solution/lib/src/common/nominal.d.ts": 1 } setModifiedTime:: {} @@ -79,11 +81,7 @@ setModifiedTime:: {} fileExists:: { "/src/solution/tsconfig.base.json": 1, "/src/solution/src/common/nominal.ts": 1, - "/src/solution/src/common/types.d.ts": 1, - "/src/solution/src/subProject/index.ts": 1, - "/src/solution/src/subProject2/index.ts": 1, - "/src/solution/lib/src/common/nominal.js": 1, - "/src/solution/lib/src/common/nominal.d.ts": 1 + "/src/solution/src/subProject/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index ce857f6421b7e..b1d35020c27aa 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -80,15 +80,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/solution/src/common/nominal.ts": 1, - "/src/solution/src/subProject/index.ts": 1, - "/src/solution/src/subProject2/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/solution/tsconfig.base.json": 3, "/src/solution/src/common/nominal.ts": 1, "/src/solution/lib/src/common/nominal.js": 1, "/src/solution/lib/src/common/nominal.d.ts": 1, @@ -100,6 +91,14 @@ fileExists:: { "/src/solution/lib/src/subProject2/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/solution/tsconfig.base.json": 3, + "/src/solution/src/common/nominal.ts": 1, + "/src/solution/src/subProject/index.ts": 1 +} + directoryExists:: { "/src/solution/src/common/node_modules/@types": 1, "/src/solution/src/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index ca56ec0713080..644040c5c0e03 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -58,7 +58,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1/src/index.ts": 1, - "/src/packages/pkg2/src/index.ts": 1 + "/src/packages/pkg1/lib/src/index.js": 1, + "/src/packages/pkg1/lib/src/index.d.ts": 1, + "/src/packages/pkg2/src/index.ts": 1, + "/src/packages/pkg2/lib/src/index.js": 1, + "/src/packages/pkg2/lib/src/index.d.ts": 1 } setModifiedTime:: {} @@ -66,16 +70,11 @@ setModifiedTime:: {} fileExists:: { "/src/tsconfig": 2, "/src/tsconfig.json": 2, - "/src/packages/pkg1/src/index.ts": 1, - "/src/packages/pkg1/lib/src/index.js": 1, - "/src/packages/pkg1/lib/src/index.d.ts": 1, - "/src/packages/pkg2/src/index.ts": 1, - "/src/packages/pkg2/lib/src/index.js": 1, "/src/packages/pkg1/src.ts": 1, "/src/packages/pkg1/src.tsx": 1, "/src/packages/pkg1/src.d.ts": 1, "/src/packages/pkg1/src/package.json": 1, - "/src/packages/pkg2/lib/src/index.d.ts": 1 + "/src/packages/pkg1/src/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 57a08211e2b52..e6ba78ed2a0c5 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -222,18 +222,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/core/utilities.ts": 1, + "/src/lib/core/utilities.js": 1, "/src/animals/animal.ts": 1, "/src/animals/dog.ts": 1, "/src/animals/index.ts": 1, - "/src/zoo/zoo.ts": 1 + "/src/lib/animals/animal.js": 1, + "/src/zoo/zoo.ts": 1, + "/src/lib/zoo/zoo.js": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig-base.json": 3, - "/src/core/utilities.ts": 1, - "/src/lib/core/utilities.js": 1, "/src/animals.ts": 1, "/src/animals.tsx": 1, "/src/animals.d.ts": 1, @@ -241,9 +242,7 @@ fileExists:: { "/src/animals/index.ts": 1, "/src/animals/animal.ts": 1, "/src/animals/dog.ts": 1, - "/src/lib/animals/animal.js": 1, - "/src/zoo/zoo.ts": 1, - "/src/lib/zoo/zoo.js": 1 + "/src/core/utilities.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index dcd0224a2c1aa..5c6f885ab318f 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -167,28 +167,27 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/utilities.ts": 1, + "/src/lib/core/utilities.js": 1, + "/src/lib/core/utilities.d.ts": 1, "/src/animals/animal.ts": 1, "/src/animals/dog.ts": 1, "/src/animals/index.ts": 1, - "/src/zoo/zoo.ts": 1 + "/src/lib/animals/animal.js": 1, + "/src/lib/animals/animal.d.ts": 1, + "/src/zoo/zoo.ts": 1, + "/src/lib/zoo/zoo.js": 1, + "/src/lib/zoo/zoo.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig-base.json": 3, + "/src/animals/package.json": 1, + "/src/animals/index.ts": 1, "/src/core/utilities.ts": 1, - "/src/lib/core/utilities.js": 1, - "/src/lib/core/utilities.d.ts": 1, "/src/animals/animal.ts": 1, - "/src/animals/dog.ts": 1, - "/src/animals/index.ts": 1, - "/src/lib/animals/animal.js": 1, - "/src/animals/package.json": 1, - "/src/lib/animals/animal.d.ts": 1, - "/src/zoo/zoo.ts": 1, - "/src/lib/zoo/zoo.js": 1, - "/src/lib/zoo/zoo.d.ts": 1 + "/src/animals/dog.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index e141b86fcc21d..2fcf962830281 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -83,18 +83,17 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/c.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/c.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { @@ -282,7 +281,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/lib/a.d.ts": 2, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 @@ -291,14 +290,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/b.d.ts": 1, - "/src/lib/c.d.ts": 1, - "/src/lib/index.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 4a5fe82675696..496fb5d2b3643 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -83,18 +83,17 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/lib/a.d.ts": 1, + "/src/lib/c.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/c.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { @@ -269,7 +268,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/lib/a.d.ts": 2, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 @@ -278,14 +277,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/b.d.ts": 1, - "/src/lib/c.d.ts": 1, - "/src/lib/index.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index e92a641de02e2..84985e2285ca7 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -76,16 +76,15 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, - "/src/src/c.ts": 1 + "/src/src/c.ts": 1, + "/src/lib/a.d.ts": 2 } setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { @@ -251,10 +250,8 @@ setModifiedTime:: { } fileExists:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { @@ -378,18 +375,15 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/lib/a.d.ts": 2, "/src/lib/b.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/b.d.ts": 1 + "/src/src/a.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 969f5dbb77e27..e1fb0562ba7df 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -64,17 +64,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/index.ts": 1, "/src/core/index.js": 1, "/src/core/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index c2679ad842b76..a59fc747e2abd 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -86,19 +86,17 @@ getModifiedTime:: { "/src/bundling.ts": 1, "/src/global.d.ts": 1, "/src/index.ts": 1, - "/src/lazyIndex.ts": 1 + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -302,6 +300,7 @@ getModifiedTime:: { "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -313,14 +312,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/index.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -473,6 +467,7 @@ getModifiedTime:: { "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, "/src/obj/lazyIndex.d.ts": 1, + "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -484,14 +479,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/index.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index cb79cde7de02a..74b2f7427d521 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -86,19 +86,17 @@ getModifiedTime:: { "/src/bundling.ts": 1, "/src/global.d.ts": 1, "/src/index.ts": 1, - "/src/lazyIndex.ts": 1 + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -301,6 +299,7 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, + "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -311,13 +310,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/index.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -470,6 +465,7 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, + "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -480,13 +476,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/index.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 28183ed29582d..b98c91e566991 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -88,19 +88,17 @@ getModifiedTime:: { "/src/bundling.ts": 1, "/src/global.d.ts": 1, "/src/index.ts": 1, - "/src/lazyIndex.ts": 1 + "/src/lazyIndex.ts": 1, + "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -316,12 +314,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -495,15 +490,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1, - "/src/obj/index.d.ts": 1, - "/src/obj/lazyIndex.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -652,12 +641,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/bar.ts": 1 } directoryExists:: { @@ -812,6 +798,7 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, + "/src/obj/bar.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -822,13 +809,9 @@ setModifiedTime:: { } fileExists:: { - "/src/bar.ts": 1, "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/bar.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index bf34f25bbfa51..d1c5ecae898eb 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -119,29 +119,28 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, + "/lib/common/nominal.js": 1, + "/lib/common/nominal.d.ts": 1, "/src/sub-project/index.js": 1, - "/src/sub-project-2/index.js": 1 + "/lib/sub-project/index.js": 1, + "/lib/sub-project/index.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/lib/sub-project-2/index.js": 1, + "/lib/sub-project-2/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 3, - "/src/common/nominal.js": 1, - "/lib/common/nominal.js": 1, - "/lib/common/nominal.d.ts": 1, - "/src/sub-project/index.js": 1, - "/lib/sub-project/index.js": 1, "/src/common/nominal.ts": 1, "/src/common/nominal.tsx": 1, "/src/common/nominal.d.ts": 1, - "/lib/sub-project/index.d.ts": 1, - "/src/sub-project-2/index.js": 1, - "/lib/sub-project-2/index.js": 1, + "/src/common/nominal.js": 1, "/src/sub-project/index.ts": 1, "/src/sub-project/index.tsx": 1, "/src/sub-project/index.d.ts": 1, - "/lib/sub-project-2/index.d.ts": 1 + "/src/sub-project/index.js": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 25bd862c6fd2b..907da3df925b9 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -120,36 +120,35 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/index.ts": 1, "/src/common/obj.json": 1, + "/src/common/index.js": 1, + "/src/common/index.d.ts": 1, "/src/sub-project/index.js": 1, - "/src/sub-project-2/index.js": 1 + "/out/sub-project/index.js": 1, + "/out/sub-project/index.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/out/sub-project-2/index.js": 1, + "/out/sub-project-2/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 3, - "/src/common/index.ts": 1, - "/src/common/obj.json": 1, - "/src/common/index.js": 1, "/src/common/obj.json.ts": 1, "/src/common/obj.json.tsx": 1, "/src/common/obj.json.d.ts": 1, "/src/common/obj.json.js": 1, "/src/common/obj.json.jsx": 1, - "/src/common/index.d.ts": 1, - "/src/sub-project/index.js": 1, - "/out/sub-project/index.js": 1, + "/src/common/obj.json": 1, "/src/common.ts": 1, "/src/common.tsx": 1, "/src/common.d.ts": 1, "/src/common/package.json": 1, - "/out/sub-project/index.d.ts": 1, - "/src/sub-project-2/index.js": 1, - "/out/sub-project-2/index.js": 1, + "/src/common/index.ts": 1, "/src/sub-project/index.ts": 1, "/src/sub-project/index.tsx": 1, "/src/sub-project/index.d.ts": 1, - "/out/sub-project-2/index.d.ts": 1 + "/src/sub-project/index.js": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 2973772a16ab5..9e1c25f87cf0c 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -121,23 +121,26 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, + "/src/common/common.js": 1, + "/src/common/common.d.ts": 1, "/src/sub-project/index.js": 1, - "/src/sub-project-2/index.js": 1 + "/src/sub-project/sub-project.js": 1, + "/src/sub-project/sub-project.d.ts": 1, + "/src/sub-project-2/index.js": 1, + "/src/sub-project-2/sub-project-2.js": 1, + "/src/sub-project-2/sub-project-2.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 3, - "/src/common/nominal.js": 1, - "/src/common/common.js": 3, - "/src/common/common.d.ts": 2, - "/src/sub-project/index.js": 1, - "/src/sub-project/sub-project.js": 3, - "/src/sub-project/sub-project.d.ts": 2, - "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/sub-project-2.js": 2, - "/src/sub-project-2/sub-project-2.d.ts": 2 + "/src/common/common.js": 2, + "/src/common/common.d.ts": 1, + "/src/sub-project/sub-project.js": 2, + "/src/sub-project/sub-project.d.ts": 1, + "/src/sub-project-2/sub-project-2.js": 1, + "/src/sub-project-2/sub-project-2.d.ts": 1 } directoryExists:: { @@ -530,17 +533,11 @@ setModifiedTime:: { fileExists:: { "/src/tsconfig.base.json": 3, - "/src/common/nominal.js": 1, "/src/common/common.js": 1, - "/src/common/common.d.ts": 1, - "/src/common/common.tsbuildinfo": 1, - "/src/sub-project/index.js": 1, - "/src/sub-project/sub-project.js": 2, - "/src/sub-project/sub-project.d.ts": 2, - "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/sub-project-2.js": 2, - "/src/sub-project-2/sub-project-2.d.ts": 2, - "/src/sub-project-2/sub-project-2.tsbuildinfo": 1 + "/src/sub-project/sub-project.js": 1, + "/src/sub-project/sub-project.d.ts": 1, + "/src/sub-project-2/sub-project-2.js": 1, + "/src/sub-project-2/sub-project-2.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 8e0f8c2380c3f..962f4e942e4b6 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -60,16 +60,14 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1 + "/src/src/main.ts": 1, + "/src/src/hkt.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/src/hkt.ts": 1 } directoryExists:: { @@ -199,10 +197,7 @@ setModifiedTime:: { } fileExists:: { - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/src/hkt.ts": 1 } directoryExists:: { @@ -326,10 +321,7 @@ setModifiedTime:: { } fileExists:: { - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/src/hkt.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index b05b50fdd303c..322863b66a786 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -226,11 +226,6 @@ exports.theNum = 42; fileExists:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, @@ -267,7 +262,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 4071a1ae53ad0..151e12916896b 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -227,11 +227,6 @@ exports.theNum = 42; fileExists:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, @@ -269,7 +264,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index dab9741e1c692..b62973779be36 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -64,22 +64,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1_index.ts": 1, - "/src/packages/pkg2_index.ts": 1 + "/src/packages/pkg1_index.js": 1, + "/src/packages/pkg1_index.d.ts": 1, + "/src/packages/pkg2_index.ts": 1, + "/src/packages/pkg2_index.js": 1, + "/src/packages/pkg2_index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/packages/pkg1_index.ts": 1, - "/src/packages/pkg1_index.js": 1, "/src/packages/typeroot1/sometype/package.json": 1, "/src/packages/typeroot1/sometype/index.d.ts": 1, - "/src/packages/pkg1_index.d.ts": 1, - "/src/packages/pkg2_index.ts": 1, - "/src/packages/pkg2_index.js": 1, "/src/packages/typeroot2/sometype/package.json": 1, - "/src/packages/typeroot2/sometype/index.d.ts": 1, - "/src/packages/pkg2_index.d.ts": 1 + "/src/packages/typeroot2/sometype/index.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index ee5ae95cf505c..0b05cf2db11fb 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -143,35 +143,34 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src-types/dogconfig.ts": 1, "/src/src-types/index.ts": 1, + "/src/src-types/dogconfig.js": 1, + "/src/src-types/dogconfig.d.ts": 1, "/src/src-dogs/dog.ts": 1, "/src/src-dogs/dogconfig.ts": 1, "/src/src-dogs/index.ts": 1, "/src/src-dogs/lassie/lassieconfig.ts": 1, - "/src/src-dogs/lassie/lassiedog.ts": 1 + "/src/src-dogs/lassie/lassiedog.ts": 1, + "/src/src-dogs/dog.js": 1, + "/src/src-dogs/dogconfig.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig-base.json": 2, - "/src/src-types/dogconfig.ts": 1, - "/src/src-types/index.ts": 1, - "/src/src-types/dogconfig.js": 1, "/src/src-types/package.json": 1, + "/src/src-types/dogconfig.ts": 1, "/lib/package.json": 1, "/package.json": 1, - "/src/src-types/dogconfig.d.ts": 1, - "/src/src-dogs/dog.ts": 1, - "/src/src-dogs/dogconfig.ts": 1, - "/src/src-dogs/index.ts": 1, - "/src/src-dogs/lassie/lassieconfig.ts": 1, - "/src/src-dogs/lassie/lassiedog.ts": 1, - "/src/src-dogs/dog.js": 1, "/src/src-dogs/package.json": 1, "/src/src-dogs/node_modules/src-types/package.json": 1, "/src/src-dogs/node_modules/src-types/index.ts": 1, + "/src/src-types/index.ts": 1, + "/src/src-dogs/dogconfig.ts": 1, + "/src/src-dogs/lassie/lassiedog.ts": 1, "/src/src-dogs/lassie/package.json": 1, - "/src/src-dogs/dogconfig.d.ts": 1 + "/src/src-dogs/dog.ts": 1, + "/src/src-dogs/lassie/lassieconfig.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 9ee3b4c47f95c..b86a8a7aacceb 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -138,15 +138,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/solution/common/nominal.ts": 1, - "/src/solution/sub-project/index.ts": 1, - "/src/solution/sub-project-2/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, "/src/solution/common/nominal.ts": 1, "/src/lib/solution/common/nominal.js": 1, "/src/lib/solution/common/nominal.d.ts": 1, @@ -158,6 +149,14 @@ fileExists:: { "/src/lib/solution/sub-project-2/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/tsconfig.base.json": 3, + "/src/solution/common/nominal.ts": 1, + "/src/solution/sub-project/index.ts": 1 +} + directoryExists:: { "/src/solution/common/node_modules/@types": 1, "/src/solution/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index 0cce598dc2982..a811e35c033d8 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -73,16 +73,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -212,16 +210,14 @@ No shapes updated in the builder:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -262,16 +258,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -378,15 +372,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js index 550735fd73f14..6e6f076d03f4f 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js @@ -73,16 +73,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -133,16 +131,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -189,16 +185,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -247,14 +241,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index f4151202f8d11..d183522083a65 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -67,16 +67,14 @@ No shapes updated in the builder:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -119,16 +117,14 @@ No shapes updated in the builder:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -177,16 +173,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -299,15 +293,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js index ee87c9511233c..f812b7b750183 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js @@ -67,16 +67,14 @@ No shapes updated in the builder:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -119,16 +117,14 @@ No shapes updated in the builder:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -177,16 +173,14 @@ Shape signatures in builder refreshed for:: getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, - "/src/src/other.ts": 1 + "/src/src/other.ts": 1, + "/src/dev-build/shared/types/db.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/shared/types/db.ts": 1 } directoryExists:: { @@ -237,14 +231,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 8b2519a42a68d..3c0c32b184aa5 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -151,17 +151,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -176,6 +165,10 @@ fileExists:: { "/src/third/third_part1.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/first/node_modules/@types": 1, "/src/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 0c58f1de717aa..967a462769478 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -154,26 +154,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -651,23 +651,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1 } directoryExists:: { @@ -853,24 +839,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index f2646bdaf23cb..0d776c382d45d 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -154,26 +154,24 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index d21b2bcfc6346..e05d9dbfb965d 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -557,6 +557,7 @@ getModifiedTime:: { "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts": 3, "/src/first/bin/first-output.d.ts.map": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -582,27 +583,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.js.map": 1, - "/src/first/bin/first-output.d.ts": 2, - "/src/first/bin/first-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 4d6326d4da095..eebcc6c9e84b9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -174,26 +174,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -1979,6 +1979,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -1990,7 +1991,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1998,24 +1999,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3374,24 +3362,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 075f49d3378db..1bcd603534676 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -152,26 +152,24 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 57ac5dd61dbff..1ca69c5c1860c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -180,26 +180,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2760,6 +2760,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2771,7 +2772,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2779,24 +2780,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -4758,24 +4746,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -6311,24 +6285,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 5a0705353e68c..c4134a1cf0ac8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -156,26 +156,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2385,24 +2385,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3585,24 +3571,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index a426edf10c796..7487ebd017151 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -176,26 +176,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -1978,6 +1978,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -1989,7 +1990,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1997,24 +1998,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3359,24 +3347,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 1054bdd19729e..21bbe1f588b28 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -172,26 +172,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3984,24 +3984,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -6242,24 +6228,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 414131bff3482..37ced5c5475ba 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -162,26 +162,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3019,24 +3019,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -4669,24 +4655,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index e9b5a6a6c73c7..fffc4aaa3614b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -179,26 +179,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2293,6 +2293,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2304,7 +2305,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2312,24 +2313,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3888,24 +3876,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5114,24 +5088,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 07931334bf143..fdb686b42502b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -156,26 +156,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2173,24 +2173,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3297,24 +3283,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 05e40070fdb4c..357ce36c89b13 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -178,26 +178,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2008,6 +2008,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2019,7 +2020,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2027,24 +2028,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3422,24 +3410,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index b3a3224bccc2b..397cc6c579fc8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -155,26 +155,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -1979,24 +1979,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 6ece74f421f9b..97694b6ec83b2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -174,26 +174,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2069,6 +2069,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2080,7 +2081,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2088,24 +2089,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3524,24 +3512,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -4616,24 +4590,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index b33b0c067281e..c90b1d48d04c6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -154,26 +154,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2007,24 +2007,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -3028,24 +3014,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index f13c03febc4ad..eb9a2894012d1 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -182,26 +182,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 2aaf7b0a3948d..0a9f08f45b62d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -181,26 +181,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5781,24 +5781,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -10169,24 +10157,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 2a4d0e400daf6..12533657a184f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -180,26 +180,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5484,24 +5484,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -7868,24 +7854,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 343d827bf3b90..5af4a59331f63 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -181,26 +181,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -6123,24 +6123,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index a61b038038374..7790f9f0f8c43 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -180,26 +180,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5820,24 +5820,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 90ad89eabd7e2..208310aae5020 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -177,26 +177,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index c39ee2ca3a966..cc826d04a800f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -201,26 +201,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5792,17 +5792,18 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 3, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5810,24 +5811,12 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -11430,24 +11419,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -15840,24 +15817,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 9dd5372ce1b8a..d0ea2f610630d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -95,18 +95,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/first_PART1.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index a8e57fc828638..fdfd93ab3aa55 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -181,26 +181,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5981,24 +5981,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -10569,24 +10557,12 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 22ce19fcb9437..60f9a2ef979d6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -180,26 +180,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5684,24 +5684,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -8168,24 +8154,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index f4549bdfa62f5..234aa6e420df4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -200,26 +200,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -5497,6 +5497,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -5508,7 +5509,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5516,24 +5517,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -8288,24 +8276,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -10694,24 +10668,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 74e7ff565dc2f..40247ac90e5e9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -192,28 +192,27 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2334,6 +2333,7 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, @@ -2346,7 +2346,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 3, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2354,25 +2354,11 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -4000,25 +3986,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 69cc61f306e08..7f32e73b38d0e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -159,28 +159,27 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -2105,25 +2104,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 45be613f950e2..42eec671ab158 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -154,26 +154,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 3c1d3ac3eaf93..b8ee9d7a9887e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -154,26 +154,24 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1 } directoryExists:: { @@ -1802,23 +1800,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index df80a93c8950b..f42e209e668d2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -155,26 +155,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 301c5d76dd2d3..54dddca8568d1 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -152,26 +152,26 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/third_part1.ts": 1 + "/src/2/second-output.js": 1, + "/src/2/second-output.d.ts": 1, + "/src/third/third_part1.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 3, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 3, - "/src/2/second-output.d.ts": 2, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.d.ts": 2 + "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 2, + "/src/2/second-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { @@ -1864,24 +1864,10 @@ setModifiedTime:: { } fileExists:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 2, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 2, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/third/thirdjs/output/third-output.js": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index c1db9c1ce63fb..7998396392c35 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -34,17 +34,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/src/index.ts": 1, "/src/dist/src/index.js": 1, "/src/dist/src/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/node_modules/@types": 1, "/node_modules/@types": 1 @@ -123,12 +121,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1, - "/src/dist/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index aefeec1cb810b..c125f7ffb0b7e 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -34,15 +34,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -80,10 +78,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index f1efb7c5d67f8..37643cc669ab6 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -45,16 +45,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, - "/src/types/type.ts": 1 + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -88,16 +85,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, - "/src/types/type.ts": 1 + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js index 34cdd48e32d17..0192b9d0e7d2a 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js @@ -45,16 +45,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, - "/src/types/type.ts": 1 + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -88,16 +85,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, - "/src/types/type.ts": 1 + "/src/types/type.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index 9ac4ebb72bbb7..030f746857cdb 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -34,15 +34,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/dist/index.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: { "/src/node_modules/@types": 1, @@ -80,10 +78,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 85f57dc9032fa..1ea52139d241d 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -61,21 +61,19 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/other/other.ts": 1, + "/src/dist/other/other.js": 1, + "/src/dist/other/other.d.ts": 1, "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 + "/src/src/main/b.ts": 1, + "/src/dist/main/a.js": 1, + "/src/dist/main/b.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 2, - "/src/src/other/other.ts": 1, - "/src/dist/other/other.js": 1, - "/src/dist/other/other.d.ts": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, - "/src/dist/main/a.js": 1, - "/src/dist/main/b.d.ts": 1 + "/src/src/main/b.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 78c87513dbc1f..0316bedf02d3e 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -81,20 +81,18 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, + "/src/dist/other.js": 1, + "/src/dist/other.d.ts": 1, "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 + "/src/src/main/b.ts": 1, + "/src/dist/a.js": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 2, - "/src/src/other/other.ts": 1, - "/src/dist/other.js": 1, - "/src/dist/other.d.ts": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1 + "/src/src/main/b.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index bf95135407fa2..7b436b1770f3c 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -74,19 +74,17 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, + "/src/dist/other.js": 1, + "/src/dist/other.d.ts": 1, "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 + "/src/src/main/b.ts": 1, + "/src/dist/a.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/other/other.ts": 1, - "/src/dist/other.js": 1, - "/src/dist/other.d.ts": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1 + "/src/src/main/b.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 750304ae4dbb8..43f88ffcc6e22 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -65,14 +65,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/other/other.ts": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/src/other/other.ts": 1, "/src/dist/other.js": 1, "/src/dist/other.d.ts": 1, @@ -82,6 +74,12 @@ fileExists:: { "/src/dist/b.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/src/main/b.ts": 1 +} + directoryExists:: { "/src/src/other/node_modules/@types": 1, "/src/src/node_modules/@types": 2, diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 581da7a937872..66acc86041fa2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -117,21 +117,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/src/hello.json": 1 + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, "/src/src/hello.json.js": 1, "/src/src/hello.json.jsx": 1, - "/src/dist/src/index.d.ts": 1 + "/src/src/hello.json": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 157d5eb7af5ee..27e2440abd900 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -98,23 +98,22 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/strings/foo.json": 1, - "/src/main/index.ts": 1 + "/src/strings/tsconfig.tsbuildinfo": 1, + "/src/main/index.ts": 1, + "/src/main/index.js": 1, + "/src/main/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { "/src/tsconfig.json": 2, - "/src/strings/foo.json": 1, - "/src/strings/tsconfig.tsbuildinfo": 1, - "/src/main/index.ts": 1, - "/src/main/index.js": 1, "/src/strings/foo.json.ts": 1, "/src/strings/foo.json.tsx": 1, "/src/strings/foo.json.d.ts": 1, "/src/strings/foo.json.js": 1, "/src/strings/foo.json.jsx": 1, - "/src/main/index.d.ts": 1 + "/src/strings/foo.json": 1 } directoryExists:: { @@ -267,13 +266,7 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/tsconfig.json": 2, - "/src/strings/foo.json": 1, - "/src/strings/tsconfig.tsbuildinfo": 1, - "/src/main/index.ts": 1, - "/src/main/index.js": 1, - "/src/main/index.d.ts": 1, - "/src/main/tsconfig.tsbuildinfo": 1 + "/src/tsconfig.json": 2 } directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 3e3a87857092a..9a360818ed08e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -117,21 +117,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/hello.json": 1, - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/dist/src/hello.json": 1, + "/src/dist/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/hello.json": 1, - "/src/src/index.ts": 1, - "/src/dist/src/hello.json": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, "/src/src/hello.json.js": 1, "/src/src/hello.json.jsx": 1, - "/src/dist/src/index.d.ts": 1 + "/src/src/hello.json": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 1e97d42eb766c..8182bbf8df823 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -115,21 +115,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/src/index.json": 1 + "/src/src/index.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/src/index.json": 1, - "/src/dist/src/index.js": 1, "/src/src/index.json.ts": 1, "/src/src/index.json.tsx": 1, "/src/src/index.json.d.ts": 1, "/src/src/index.json.js": 1, "/src/src/index.json.jsx": 1, - "/src/dist/src/index.d.ts": 1 + "/src/src/index.json": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 2f1283abecc5d..1f15f070538e8 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -117,21 +117,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/src/hello.json": 1 + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, "/src/src/hello.json.js": 1, "/src/src/hello.json.jsx": 1, - "/src/dist/src/index.d.ts": 1 + "/src/src/hello.json": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 847aa41108ae3..73f209c0aa2c9 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -123,14 +123,13 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/src/index.ts": 1 + "/src/src/index.ts": 1, + "/src/dist/src/index.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index eeac1647d0d25..028fc9ffcf999 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -117,21 +117,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/src/hello.json": 1 + "/src/src/hello.json": 1, + "/src/dist/src/index.js": 1, + "/src/dist/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, "/src/src/hello.json.js": 1, "/src/src/hello.json.jsx": 1, - "/src/dist/src/index.d.ts": 1 + "/src/src/hello.json": 1 } directoryExists:: { @@ -250,15 +249,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.js.map": 1, - "/src/dist/src/index.d.ts": 1, - "/src/dist/src/hello.json": 1, - "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 2cf5ea74758b6..e195c7945720d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -110,21 +110,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/src/hello.json": 1 + "/src/src/hello.json": 1, + "/src/src/index.js": 1, + "/src/src/index.d.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/src/index.js": 1, "/src/src/hello.json.ts": 1, "/src/src/hello.json.tsx": 1, "/src/src/hello.json.d.ts": 1, "/src/src/hello.json.js": 1, "/src/src/hello.json.jsx": 1, - "/src/src/index.d.ts": 1 + "/src/src/hello.json": 1 } directoryExists:: { @@ -230,13 +229,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/src/index.js": 1, - "/src/src/index.d.ts": 1, - "/src/tsconfig_withFiles.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 51cdb0d984629..c73748c18460e 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -114,24 +114,27 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.json": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, + "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, + "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -427,11 +430,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.json": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -439,15 +447,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index e422e1d930b0a..80c244d79ae34 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -187,11 +187,6 @@ export declare function multiply(a: number, b: number): number; fileExists:: { - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/some_decl.d.ts": 1, - "/user/username/projects/core/anothermodule.js": 1, - "/user/username/projects/core/anothermodule.d.ts": 1, "/user/username/projects/core/tsconfig.tsbuildinfo": 1 } @@ -206,7 +201,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/some_decl.d.ts": 1 + "/user/username/projects/core/some_decl.d.ts": 1, + "/user/username/projects/core/anothermodule.js": 1, + "/user/username/projects/core/anothermodule.d.ts": 1 } setModifiedTimes:: {} @@ -306,9 +303,8 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, - "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } @@ -322,7 +318,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1 + "/user/username/projects/logic/index.ts": 1, + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1 } setModifiedTimes:: {} @@ -430,9 +428,7 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1, - "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/logic/index.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } @@ -447,7 +443,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/tests/index.ts": 1 + "/user/username/projects/tests/index.ts": 1, + "/user/username/projects/tests/index.js": 1, + "/user/username/projects/tests/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index ea9ee20f2736d..19b75b80fadc2 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -102,16 +102,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -125,6 +115,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index be44b5c8c3594..f9adeb5c9d293 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -102,16 +102,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -125,6 +115,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 73d629576d57a..326e69e0cb4e7 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -121,14 +121,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -136,6 +128,10 @@ fileExists:: { "/src/core/anotherModule.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 9c5d11fca49e7..a9f3187e015d9 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -424,27 +424,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} @@ -494,31 +474,13 @@ getModifiedTime:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/index.js": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/src/tests/node_modules/@types": 1, @@ -641,22 +603,7 @@ setModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1 } -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, @@ -799,27 +746,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/tests/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 5eb353daaccdd..8368cf98e5e09 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -142,22 +142,19 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 + "/src/logic/index.js": 1, + "/src/tests/index.ts": 1, + "/src/tests/index.js": 1 } setModifiedTime:: {} fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/core/anotherModule.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index 84768af88ea24..6bacc816a5eab 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -120,16 +120,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -140,6 +130,10 @@ fileExists:: { "/src/tests/index.js": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index ed5bc25ea2832..f87e590c5be30 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -163,16 +163,6 @@ src/tests/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -186,6 +176,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -543,6 +541,7 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, @@ -562,20 +561,9 @@ setModifiedTime:: { } fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { @@ -901,22 +889,7 @@ setModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1 } -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 6ebb515987f99..9da721c288036 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -419,27 +419,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 22e5519dfd87d..b3ac70e0fedbe 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -363,19 +363,11 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/some_decl.d.ts": 1, - "/user/username/projects/core/anothermodule.js": 1, - "/user/username/projects/core/anothermodule.d.ts": 1, "/user/username/projects/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, - "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/core/index.ts": 1, + "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1, - "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/logic/index.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } @@ -395,8 +387,14 @@ getModifiedTimes:: { "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/some_decl.d.ts": 1, + "/user/username/projects/core/anothermodule.js": 1, + "/user/username/projects/core/anothermodule.d.ts": 1, "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/tests/index.ts": 1 + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1, + "/user/username/projects/tests/index.ts": 1, + "/user/username/projects/tests/index.js": 1, + "/user/username/projects/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -502,11 +500,8 @@ function foo() { } fileExists:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/index.d.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } @@ -661,11 +656,8 @@ export declare class cNew { fileExists:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/index.d.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } @@ -680,7 +672,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1 + "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/index.d.ts": 1 } setModifiedTimes:: {} @@ -773,7 +766,7 @@ Output:: fileExists:: { - "/user/username/projects/tests/index.d.ts": 1, + "/user/username/projects/logic/index.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index b626d97494db8..c73080e2bc0fe 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -128,16 +128,6 @@ TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -151,6 +141,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -468,6 +466,7 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, @@ -487,20 +486,9 @@ setModifiedTime:: { } fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { @@ -803,22 +791,7 @@ setModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1 } -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 89cbe897f5456..33514df41f884 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -127,16 +127,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -150,6 +140,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -469,6 +467,7 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, @@ -488,20 +487,9 @@ setModifiedTime:: { } fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { @@ -804,22 +792,7 @@ setModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1 } -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 2c2cd13f54f37..243399324ed93 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -404,11 +404,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.json": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -416,15 +421,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index b15f61c1c31fe..e860015f3b494 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -134,17 +134,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tests/tsconfig.base.json": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -158,6 +147,15 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/tests/tsconfig.base.json": 1, + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -499,25 +497,9 @@ setModifiedTime:: {} fileExists:: { "/src/tests/tsconfig.base.json": 1, - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index db0e7b93a2285..8bacc65557f76 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -146,16 +146,6 @@ readFiles:: { "/src/logic/index.d.ts": 1 } getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -169,6 +159,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -785,6 +783,7 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, + "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, @@ -804,20 +803,9 @@ setModifiedTime:: { } fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { @@ -1282,22 +1270,7 @@ setModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1 } -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, @@ -1455,6 +1428,7 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, + "/src/logic/decls/index.d.ts": 2, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, "/src/tests/index.d.ts": 3, @@ -1464,24 +1438,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 } directoryExists:: { @@ -1710,27 +1669,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index b1fdffdd71f03..b01ff3b097b69 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -121,17 +121,13 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1 + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, @@ -235,18 +231,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 + "/src/core/anotherModule.js": 1, + "/src/core/anotherModule.d.ts": 2 } setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 1919ed4219e88..8c077cc569b38 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -132,16 +132,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -155,6 +145,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, @@ -507,25 +505,9 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/core/anotherModule.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index e58d1abf39e13..88538d5e4170f 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -147,16 +147,6 @@ readFiles:: { "/src/logic/index.d.ts": 1 } getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, @@ -170,6 +160,14 @@ fileExists:: { "/src/tests/index.d.ts": 1 } +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, + "/src/logic/index.ts": 1 +} + directoryExists:: { "/src/core/node_modules/@types": 1, "/src/node_modules/@types": 3, diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index cd304a9480d4b..9b9f873777e92 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -121,17 +121,13 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1 + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, @@ -243,14 +239,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.js": 1, - "/src/core/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 1be3666bf7357..994c35a14ab8e 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -139,17 +139,13 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1 + "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.js": 1 } setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, @@ -270,14 +266,7 @@ getModifiedTime:: { setModifiedTime:: {} -fileExists:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.js": 1, - "/src/core/tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/src/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 08a4ffa90bb4e..eb89cded11453 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -71,21 +71,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1, "/src/b.ts": 1, - "/src/c.ts": 1 + "/src/b.js": 1, + "/src/b.d.ts": 1, + "/src/c.ts": 1, + "/src/c.js": 1 } setModifiedTime:: {} fileExists:: { "/src/a.ts": 1, - "/src/a.js": 1, - "/src/a.d.ts": 1, "/src/b.ts": 1, - "/src/b.js": 1, - "/src/b.d.ts": 1, - "/src/c.ts": 1, - "/src/c.js": 1, "/src/refs/a.ts": 1, "/src/refs/a.tsx": 1, "/src/refs/a.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index ace86478a5c3a..b0e82def67e59 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -83,21 +83,20 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, + "/src/a.js": 1, + "/src/a.d.ts": 1, "/src/b.ts": 1, - "/src/c.ts": 1 + "/src/b.js": 1, + "/src/b.d.ts": 1, + "/src/c.ts": 1, + "/src/c.js": 1 } setModifiedTime:: {} fileExists:: { "/src/a.ts": 1, - "/src/a.js": 1, - "/src/a.d.ts": 1, "/src/b.ts": 1, - "/src/b.js": 1, - "/src/b.d.ts": 1, - "/src/c.ts": 1, - "/src/c.js": 1, "/src/refs/a.ts": 1, "/src/refs/a.tsx": 1, "/src/refs/a.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index ae95f492e6a74..fa916e549f5eb 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -72,14 +72,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/c.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { "/src/a.ts": 1, "/src/a.js": 1, "/src/a.d.ts": 1, @@ -89,6 +81,10 @@ fileExists:: { "/src/c.js": 1 } +setModifiedTime:: {} + +fileExists:: {} + directoryExists:: { "/src/node_modules/@types": 2, "/node_modules/@types": 2, diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index d3e1babce503b..2c33027f16c10 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -79,11 +79,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -95,7 +91,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 } setModifiedTimes:: {} @@ -164,11 +161,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -180,7 +173,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 } setModifiedTimes:: {} @@ -240,11 +234,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -256,7 +246,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 } setModifiedTimes:: {} @@ -314,11 +305,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -330,7 +317,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1 } setModifiedTimes:: {} @@ -457,12 +445,7 @@ export declare function bar(): void; } -fileExists:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/a.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -474,7 +457,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/a.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 82e53f7211ed2..80708bc621753 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -423,8 +423,6 @@ exitCode:: ExitStatus.undefined fileExists:: { "/user/username/projects/demo/tsconfig-base.json": 3, - "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, "/user/username/projects/demo/animals.ts": 1, "/user/username/projects/demo/animals.tsx": 1, "/user/username/projects/demo/animals.d.ts": 1, @@ -432,9 +430,7 @@ fileExists:: { "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1, - "/user/username/projects/demo/lib/zoo/zoo.js": 1 + "/user/username/projects/demo/core/utilities.ts": 1 } directoryExists:: { @@ -453,10 +449,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1 + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1, + "/user/username/projects/demo/lib/zoo/zoo.js": 1 } setModifiedTimes:: {} @@ -736,15 +735,14 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, "/user/username/projects/demo/animals.ts": 1, "/user/username/projects/demo/animals.tsx": 1, "/user/username/projects/demo/animals.d.ts": 1, "/user/username/projects/demo/animals/package.json": 1, "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1 + "/user/username/projects/demo/animals/dog.ts": 1, + "/user/username/projects/demo/core/utilities.ts": 1 } directoryExists:: { @@ -760,7 +758,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/core/utilities.ts": 1 + "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 5238c3f189395..8115c7316e99e 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -685,18 +685,11 @@ export declare function createZoo(): Array; fileExists:: { "/user/username/projects/demo/tsconfig-base.json": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, - "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/lib/animals/animal.d.ts": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1, - "/user/username/projects/demo/lib/zoo/zoo.js": 1, - "/user/username/projects/demo/lib/zoo/zoo.d.ts": 1 + "/user/username/projects/demo/animals/dog.ts": 1 } directoryExists:: { @@ -719,10 +712,16 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1 + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/lib/animals/animal.d.ts": 1, + "/user/username/projects/demo/zoo/zoo.ts": 1, + "/user/username/projects/demo/lib/zoo/zoo.js": 1, + "/user/username/projects/demo/lib/zoo/zoo.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index b26800259f5e2..d98ce95ced293 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -279,16 +279,10 @@ exports.theNum = 42; fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/other.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, "/user/username/projects/myproject/packages/pkg2/const.js.ts": 1, "/user/username/projects/myproject/packages/pkg2/const.js.tsx": 1, "/user/username/projects/myproject/packages/pkg2/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 2, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, @@ -305,7 +299,8 @@ fileExists:: { "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 } directoryExists:: { @@ -332,7 +327,10 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/other.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } setModifiedTimes:: {} @@ -438,8 +436,6 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, @@ -588,8 +584,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents fileExists:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index ccc82f5a64fd7..6af5fa96ba8cc 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -270,16 +270,11 @@ export const theNum = 42; fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/a/lib/package.json": 1, "/a/package.json": 1, "/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 2, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, @@ -288,7 +283,8 @@ fileExists:: { "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 } directoryExists:: { @@ -317,7 +313,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, + "/user/username/projects/myproject/packages/pkg1/index.ts": 1, + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } setModifiedTimes:: {} @@ -451,8 +450,6 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, @@ -622,8 +619,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents fileExists:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, @@ -797,8 +792,6 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, "/user/username/projects/myproject/node_modules/pkg2.ts": 1, @@ -1016,16 +1009,13 @@ export type { TheNum } from './const.cjs'; fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/index.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, "/user/username/projects/myproject/packages/pkg2/const.cjs.ts": 1, "/user/username/projects/myproject/packages/pkg2/const.cjs.tsx": 1, "/user/username/projects/myproject/packages/pkg2/const.cjs.d.ts": 1, + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/a/lib/package.json": 1, "/a/package.json": 1, - "/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.cts": 1 + "/package.json": 1 } directoryExists:: { @@ -1046,6 +1036,7 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.cts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/build/index.d.cts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index bb4f7a3f35a81..e6d67eba64e16 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -280,8 +280,6 @@ export {}; fileExists:: { - "/user/username/projects/myproject/project1/index.ts": 1, - "/user/username/projects/myproject/project1/index.js": 1, "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, "/user/username/projects/myproject/project1/node_modules/file.ts": 1, "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, @@ -293,13 +291,9 @@ fileExists:: { "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1, - "/user/username/projects/myproject/project1/index.d.ts": 1, - "/user/username/projects/myproject/project2/index.ts": 1, - "/user/username/projects/myproject/project2/index.js": 1, "/user/username/projects/myproject/project2/file.ts": 1, "/user/username/projects/myproject/project2/file.tsx": 1, - "/user/username/projects/myproject/project2/file.d.ts": 1, - "/user/username/projects/myproject/project2/index.d.ts": 1 + "/user/username/projects/myproject/project2/file.d.ts": 1 } directoryExists:: { @@ -319,7 +313,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/project1/index.ts": 1, - "/user/username/projects/myproject/project2/index.ts": 1 + "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/index.d.ts": 1, + "/user/username/projects/myproject/project2/index.ts": 1, + "/user/username/projects/myproject/project2/index.js": 1, + "/user/username/projects/myproject/project2/index.d.ts": 1 } setModifiedTimes:: {} @@ -465,8 +463,6 @@ var bar = 10; fileExists:: { - "/user/username/projects/myproject/project1/index.ts": 1, - "/user/username/projects/myproject/project1/index.js": 1, "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, "/user/username/projects/myproject/project1/node_modules/file.ts": 1, "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, @@ -477,8 +473,7 @@ fileExists:: { "/user/username/projects/myproject/node_modules/@types/foo/package.json": 1, "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1, - "/user/username/projects/myproject/project1/index.d.ts": 1 + "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index bb511b440da26..2e148541a67db 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -131,10 +131,7 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -205,11 +202,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -221,7 +214,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 } setModifiedTimes:: {} @@ -336,11 +330,7 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -352,7 +342,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 1edec88cc76aa..dbfdfb3f33fda 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -83,10 +83,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -157,11 +154,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -173,7 +166,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 } setModifiedTimes:: {} @@ -239,11 +233,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -255,7 +245,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/b.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 9ff7fc4cabccd..f44063edcedfb 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -101,10 +101,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -119,7 +116,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -187,10 +185,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -205,7 +200,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -357,10 +353,7 @@ console.log("hi"); fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -380,7 +373,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -528,10 +522,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -615,10 +606,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -769,10 +757,7 @@ var a = "hello"; fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -860,10 +845,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index 6a6a094943571..cf624e5ccbc7a 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -101,10 +101,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -119,7 +116,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -187,10 +185,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -205,7 +200,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -300,10 +296,7 @@ console.log("hi"); fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -323,7 +316,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1 + "/user/username/projects/noemitonerror/src/other.ts": 1, + "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } setModifiedTimes:: {} @@ -396,10 +390,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -483,10 +474,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -580,10 +568,7 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { @@ -670,10 +655,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index f8b1d635eb0fb..835d8d1b4aa9a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -476,16 +476,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -504,8 +497,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 2a03dbde6fc80..e89136ce2d95c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -493,16 +493,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -521,8 +514,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -697,11 +696,8 @@ function someFn() { } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -1002,12 +998,9 @@ export declare function someFn(): void; fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -1025,6 +1018,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 558100169a1c7..fecae1408b424 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -155,12 +155,7 @@ export declare class myClass { } -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -173,7 +168,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 } setModifiedTimes:: {} @@ -240,11 +237,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -322,11 +315,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index a9f2d5538b673..b765e6df948e1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -155,12 +155,7 @@ export declare class myClass { } -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -173,7 +168,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 } setModifiedTimes:: {} @@ -240,11 +237,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -326,12 +319,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index a36b3933d516a..047ea5d16d87c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -82,11 +82,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -99,7 +95,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} @@ -163,11 +160,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -180,7 +173,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 25eb727a444b6..1711d203ccfe7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -82,11 +82,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -99,7 +95,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} @@ -239,12 +236,7 @@ export declare class myClass { } -fileExists:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/solution/app/node_modules/@types": 1, @@ -257,7 +249,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1 + "/user/username/projects/solution/app/filewithouterror.ts": 1, + "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/filewitherror.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 2a5d2ed2de9ac..11c87d0db4823 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -476,16 +476,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -504,8 +497,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -674,8 +673,6 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } @@ -837,11 +834,7 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index a1e0582de494f..0b864c43cfc17 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -475,16 +475,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -503,8 +496,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -672,8 +671,6 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } @@ -834,11 +831,7 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 6b83b714b29db..9ea42e1e8ab58 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -155,12 +155,7 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -175,7 +170,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1 } setModifiedTimes:: {} @@ -345,13 +342,7 @@ export declare const y = 10; -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/file3.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -367,6 +358,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, + "/user/username/projects/sample1/core/outdir/file3.d.ts": 1, "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/outdir/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 8c74aebafe017..1afaacf6f5596 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -170,12 +170,7 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -188,7 +183,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } setModifiedTimes:: {} @@ -365,13 +362,7 @@ export declare const y = 10; //# sourceMappingURL=file3.d.ts.map -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/file3.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -387,6 +378,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/file3.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 7f0788a578e30..e125d7701f0c4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -350,13 +350,8 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -373,7 +368,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 3546e050e157e..11232a29f3fc9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -206,14 +206,7 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -227,7 +220,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} @@ -404,11 +400,8 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -422,7 +415,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } setModifiedTimes:: {} @@ -594,9 +589,7 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -611,7 +604,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index a804d676951ef..a87bbb7305cbd 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -171,11 +171,7 @@ var library_1 = require("../Library/library"); fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1, - "/user/username/projects/sample1/app/app.ts": 1, - "/user/username/projects/sample1/app/app.js": 1 + "/user/username/projects/sample1/library/library.ts": 1 } directoryExists:: { @@ -191,7 +187,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/app/app.ts": 1 + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1, + "/user/username/projects/sample1/app/app.ts": 1, + "/user/username/projects/sample1/app/app.js": 1 } setModifiedTimes:: {} @@ -346,9 +345,7 @@ export {}; fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1 + "/user/username/projects/sample1/library/library.ts": 1 } directoryExists:: { @@ -364,7 +361,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1 + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1 } setModifiedTimes:: {} @@ -510,9 +508,7 @@ export {}; //// [/user/username/projects/sample1/App/app.js] file written with same contents fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1 + "/user/username/projects/sample1/library/library.ts": 1 } directoryExists:: { @@ -528,7 +524,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1 + "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/library.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 3946cca56543d..4d18a689a2278 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -243,12 +243,10 @@ declare function bar(): number; fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 3, - "/user/username/projects/sample1/core/index.d.ts": 2, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 2, - "/user/username/projects/sample1/logic/index.d.ts": 2 + "/user/username/projects/sample1/core/index.js": 2, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } directoryExists:: { @@ -263,7 +261,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } setModifiedTimes:: {} @@ -384,9 +386,8 @@ declare function myFunc(): number; fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 2, - "/user/username/projects/sample1/core/index.d.ts": 2 + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 } directoryExists:: { @@ -400,7 +401,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 1 + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 } setModifiedTimes:: {} @@ -560,8 +562,8 @@ declare function bar(): number; fileExists:: { "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 2, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } directoryExists:: { @@ -573,7 +575,9 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: {} +getModifiedTimes:: { + "/user/username/projects/sample1/logic/index.d.ts": 1 +} setModifiedTimes:: {} @@ -689,9 +693,8 @@ declare function myFunc(): number; fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 2, - "/user/username/projects/sample1/core/index.d.ts": 2 + "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 85c8307d4c8b7..9725514d6e2e5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -442,16 +442,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -470,8 +463,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -604,13 +603,7 @@ export declare const newFileConst = 30; -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -626,6 +619,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -697,7 +691,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} directoryExists:: { "/user/username/projects/sample1/core": 4, @@ -945,13 +942,7 @@ export declare class someClass2 { -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -967,6 +958,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -1038,7 +1030,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} directoryExists:: { "/user/username/projects/sample1/core": 4, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 8c50d4f0bca7e..cc7ff3f38ae5d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -442,16 +442,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -470,8 +463,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -611,12 +610,7 @@ export declare class someClass { } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -631,6 +625,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -769,7 +764,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -934,8 +930,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -1081,12 +1076,7 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -1101,6 +1091,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1239,7 +1230,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -1404,8 +1396,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -1569,12 +1560,7 @@ export declare class someClass2 { } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -1589,6 +1575,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1727,7 +1714,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -1892,8 +1880,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 3171b1d767721..9584c7d4f46db 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -442,16 +442,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -470,8 +463,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/logic/index.ts": 1, + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -599,12 +598,7 @@ function foo() { } } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 8a787900c6424..cb5e56eaf75a5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -476,16 +476,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -504,8 +497,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -645,13 +644,7 @@ export declare const newFileConst = 30; //# sourceMappingURL=newfile.d.ts.map -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -667,6 +660,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -740,7 +734,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} directoryExists:: { "/user/username/projects/sample1/core": 4, @@ -995,13 +992,7 @@ export declare class someClass2 { //# sourceMappingURL=newfile.d.ts.map -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -1017,6 +1008,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -1090,7 +1082,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} +fileExists:: { + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 +} directoryExists:: { "/user/username/projects/sample1/core": 4, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 386091d49bdb0..cc2483918fe9c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -476,16 +476,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -504,8 +497,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -651,12 +650,7 @@ export declare class someClass { } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -671,6 +665,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -810,7 +805,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -975,8 +971,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -1128,12 +1123,7 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -1148,6 +1138,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1287,7 +1278,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -1452,8 +1444,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -1623,12 +1614,7 @@ export declare class someClass2 { } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, @@ -1643,6 +1629,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1782,7 +1769,8 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } directoryExists:: { @@ -1947,8 +1935,7 @@ exitCode:: ExitStatus.undefined fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index f9d32c6c03147..09b6482f091e8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -476,16 +476,9 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } directoryExists:: { @@ -504,8 +497,14 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -637,12 +636,7 @@ function foo() { } } -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/sample1/core/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 205f7f1fd72d5..b9f81d26bfbde 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -235,14 +235,7 @@ declare let z: number; fileExists:: { "/a/b/alpha.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1 + "/a/b/bravo.tsconfig.json": 1 } directoryExists:: { @@ -254,7 +247,11 @@ directoryExists:: { getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, - "/a/b/other.ts": 1 + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index c210cce0fecb0..f6dbd155147c4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -71,10 +71,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/index.ts": 1, - "/user/username/projects/myproject/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -85,7 +82,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/index.ts": 1 + "/user/username/projects/myproject/index.ts": 1, + "/user/username/projects/myproject/index.js": 1 } setModifiedTimes:: {} @@ -145,10 +143,7 @@ var fn = function (a, b) { return b; }; -fileExists:: { - "/user/username/projects/myproject/index.ts": 1, - "/user/username/projects/myproject/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/node_modules/@types": 1, @@ -159,7 +154,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/index.ts": 1 + "/user/username/projects/myproject/index.ts": 1, + "/user/username/projects/myproject/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 3100db6d5ddd4..884a06e7f1768 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -224,14 +224,7 @@ declare let z: number; fileExists:: { "/a/b/alpha.tsconfig.json": 2, - "/a/b/bravo.tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1 + "/a/b/bravo.tsconfig.json": 1 } directoryExists:: { @@ -243,7 +236,11 @@ directoryExists:: { getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, - "/a/b/other.ts": 1 + "/a/b/commonfile1.js": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/other.ts": 1, + "/a/b/other.js": 1, + "/a/b/other.d.ts": 1 } setModifiedTimes:: {} @@ -320,14 +317,7 @@ exitCode:: ExitStatus.undefined fileExists:: { "/a/b/alpha.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 1, - "/a/b/project1.tsconfig.tsbuildinfo": 1 + "/a/b/bravo.tsconfig.json": 1 } directoryExists:: { @@ -418,12 +408,7 @@ exitCode:: ExitStatus.undefined //// [/a/b/other.d.ts] file changed its modified time //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1, - "/a/b/project2.tsconfig.tsbuildinfo": 1 -} +fileExists:: {} directoryExists:: { "/a/b/node_modules/@types": 1, @@ -517,11 +502,7 @@ exitCode:: ExitStatus.undefined fileExists:: { "/a/b/bravo.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1, - "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1, - "/a/b/project2.tsconfig.tsbuildinfo": 1 + "/a/b/alpha.tsconfig.json": 1 } directoryExists:: { @@ -633,13 +614,7 @@ var z = 0; fileExists:: { - "/a/b/alpha.tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/other.ts": 1, - "/a/b/commonfile1.js": 1, - "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1 + "/a/b/alpha.tsconfig.json": 1 } directoryExists:: { @@ -733,14 +708,7 @@ exitCode:: ExitStatus.undefined //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time fileExists:: { - "/a/b/alpha.tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 1, - "/a/b/project1.tsconfig.tsbuildinfo": 1 + "/a/b/alpha.tsconfig.json": 1 } directoryExists:: { @@ -837,10 +805,7 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile2.js] file changed its modified time //// [/a/b/other.js] file changed its modified time -fileExists:: { - "/a/b/other.ts": 1, - "/a/b/other.js": 1 -} +fileExists:: {} directoryExists:: { "/a/b/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index d74194bbfc180..2206cdf69cf64 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -252,14 +252,7 @@ export declare function f22(): void; } -fileExists:: { - "/user/username/projects/myproject/shared/index.ts": 1, - "/user/username/projects/myproject/shared/index.js": 1, - "/user/username/projects/myproject/shared/index.d.ts": 1, - "/user/username/projects/myproject/webpack/index.ts": 1, - "/user/username/projects/myproject/webpack/index.js": 1, - "/user/username/projects/myproject/webpack/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/shared/node_modules/@types": 1, @@ -273,7 +266,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/shared/index.ts": 1, - "/user/username/projects/myproject/webpack/index.ts": 1 + "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/index.d.ts": 1, + "/user/username/projects/myproject/webpack/index.ts": 1, + "/user/username/projects/myproject/webpack/index.js": 1, + "/user/username/projects/myproject/webpack/index.d.ts": 1 } setModifiedTimes:: {} @@ -437,11 +434,7 @@ export declare function f2(): void; //// [/user/username/projects/myproject/webpack/index.d.ts] file changed its modified time //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/myproject/shared/index.ts": 1, - "/user/username/projects/myproject/shared/index.js": 1, - "/user/username/projects/myproject/shared/index.d.ts": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/shared/node_modules/@types": 1, @@ -456,6 +449,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/shared/index.ts": 1, "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/index.d.ts": 1, "/user/username/projects/myproject/webpack/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 0c904925c5342..f07c185e6b0b9 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -261,16 +261,12 @@ exports.session = { fileExists:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1, - "/user/username/projects/reexport/src/main/index.ts": 1, - "/user/username/projects/reexport/out/main/index.js": 1, "/user/username/projects/reexport/src/pure.ts": 1, "/user/username/projects/reexport/src/pure.tsx": 1, "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1 + "/user/username/projects/reexport/src/pure/package.json": 1, + "/user/username/projects/reexport/src/pure/index.ts": 1 } directoryExists:: { @@ -293,7 +289,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/src/main/index.ts": 1 + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1, + "/user/username/projects/reexport/src/main/index.ts": 1, + "/user/username/projects/reexport/out/main/index.js": 1 } setModifiedTimes:: {} @@ -472,14 +471,12 @@ export interface Session { fileExists:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1, "/user/username/projects/reexport/src/pure.ts": 1, "/user/username/projects/reexport/src/pure.tsx": 1, "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1 + "/user/username/projects/reexport/src/pure/package.json": 1, + "/user/username/projects/reexport/src/pure/index.ts": 1 } directoryExists:: { @@ -498,7 +495,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1 + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1 } setModifiedTimes:: {} @@ -669,14 +667,12 @@ export interface Session { //// [/user/username/projects/reexport/out/main/index.js] file changed its modified time fileExists:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1, "/user/username/projects/reexport/src/pure.ts": 1, "/user/username/projects/reexport/src/pure.tsx": 1, "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1 + "/user/username/projects/reexport/src/pure/package.json": 1, + "/user/username/projects/reexport/src/pure/index.ts": 1 } directoryExists:: { @@ -695,7 +691,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1 + "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/session.d.ts": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 87d4cb0fb2df0..09d226a178a95 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -220,17 +220,7 @@ exports.pkg3 = 3; -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, @@ -247,9 +237,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.ts": 1, "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg0/index.js": 1, "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1 + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 } setModifiedTimes:: {} @@ -398,17 +392,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, @@ -620,15 +604,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index 61f126b1a9d00..c535af49f295c 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -223,17 +223,7 @@ exports.pkg3 = 3; -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, @@ -250,9 +240,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.ts": 1, "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/pkg0/index.js": 1, "/user/username/projects/myproject/pkg1/index.ts": 1, + "/user/username/projects/myproject/pkg1/index.js": 1, "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1 + "/user/username/projects/myproject/pkg2/index.js": 1, + "/user/username/projects/myproject/pkg3/index.ts": 1, + "/user/username/projects/myproject/pkg3/index.js": 1 } setModifiedTimes:: {} @@ -404,17 +398,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, @@ -630,15 +614,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time -fileExists:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} +fileExists:: {} directoryExists:: { "/user/username/projects/myproject/pkg0/node_modules/@types": 1, diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 4aeccd9cdfa2b..e3222b701ffe9 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -361,19 +361,11 @@ export declare const m: typeof mod; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, + "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -394,8 +386,14 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/index.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/tests/index.ts": 1, + "/user/username/projects/sample1/tests/index.js": 1, + "/user/username/projects/sample1/tests/index.d.ts": 1 } setModifiedTimes:: {} @@ -594,19 +592,8 @@ function foo() { } fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -830,19 +817,8 @@ export declare function gfoo(): void; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -869,7 +845,8 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/index.d.ts": 1 } setModifiedTimes:: {} @@ -1142,19 +1119,8 @@ export declare function gfoo(): void; fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/decls/index.d.ts": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/logic/decls": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -1184,7 +1150,8 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/decls/index.d.ts": 2 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 81e1354273e7e..3aa72e1beef14 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -169,24 +169,18 @@ a_1.X; fileExists:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.tsx": 1, "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.js": 1, "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/b.tsx": 1, "/user/username/projects/transitivereferences/b.d.ts": 1, "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/refs/a.ts": 1, "/user/username/projects/transitivereferences/refs/a.tsx": 1, "/user/username/projects/transitivereferences/refs/a.d.ts": 1 @@ -209,8 +203,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1 + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.js": 1 } setModifiedTimes:: {} @@ -424,17 +423,11 @@ export declare function gfoo(): void; fileExists:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.tsx": 1, "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 } @@ -456,7 +449,8 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1 + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 3657d296aa17e..a6c81bf05ce3a 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -169,24 +169,18 @@ a_1.X; fileExists:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.tsx": 1, "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.js": 1, "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/b.tsx": 1, "/user/username/projects/transitivereferences/b.d.ts": 1, "/user/username/projects/transitivereferences/b/package.json": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/refs/a.ts": 1, "/user/username/projects/transitivereferences/refs/a.tsx": 1, "/user/username/projects/transitivereferences/refs/a.d.ts": 1 @@ -209,8 +203,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, + "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1 + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/c/index.ts": 1, + "/user/username/projects/transitivereferences/c/index.js": 1 } setModifiedTimes:: {} @@ -424,17 +423,11 @@ export declare function gfoo(): void; fileExists:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.tsx": 1, "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 } @@ -456,7 +449,8 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1 + "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 14e0299f3c122..895ddd01e4066 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -193,16 +193,10 @@ a_1.X; fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c.ts": 1, - "/user/username/projects/transitivereferences/c.js": 1, + "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/refs/a.ts": 1, "/user/username/projects/transitivereferences/refs/a.tsx": 1, "/user/username/projects/transitivereferences/refs/a.d.ts": 1 @@ -220,8 +214,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/c.ts": 1 + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/c.ts": 1, + "/user/username/projects/transitivereferences/c.js": 1 } setModifiedTimes:: {} @@ -414,12 +413,6 @@ export declare function gfoo(): void; fileExists:: { "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1 } @@ -439,7 +432,8 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/tsconfig.a.json": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1 + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index d85f6c4bd53d6..5045c01d894aa 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -180,16 +180,10 @@ a_1.X; fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c.ts": 1, - "/user/username/projects/transitivereferences/c.js": 1, + "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/refs/a.ts": 1, "/user/username/projects/transitivereferences/refs/a.tsx": 1, "/user/username/projects/transitivereferences/refs/a.d.ts": 1 @@ -207,8 +201,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, + "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/c.ts": 1 + "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/b.d.ts": 1, + "/user/username/projects/transitivereferences/c.ts": 1, + "/user/username/projects/transitivereferences/c.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 41cc77c518963..39d6c7f2d69fb 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 2, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, "/user/username/projects/myproject/node_modules/b/package.json": 1, "/user/username/projects/myproject/node_modules/b.ts": 1, "/user/username/projects/myproject/node_modules/b.tsx": 1, @@ -193,7 +187,7 @@ fileExists:: { "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -222,7 +216,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1 + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index bd50c34ba5183..a4ab7547ec6c1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, "/user/username/projects/myproject/node_modules/b/package.json": 1, "/user/username/projects/myproject/node_modules/b.ts": 1, "/user/username/projects/myproject/node_modules/b.tsx": 1, @@ -192,7 +186,6 @@ fileExists:: { "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -221,7 +214,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1 + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 8d9b14a2a2c3e..041ad17a792ea 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 2, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, @@ -193,7 +187,7 @@ fileExists:: { "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -223,7 +217,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1 + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 1a99a8903046b..863c8913dccf3 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, @@ -192,7 +186,6 @@ fileExists:: { "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -222,7 +215,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1 + "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/index.ts": 1, + "/user/username/projects/myproject/packages/a/lib/index.js": 1, + "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 3b58a69858d98..37846351b1404 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -177,22 +177,16 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 2, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, "/user/username/projects/myproject/node_modules/b/package.json": 1, "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -224,7 +218,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1 + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index ae4257558544f..72862de2cbb20 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, "/user/username/projects/myproject/node_modules/b/package.json": 1, "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, @@ -191,7 +185,6 @@ fileExists:: { "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -223,7 +216,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1 + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 7e18c230bc06f..0055eafb3bec3 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -177,22 +177,16 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 2, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -224,7 +218,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1 + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 5a3fad3ce474e..f921824fb4df5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -177,13 +177,7 @@ export {}; fileExists:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, @@ -191,7 +185,6 @@ fileExists:: { "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } @@ -223,7 +216,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1 + "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, + "/user/username/projects/myproject/packages/a/src/test.ts": 1, + "/user/username/projects/myproject/packages/a/lib/test.js": 1, + "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 9eff28ca4c557..d715978c62513 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -315,16 +315,12 @@ export declare function createDog(): Dog; fileExists:: { "/user/username/projects/demo/tsconfig-base.json": 2, - "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, - "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/demo/animals/package.json": 1, + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/lib/animals/animal.d.ts": 1, "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 } @@ -346,9 +342,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, + "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1 + "/user/username/projects/demo/animals/index.ts": 1, + "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/lib/animals/animal.d.ts": 1 } setModifiedTimes:: {} From c8327da1f153f2a6ab0ccb9c75c0b675cb9c5c51 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 17 Mar 2022 14:09:34 -0700 Subject: [PATCH 18/64] Remove unnecessary getModifiedTime --- src/compiler/tsbuildPublic.ts | 3 +-- .../modules-and-globals-mixed-in-amd.js | 2 +- .../multiple-emitHelpers-in-all-projects.js | 4 +-- .../multiple-prologues-in-all-projects.js | 4 +-- .../shebang-in-all-projects.js | 2 +- .../amdModulesWithOut/stripInternal.js | 4 +-- .../triple-slash-refs-in-all-projects.js | 2 +- ...ter-initial-build-doesnt-build-anything.js | 6 ++--- ...rojects-and-concatenates-them-correctly.js | 4 +-- ...al-flag-changes-between-non-dts-changes.js | 8 +++--- ...-buildInfo-absence-results-in-new-build.js | 6 ++--- .../baseline-sectioned-sourcemaps.js | 8 +++--- .../emitHelpers-in-all-projects.js | 12 ++++----- ...tHelpers-in-only-one-dependency-project.js | 8 +++--- .../tsbuild/outfile-concat/explainFiles.js | 8 +++--- .../multiple-emitHelpers-in-all-projects.js | 8 +++--- ...tiple-emitHelpers-in-different-projects.js | 8 +++--- .../multiple-prologues-in-all-projects.js | 12 ++++----- ...ultiple-prologues-in-different-projects.js | 8 +++--- .../outfile-concat/shebang-in-all-projects.js | 8 +++--- .../shebang-in-only-one-dependency-project.js | 4 +-- .../outfile-concat/strict-in-all-projects.js | 12 ++++----- .../strict-in-one-dependency.js | 8 +++--- ...en-one-two-three-are-prepended-in-order.js | 8 +++--- .../stripInternal-jsdoc-style-comment.js | 8 +++--- ...en-one-two-three-are-prepended-in-order.js | 4 +-- ...-jsdoc-style-with-comments-emit-enabled.js | 4 +-- ...en-one-two-three-are-prepended-in-order.js | 12 ++++----- ...en-one-two-three-are-prepended-in-order.js | 8 +++--- ...tripInternal-with-comments-emit-enabled.js | 8 +++--- .../tsbuild/outfile-concat/stripInternal.js | 12 ++++----- .../triple-slash-refs-in-all-projects.js | 8 +++--- .../triple-slash-refs-in-one-project.js | 4 +-- ...t-composite-but-uses-project-references.js | 4 +-- ...-source-files-are-empty-in-the-own-file.js | 4 +-- ...otDir-is-not-specified-and-is-composite.js | 2 +- ...ting-json-module-from-project-reference.js | 2 +- .../tsbuild/resolveJsonModule/sourcemap.js | 2 +- .../resolveJsonModule/without-outDir.js | 2 +- .../can-detect-when-and-what-to-rebuild.js | 26 +++++++++---------- .../reference/tsbuild/sample1/explainFiles.js | 8 +++--- ...it-would-skip-builds-during-a-dry-build.js | 8 +++--- .../tsbuild/sample1/listEmittedFiles.js | 8 +++--- .../reference/tsbuild/sample1/listFiles.js | 8 +++--- ...uilds-when-extended-config-file-changes.js | 8 +++--- .../reference/tsbuild/sample1/sample.js | 22 ++++++++-------- .../when-esModuleInterop-option-changes.js | 8 +++--- .../works-with-extended-source-files.js | 12 ++++----- .../on-sample-project.js | 12 ++++----- ...-different-folders-with-no-files-clause.js | 2 +- ...nsitive-references-in-different-folders.js | 2 +- .../on-transitive-references.js | 2 +- 52 files changed, 183 insertions(+), 184 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 1aa25e592b2bd..9ce8fe1ff86ba 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1412,8 +1412,7 @@ namespace ts { // had its file touched but not had its contents changed - this allows us // to skip a downstream typecheck if (isDeclarationFileName(output)) { - const outputModifiedTime = getModifiedTime(host, output); - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputModifiedTime); + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); } } } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 750f7ad23a1dc..75cd107dc178e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -1013,7 +1013,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 2825d52af068a..a7e0ec31d579c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -2190,7 +2190,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 @@ -3842,7 +3842,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 67d3fdcc7c22a..ea056c0113a6e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -1299,7 +1299,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 @@ -2223,7 +2223,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 6eb7a7b34684f..ff85ae5bc9ec1 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -1035,7 +1035,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index ad9f5c50c0ba8..997afff3eb5c9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -4940,7 +4940,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 @@ -8781,7 +8781,7 @@ getModifiedTime:: { "/src/app/file4.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, + "/src/app/module.d.ts": 1, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index d80840518b383..b1ab035b17aba 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -1252,7 +1252,7 @@ getModifiedTime:: { "/src/app/tripleRef.d.ts": 1, "/src/app/module.js": 1, "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 3, + "/src/app/module.d.ts": 2, "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index a59d1ffc8ec8a..5e2fc60d8f5e4 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -289,17 +289,17 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/folder/index.ts": 1, "/src/src/folder/index.js": 1, - "/src/src/folder/index.d.ts": 2, + "/src/src/folder/index.d.ts": 1, "/src/src/folder/tsconfig.tsbuildinfo": 1, "/src/src/folder/tsconfig.json": 1, "/src/src/folder2/index.ts": 1, "/src/src/folder2/index.js": 1, - "/src/src/folder2/index.d.ts": 2, + "/src/src/folder2/index.d.ts": 1, "/src/src/folder2/tsconfig.tsbuildinfo": 1, "/src/src/folder2/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, + "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 9e1c25f87cf0c..868d5c8f05f9b 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -513,7 +513,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, "/src/common/common.js": 1, - "/src/common/common.d.ts": 2, + "/src/common/common.d.ts": 1, "/src/common/common.tsbuildinfo": 1, "/src/common/tsconfig.json": 1, "/src/tsconfig.base.json": 2, @@ -522,7 +522,7 @@ getModifiedTime:: { "/src/sub-project/sub-project.d.ts": 1, "/src/sub-project-2/index.js": 1, "/src/sub-project-2/sub-project-2.js": 1, - "/src/sub-project-2/sub-project-2.d.ts": 3, + "/src/sub-project-2/sub-project-2.d.ts": 2, "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, "/src/sub-project-2/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 967a462769478..b1b89638c8beb 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -636,14 +636,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/tsconfig.json": 1 } @@ -824,14 +824,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index e05d9dbfb965d..85c3b72640803 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -555,21 +555,21 @@ getModifiedTime:: { "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, - "/src/first/bin/first-output.d.ts": 3, + "/src/first/bin/first-output.d.ts": 2, "/src/first/bin/first-output.d.ts.map": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index eebcc6c9e84b9..ba02d0b52c3e3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -1984,14 +1984,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3343,14 +3343,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 1ca69c5c1860c..4d6aa36f66161 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -2765,14 +2765,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -4727,14 +4727,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -6267,14 +6267,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index c4134a1cf0ac8..0a5a153b9015e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -2366,14 +2366,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -3553,14 +3553,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 7487ebd017151..89dcd50758871 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -1983,14 +1983,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3328,14 +3328,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 21bbe1f588b28..667f9621d062d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -3965,14 +3965,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -6210,14 +6210,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 37ced5c5475ba..3667969a21827 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -3000,14 +3000,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -4637,14 +4637,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index fffc4aaa3614b..5b05d631ac58b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -2298,14 +2298,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3857,14 +3857,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -5070,14 +5070,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index fdb686b42502b..67cfa8511c592 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -2154,14 +2154,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -3265,14 +3265,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 357ce36c89b13..eca2ef77fab1a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -2013,14 +2013,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3391,14 +3391,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 397cc6c579fc8..664a980fbbc0c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -1960,14 +1960,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 97694b6ec83b2..5362598c8d9c2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -2074,14 +2074,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3493,14 +3493,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -4572,14 +4572,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index c90b1d48d04c6..44cf94f4d847a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -1988,14 +1988,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -2996,14 +2996,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 0a9f08f45b62d..24aa3462e4046 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -5760,14 +5760,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -10135,14 +10135,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 12533657a184f..653ae6648f665 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -5465,14 +5465,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -7835,14 +7835,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 5af4a59331f63..fda4a928a9efe 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -6102,14 +6102,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 7790f9f0f8c43..9f0a4e0c45fec 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -5801,14 +5801,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index cc826d04a800f..18594af41f58b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -5797,13 +5797,13 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -11398,14 +11398,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -15795,14 +15795,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index fdfd93ab3aa55..8357970860720 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -5960,14 +5960,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -10535,14 +10535,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 3, + "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 60f9a2ef979d6..341e7266a816d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -5665,14 +5665,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -8135,14 +8135,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 234aa6e420df4..82c6978e60597 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -5502,14 +5502,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -8257,14 +8257,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 @@ -10649,14 +10649,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 40247ac90e5e9..d967035988cb8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -2339,14 +2339,14 @@ getModifiedTime:: { "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3967,14 +3967,14 @@ getModifiedTime:: { "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 7f32e73b38d0e..fd2aa83093a40 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -2085,14 +2085,14 @@ getModifiedTime:: { "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index b8ee9d7a9887e..26f9c3683c64b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1785,14 +1785,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 54dddca8568d1..c490ea2523bd0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -1845,14 +1845,14 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 3, + "/src/third/thirdjs/output/third-output.d.ts": 2, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 7998396392c35..edcc12bbffbfa 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -114,7 +114,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 2, + "/src/dist/src/index.d.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 27e2440abd900..5845f1b888f1f 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -258,7 +258,7 @@ getModifiedTime:: { "/src/tsconfig.json": 2, "/src/main/index.ts": 1, "/src/main/index.js": 1, - "/src/main/index.d.ts": 2, + "/src/main/index.d.ts": 1, "/src/main/tsconfig.tsbuildinfo": 1, "/src/main/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 028fc9ffcf999..6594040b78375 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -241,7 +241,7 @@ getModifiedTime:: { "/src/src/hello.json": 1, "/src/dist/src/index.js": 1, "/src/dist/src/index.js.map": 1, - "/src/dist/src/index.d.ts": 2, + "/src/dist/src/index.d.ts": 1, "/src/dist/src/hello.json": 1, "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index e195c7945720d..fcf814abfcdba 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -222,7 +222,7 @@ getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, "/src/src/index.js": 1, - "/src/src/index.d.ts": 2, + "/src/src/index.d.ts": 1, "/src/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index a9f3187e015d9..4505d4decd4e2 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -402,22 +402,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, + "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } @@ -460,17 +460,17 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, @@ -580,12 +580,12 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } @@ -724,22 +724,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index f87e590c5be30..a9ff45c727c5a 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -546,11 +546,11 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -866,12 +866,12 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 9da721c288036..210ca8288e3a3 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -397,22 +397,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, + "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index c73080e2bc0fe..62ef4a2d9eddc 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -471,11 +471,11 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -768,12 +768,12 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 33514df41f884..91953245d9456 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -472,11 +472,11 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -769,12 +769,12 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index e860015f3b494..399682e6a459d 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -472,22 +472,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1, "/src/tests/tsconfig.base.json": 1 diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 8bacc65557f76..c5aa1bdc0040d 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -788,11 +788,11 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -1247,12 +1247,12 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 3, + "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } @@ -1418,10 +1418,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, @@ -1431,7 +1431,7 @@ getModifiedTime:: { "/src/logic/decls/index.d.ts": 2, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -1647,22 +1647,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 2, + "/src/logic/decls/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, + "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 8c077cc569b38..d31f1dd1d742c 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -482,22 +482,22 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/core/anotherModule.d.ts.map": 1, "/src/core/index.js": 1, - "/src/core/index.d.ts": 2, + "/src/core/index.d.ts": 1, "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, + "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 3, + "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 884a06e7f1768..cbd9b98134338 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -330,9 +330,9 @@ getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 3, + "/a/b/commonfile1.d.ts": 2, "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 3, + "/a/b/commonfile2.d.ts": 2, "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/project1.tsconfig.json": 1, "/a/b/alpha.tsconfig.json": 1 @@ -419,7 +419,7 @@ directoryExists:: { getModifiedTimes:: { "/a/b/other.ts": 1, "/a/b/other.js": 1, - "/a/b/other.d.ts": 3, + "/a/b/other.d.ts": 2, "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/project2.tsconfig.json": 1, "/a/b/bravo.tsconfig.json": 1, @@ -514,7 +514,7 @@ directoryExists:: { getModifiedTimes:: { "/a/b/other.ts": 1, "/a/b/other.js": 1, - "/a/b/other.d.ts": 3, + "/a/b/other.d.ts": 2, "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/project2.tsconfig.json": 1, "/a/b/bravo.tsconfig.json": 1 @@ -721,9 +721,9 @@ getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 3, + "/a/b/commonfile1.d.ts": 2, "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 3, + "/a/b/commonfile2.d.ts": 2, "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/project1.tsconfig.json": 1, "/a/b/alpha.tsconfig.json": 1 diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index e3222b701ffe9..c8f0dd74f825c 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -612,10 +612,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, @@ -837,10 +837,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, @@ -1142,10 +1142,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 2, + "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 2, + "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 3aa72e1beef14..dcfd07cfa3f42 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -445,7 +445,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 2, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index a6c81bf05ce3a..6370f43cd9125 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -445,7 +445,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 2, + "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 895ddd01e4066..c828fbcaf427d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -428,7 +428,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 2, + "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/tsconfig.a.json": 1, "/user/username/projects/transitivereferences/b.ts": 1, From 7817fbfc09d95bdf8cf58b7cf6d593a9d0c9282c Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 17 Mar 2022 14:24:55 -0700 Subject: [PATCH 19/64] No need to check for file existence before reading the d.ts file --- src/compiler/tsbuildPublic.ts | 5 ++--- .../modules-and-globals-mixed-in-amd.js | 4 +--- .../multiple-emitHelpers-in-all-projects.js | 4 +--- .../multiple-prologues-in-all-projects.js | 4 +--- .../shebang-in-all-projects.js | 4 +--- .../tsbuild/amdModulesWithOut/stripInternal.js | 4 +--- .../triple-slash-refs-in-all-projects.js | 4 +--- ...ule-resolution-finds-original-source-file.js | 4 +--- .../reports-syntax-errors-in-config-file.js | 3 +-- ...rence-and-both-extend-config-with-include.js | 4 +--- ...with-projects-extends-config-with-include.js | 4 +--- ...after-initial-build-doesnt-build-anything.js | 5 +---- ...rough-triple-slash-but-uses-no-references.js | 3 +-- ...n-file-is-referenced-through-triple-slash.js | 5 +---- ...sed-inferred-type-from-referenced-project.js | 4 +--- ...hing-setup-correctly-and-reports-no-error.js | 5 +---- ...th-emitDeclarationOnly-and-declarationMap.js | 5 ++--- ...r-import-project-with-emitDeclarationOnly.js | 5 ++--- ...-imports-project-with-emitDeclarationOnly.js | 4 ++-- ...iles-is-empty-and-references-are-provided.js | 3 +-- ...om-transitive-module-with-isolatedModules.js | 5 +---- .../inferred-type-from-transitive-module.js | 5 +---- ...-change-in-signature-with-isolatedModules.js | 4 +--- ...s-based-projects-and-emits-them-correctly.js | 5 +---- ...moved-json-files-and-emits-them-correctly.js | 5 +---- ...-projects-and-concatenates-them-correctly.js | 5 +---- ...d-project-correctly-with-preserveSymlinks.js | 1 - ...on-file-from-referenced-project-correctly.js | 1 - ...ent-resolution-options-referenced-project.js | 4 +--- ...cifiers-across-projects-resolve-correctly.js | 4 +--- ...sized-module-specifiers-resolve-correctly.js | 5 +---- .../non-module-projects-without-prepend.js | 5 +---- ...ntal-flag-changes-between-non-dts-changes.js | 5 +---- ...enerated-when-incremental-is-set-to-false.js | 5 +---- .../baseline-sectioned-sourcemaps.js | 15 ++++++--------- .../declarationMap-and-sourceMap-disabled.js | 5 +---- .../emitHelpers-in-all-projects.js | 15 ++++++--------- ...mitHelpers-in-only-one-dependency-project.js | 5 +---- .../tsbuild/outfile-concat/explainFiles.js | 8 ++------ .../multiple-emitHelpers-in-all-projects.js | 5 +---- ...ultiple-emitHelpers-in-different-projects.js | 5 +---- .../multiple-prologues-in-all-projects.js | 15 ++++++--------- .../multiple-prologues-in-different-projects.js | 5 +---- .../outfile-concat/shebang-in-all-projects.js | 15 ++++++--------- .../shebang-in-only-one-dependency-project.js | 5 +---- .../outfile-concat/strict-in-all-projects.js | 15 ++++++--------- .../outfile-concat/strict-in-one-dependency.js | 5 +---- ...-when-internal-is-inside-another-internal.js | 5 +---- ...when-one-two-three-are-prepended-in-order.js | 5 +---- .../stripInternal-jsdoc-style-comment.js | 5 +---- ...when-one-two-three-are-prepended-in-order.js | 5 +---- ...al-jsdoc-style-with-comments-emit-enabled.js | 5 +---- ...nal-when-few-members-of-enum-are-internal.js | 5 +---- ...when-one-two-three-are-prepended-in-order.js | 17 +++++++---------- ...ernal-when-prepend-is-completely-internal.js | 4 +--- ...when-one-two-three-are-prepended-in-order.js | 5 +---- .../stripInternal-with-comments-emit-enabled.js | 5 +---- .../tsbuild/outfile-concat/stripInternal.js | 15 ++++++--------- .../triple-slash-refs-in-all-projects.js | 15 ++++++--------- .../triple-slash-refs-in-one-project.js | 5 +---- ...-project-is-not-composite-but-incremental.js | 5 +---- ...not-composite-but-uses-project-references.js | 5 +---- ...n-final-project-specifies-tsBuildInfoFile.js | 5 +---- ...en-source-files-are-empty-in-the-own-file.js | 5 +---- ...rootDir-is-not-specified-and-is-composite.js | 3 +-- .../builds-correctly.js | 4 +--- ...dinfo-file-because-no-rootDir-in-the-base.js | 1 - .../reports-error-for-same-tsbuildinfo-file.js | 1 - .../reports-no-error-when-tsbuildinfo-differ.js | 4 +--- .../files-containing-json-file.js | 3 +-- ...orting-json-module-from-project-reference.js | 3 +-- .../resolveJsonModule/include-and-files.js | 3 +-- ...her-include-and-file-name-matches-ts-file.js | 3 +-- .../include-of-json-along-with-other-include.js | 3 +-- .../tsbuild/resolveJsonModule/sourcemap.js | 3 +-- .../tsbuild/resolveJsonModule/without-outDir.js | 3 +-- .../always-builds-under-with-force-option.js | 5 +---- .../building-using-getNextInvalidatedProject.js | 9 +++------ ...orrectly-when-declarationDir-is-specified.js | 5 +---- ...builds-correctly-when-outDir-is-specified.js | 5 +---- ...t-composite-or-doesnt-have-any-references.js | 3 +-- .../can-detect-when-and-what-to-rebuild.js | 3 +-- ...projects-if-upstream-projects-have-errors.js | 1 - .../reference/tsbuild/sample1/explainFiles.js | 6 +----- .../sample1/invalidates-projects-correctly.js | 8 ++------ .../tsbuild/sample1/listEmittedFiles.js | 6 +----- .../reference/tsbuild/sample1/listFiles.js | 6 +----- ...ebuilds-when-extended-config-file-changes.js | 5 +---- .../reference/tsbuild/sample1/sample.js | 15 ++++++--------- .../sample1/when-declaration-option-changes.js | 2 +- .../when-esModuleInterop-option-changes.js | 5 +---- .../when-logic-specifies-tsBuildInfoFile.js | 10 ++++------ ...-project-uses-different-module-resolution.js | 2 -- .../transitiveReferences/builds-correctly.js | 2 -- ...node-resolution-with-external-module-name.js | 1 - .../reports-syntax-errors-in-config-file.js | 3 +-- .../demo/updates-with-circular-reference.js | 5 +---- ...s-for-changes-to-package-json-main-fields.js | 1 - ...ect-correctly-with-cts-and-mts-extensions.js | 2 -- ...-use-different-module-resolution-settings.js | 4 +--- .../creates-solution-in-watch-mode.js | 5 +---- .../incremental-updates-in-verbose-mode.js | 6 +----- .../when-file-with-no-error-changes.js | 3 +-- ...ixing-errors-only-changed-file-is-emitted.js | 3 +-- ...-fixing-error-files-all-files-are-emitted.js | 3 +-- .../when-preserveWatchOutput-is-not-used.js | 5 +---- ...erveWatchOutput-is-passed-on-command-line.js | 5 +---- ...use-of-program-emit-with-outDir-specified.js | 4 +--- ...ger-recompilation-because-of-program-emit.js | 4 +--- ...ng-references-watches-only-those-projects.js | 4 +--- ...watches-config-files-that-are-not-present.js | 7 ++----- ...the-down-stream-project-and-then-fixes-it.js | 7 ++----- ...rencing-project-even-for-non-local-change.js | 11 +++-------- ...file-is-added,-and-its-subsequent-updates.js | 7 +------ ...-changes-and-reports-found-errors-message.js | 8 +------- ...s-not-start-build-of-referencing-projects.js | 5 +---- ...file-is-added,-and-its-subsequent-updates.js | 7 +------ ...-changes-and-reports-found-errors-message.js | 8 +------- ...s-not-start-build-of-referencing-projects.js | 5 +---- ...n-project-with-extended-config-is-removed.js | 4 +--- .../works-with-extended-source-files.js | 4 +--- .../publicApi/with-custom-transformers.js | 5 +---- .../reexport/Reports-errors-correctly.js | 7 ++----- .../projectsWithReferences/on-sample-project.js | 10 +++------- ...in-different-folders-with-no-files-clause.js | 5 +---- ...ransitive-references-in-different-folders.js | 5 +---- .../on-transitive-references.js | 5 +---- ...-project-uses-different-module-resolution.js | 2 -- ...ypes-field-when-solution-is-already-built.js | 4 +--- ...veSymlinks-when-solution-is-already-built.js | 4 +--- ...ed-package-when-solution-is-already-built.js | 4 +--- ...veSymlinks-when-solution-is-already-built.js | 4 +--- ...-subFolder-when-solution-is-already-built.js | 4 +--- ...veSymlinks-when-solution-is-already-built.js | 4 +--- ...ed-package-when-solution-is-already-built.js | 4 +--- ...veSymlinks-when-solution-is-already-built.js | 4 +--- ...le-project-when-solution-is-already-built.js | 4 +--- 137 files changed, 190 insertions(+), 524 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 9ce8fe1ff86ba..648696a000df0 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -970,9 +970,8 @@ namespace ts { let priorChangeTime: Date | undefined; if (!anyDtsChanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files - const modifiedTime = getModifiedTime(host, name); - if (modifiedTime !== missingFileModifiedTime && state.readFileWithCache(name) === text) { - priorChangeTime = modifiedTime; + if (state.readFileWithCache(name) === text) { + priorChangeTime = getModifiedTime(host, name); } else { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 75cd107dc178e..d8070635f23d5 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -89,11 +89,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index a7e0ec31d579c..30b66c15018fe 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -101,11 +101,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index ea056c0113a6e..bea2bef1f19b4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -94,11 +94,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index ff85ae5bc9ec1..69d98a2a11294 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -92,11 +92,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 997afff3eb5c9..e70f7f0601342 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -115,11 +115,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index b1ab035b17aba..0654c244dbc25 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -100,12 +100,10 @@ getModifiedTime:: { "/src/lib/global.ts": 1, "/src/lib/tripleRef.d.ts": 1, "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, "/src/app/tripleRef.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index f26e1357febc7..3713d106a9a8a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -89,11 +89,9 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/module.js": 1, - "/src/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 + "/src/app/module.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index ec7648283ddf6..da6434f649578 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -194,8 +194,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1, - "/src/a.d.ts": 1 + "/src/a.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 9f8ab0ee8edc2..b0ca3a34baa76 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -63,10 +63,8 @@ getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, "/src/target-tsc-build/shared/index.js": 1, - "/src/target-tsc-build/shared/index.d.ts": 1, "/src/webpack/index.ts": 1, - "/src/target-tsc-build/webpack/index.js": 1, - "/src/target-tsc-build/webpack/index.d.ts": 1 + "/src/target-tsc-build/webpack/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index aa8a52b7b7131..eb6028b46df36 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -64,10 +64,8 @@ getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, "/src/target-tsc-build/shared/index.js": 1, - "/src/target-tsc-build/shared/index.d.ts": 1, "/src/webpack/index.ts": 1, - "/src/target-tsc-build/webpack/index.js": 1, - "/src/target-tsc-build/webpack/index.d.ts": 1 + "/src/target-tsc-build/webpack/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 5e2fc60d8f5e4..62fde2b2bbaf3 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -102,13 +102,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/folder/index.ts": 1, "/src/src/folder/index.js": 1, - "/src/src/folder/index.d.ts": 1, "/src/src/folder2/index.ts": 1, "/src/src/folder2/index.js": 1, - "/src/src/folder2/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 93d3a5af9be85..61f589baed082 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -72,8 +72,7 @@ getModifiedTime:: { "/src/solution/src/common/types.d.ts": 1, "/src/solution/src/subProject/index.ts": 1, "/src/solution/src/subProject2/index.ts": 1, - "/src/solution/lib/src/common/nominal.js": 1, - "/src/solution/lib/src/common/nominal.d.ts": 1 + "/src/solution/lib/src/common/nominal.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index b1d35020c27aa..3dabd6f1e9978 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -82,13 +82,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/solution/src/common/nominal.ts": 1, "/src/solution/lib/src/common/nominal.js": 1, - "/src/solution/lib/src/common/nominal.d.ts": 1, "/src/solution/src/subProject/index.ts": 1, "/src/solution/lib/src/subProject/index.js": 1, - "/src/solution/lib/src/subProject/index.d.ts": 1, "/src/solution/src/subProject2/index.ts": 1, - "/src/solution/lib/src/subProject2/index.js": 1, - "/src/solution/lib/src/subProject2/index.d.ts": 1 + "/src/solution/lib/src/subProject2/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 644040c5c0e03..dfa547755b62c 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -59,10 +59,8 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1/src/index.ts": 1, "/src/packages/pkg1/lib/src/index.js": 1, - "/src/packages/pkg1/lib/src/index.d.ts": 1, "/src/packages/pkg2/src/index.ts": 1, - "/src/packages/pkg2/lib/src/index.js": 1, - "/src/packages/pkg2/lib/src/index.d.ts": 1 + "/src/packages/pkg2/lib/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 5c6f885ab318f..5bd62abee08fb 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -168,15 +168,12 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/utilities.ts": 1, "/src/lib/core/utilities.js": 1, - "/src/lib/core/utilities.d.ts": 1, "/src/animals/animal.ts": 1, "/src/animals/dog.ts": 1, "/src/animals/index.ts": 1, "/src/lib/animals/animal.js": 1, - "/src/lib/animals/animal.d.ts": 1, "/src/zoo/zoo.ts": 1, - "/src/lib/zoo/zoo.js": 1, - "/src/lib/zoo/zoo.d.ts": 1 + "/src/lib/zoo/zoo.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 2fcf962830281..53fcdedef3cbc 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -84,8 +84,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/c.d.ts": 1 + "/src/lib/a.d.ts": 1 } setModifiedTime:: {} @@ -281,7 +280,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 2, + "/src/lib/a.d.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 496fb5d2b3643..d6b90d3e88b2c 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -84,8 +84,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/c.d.ts": 1 + "/src/lib/a.d.ts": 1 } setModifiedTime:: {} @@ -268,7 +267,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 2, + "/src/lib/a.d.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 84985e2285ca7..25119fd0389d8 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -77,7 +77,7 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 2 + "/src/lib/a.d.ts": 1 } setModifiedTime:: {} @@ -375,7 +375,7 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 2, + "/src/lib/a.d.ts": 1, "/src/lib/b.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index e1fb0562ba7df..5330d5c16ba9a 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -65,8 +65,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/index.ts": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1 + "/src/core/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index a59fc747e2abd..14e24c09940dd 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -87,8 +87,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: {} @@ -300,7 +299,6 @@ getModifiedTime:: { "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -467,7 +465,6 @@ getModifiedTime:: { "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 74b2f7427d521..6126166b47881 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -87,8 +87,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: {} @@ -299,7 +298,6 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, - "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } @@ -465,7 +463,6 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, - "/src/obj/index.d.ts": 1, "/src/obj/bundling.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index b98c91e566991..a409302dacd83 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -89,8 +89,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: {} @@ -798,7 +797,6 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, - "/src/obj/bar.d.ts": 1, "/src/obj/bundling.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index d1c5ecae898eb..a56998f9ff5f1 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -120,13 +120,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, "/lib/common/nominal.js": 1, - "/lib/common/nominal.d.ts": 1, "/src/sub-project/index.js": 1, "/lib/sub-project/index.js": 1, - "/lib/sub-project/index.d.ts": 1, "/src/sub-project-2/index.js": 1, - "/lib/sub-project-2/index.js": 1, - "/lib/sub-project-2/index.d.ts": 1 + "/lib/sub-project-2/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 907da3df925b9..5df21ba03c9c5 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -121,13 +121,10 @@ getModifiedTime:: { "/src/common/index.ts": 1, "/src/common/obj.json": 1, "/src/common/index.js": 1, - "/src/common/index.d.ts": 1, "/src/sub-project/index.js": 1, "/out/sub-project/index.js": 1, - "/out/sub-project/index.d.ts": 1, "/src/sub-project-2/index.js": 1, - "/out/sub-project-2/index.js": 1, - "/out/sub-project-2/index.d.ts": 1 + "/out/sub-project-2/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 868d5c8f05f9b..32996cd1c0382 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -122,13 +122,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, "/src/common/common.js": 1, - "/src/common/common.d.ts": 1, "/src/sub-project/index.js": 1, "/src/sub-project/sub-project.js": 1, - "/src/sub-project/sub-project.d.ts": 1, "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/sub-project-2.js": 1, - "/src/sub-project-2/sub-project-2.d.ts": 1 + "/src/sub-project-2/sub-project-2.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index 322863b66a786..ebaab2eac018c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -263,7 +263,6 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 151e12916896b..400e8268c9a79 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -265,7 +265,6 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index b62973779be36..319c140e86560 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -65,10 +65,8 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1_index.ts": 1, "/src/packages/pkg1_index.js": 1, - "/src/packages/pkg1_index.d.ts": 1, "/src/packages/pkg2_index.ts": 1, - "/src/packages/pkg2_index.js": 1, - "/src/packages/pkg2_index.d.ts": 1 + "/src/packages/pkg2_index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 0b05cf2db11fb..2f4ee3bf46a42 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -144,14 +144,12 @@ getModifiedTime:: { "/src/src-types/dogconfig.ts": 1, "/src/src-types/index.ts": 1, "/src/src-types/dogconfig.js": 1, - "/src/src-types/dogconfig.d.ts": 1, "/src/src-dogs/dog.ts": 1, "/src/src-dogs/dogconfig.ts": 1, "/src/src-dogs/index.ts": 1, "/src/src-dogs/lassie/lassieconfig.ts": 1, "/src/src-dogs/lassie/lassiedog.ts": 1, - "/src/src-dogs/dog.js": 1, - "/src/src-dogs/dogconfig.d.ts": 1 + "/src/src-dogs/dog.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index b86a8a7aacceb..3cfa9b1be7913 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -140,13 +140,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/solution/common/nominal.ts": 1, "/src/lib/solution/common/nominal.js": 1, - "/src/lib/solution/common/nominal.d.ts": 1, "/src/solution/sub-project/index.ts": 1, "/src/lib/solution/sub-project/index.js": 1, - "/src/lib/solution/sub-project/index.d.ts": 1, "/src/solution/sub-project-2/index.ts": 1, - "/src/lib/solution/sub-project-2/index.js": 1, - "/src/lib/solution/sub-project-2/index.d.ts": 1 + "/src/lib/solution/sub-project-2/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 3c0c32b184aa5..b5aeea4d38b9d 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/first_PART1.js": 1, - "/src/first/first_PART1.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/second_part1.js": 1, - "/src/second/second_part1.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/third_part1.js": 1, - "/src/third/third_part1.d.ts": 1 + "/src/third/third_part1.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index b1b89638c8beb..359ba7d271058 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 0d776c382d45d..604a1b0323ed5 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index ba02d0b52c3e3..acfda407024e7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -156,10 +156,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -168,21 +168,19 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -1979,7 +1977,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -1991,7 +1988,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 1bcd603534676..193a8e01a9e34 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -153,14 +153,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 4d6aa36f66161..ced66355da350 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -162,10 +162,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -174,21 +174,19 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -2760,7 +2758,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2772,7 +2769,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 0a5a153b9015e..60dd155c3803a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -157,14 +157,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 89dcd50758871..5bc38368c6a57 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -177,14 +177,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -1978,7 +1975,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -1990,7 +1986,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 667f9621d062d..2175c6c16c54f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -173,14 +173,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 3667969a21827..9a2e57bc5ff71 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -163,14 +163,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 5b05d631ac58b..6e6bfa5f91f6b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -161,10 +161,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -173,21 +173,19 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -2293,7 +2291,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2305,7 +2302,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 67cfa8511c592..f14f1d99c8ed3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -157,14 +157,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index eca2ef77fab1a..9230979c07a34 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -160,10 +160,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -172,21 +172,19 @@ readFiles:: { "/src/2/second-output.js.map": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -2008,7 +2006,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2020,7 +2017,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 664a980fbbc0c..b0096fa878839 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -156,14 +156,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 5362598c8d9c2..2f631ebb19ee7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -156,10 +156,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -168,21 +168,19 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -2069,7 +2067,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -2081,7 +2078,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 44cf94f4d847a..b4e406ae2535b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index eb9a2894012d1..e465e58eab5aa 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -183,14 +183,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 24aa3462e4046..3781cc39dc66f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -182,14 +182,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 653ae6648f665..e0b50ebe6c0ef 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -181,14 +181,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index fda4a928a9efe..1c068bdf22113 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -182,14 +182,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 9f0a4e0c45fec..347b51494c2f5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -181,14 +181,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 208310aae5020..9e42128c27f21 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -178,14 +178,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 18594af41f58b..14cb964a0fe8d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -183,33 +183,31 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -5792,18 +5790,17 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/2/second-output.d.ts": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index d0ea2f610630d..f78232c394718 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -96,10 +96,8 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 8357970860720..c35115843346f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -182,14 +182,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 341e7266a816d..4bed2481a1311 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -181,14 +181,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 82c6978e60597..a2286c7d4ef8c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -182,10 +182,10 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/2/second-output.tsbuildinfo": 1, @@ -194,21 +194,19 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -5497,7 +5495,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, @@ -5509,7 +5506,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index d967035988cb8..b21e40e7d6402 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -172,11 +172,11 @@ readFiles:: { "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, + "/src/first/bin/first-output.d.ts": 2, "/src/second/second_part1.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.d.ts": 1, + "/src/2/second-output.d.ts": 2, "/src/third/third_part1.ts": 1, "/src/third/tripleRef.d.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, @@ -186,22 +186,20 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1 + "/src/2/second-output.d.ts.map": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} @@ -2333,7 +2331,6 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, @@ -2346,7 +2343,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index fd2aa83093a40..e7bac44d3f017 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -160,15 +160,12 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 42eec671ab158..b0beb11c0d3bc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 26f9c3683c64b..efd20a537c5f0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -155,14 +155,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index f42e209e668d2..7714aae5b3192 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -156,14 +156,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index c490ea2523bd0..6853f2adb9639 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -153,14 +153,11 @@ getModifiedTime:: { "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/thirdjs/output/third-output.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index edcc12bbffbfa..2319a44f9aa3b 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -35,8 +35,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 1ea52139d241d..5f74ac4d3b6d0 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -62,11 +62,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/other/other.ts": 1, "/src/dist/other/other.js": 1, - "/src/dist/other/other.d.ts": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, - "/src/dist/main/a.js": 1, - "/src/dist/main/b.d.ts": 1 + "/src/dist/main/a.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 0316bedf02d3e..6b14e58b2d965 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -82,7 +82,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, "/src/dist/other.js": 1, - "/src/dist/other.d.ts": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, "/src/dist/a.js": 1 diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 7b436b1770f3c..6d93fd82f5aaf 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -75,7 +75,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, "/src/dist/other.js": 1, - "/src/dist/other.d.ts": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, "/src/dist/a.js": 1 diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 43f88ffcc6e22..edd5407bd4fde 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -67,11 +67,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/other/other.ts": 1, "/src/dist/other.js": 1, - "/src/dist/other.d.ts": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1, - "/src/dist/b.d.ts": 1 + "/src/dist/a.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 66acc86041fa2..215adc94960b0 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -118,8 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 5845f1b888f1f..354ae09eab2d8 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -100,8 +100,7 @@ getModifiedTime:: { "/src/strings/foo.json": 1, "/src/strings/tsconfig.tsbuildinfo": 1, "/src/main/index.ts": 1, - "/src/main/index.js": 1, - "/src/main/index.d.ts": 1 + "/src/main/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 9a360818ed08e..dd65222dbe0ca 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -118,8 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/hello.json": 1, "/src/src/index.ts": 1, - "/src/dist/src/hello.json": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/hello.json": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 8182bbf8df823..3020dffd81851 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -116,8 +116,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/index.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 1f15f070538e8..74b35fcd1be8b 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -118,8 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 6594040b78375..43eacecc40ad3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -118,8 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1 + "/src/dist/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index fcf814abfcdba..1b43ade00b2ab 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -111,8 +111,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/src/index.js": 1, - "/src/src/index.d.ts": 1 + "/src/src/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index c73748c18460e..6b592ba32ceef 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -118,13 +118,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.json": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index 80c244d79ae34..9eb20f3515f95 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -202,8 +202,7 @@ getModifiedTimes:: { "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/some_decl.d.ts": 1, - "/user/username/projects/core/anothermodule.js": 1, - "/user/username/projects/core/anothermodule.d.ts": 1 + "/user/username/projects/core/anothermodule.js": 1 } setModifiedTimes:: {} @@ -319,8 +318,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, - "/user/username/projects/logic/index.d.ts": 1 + "/user/username/projects/logic/index.js": 1 } setModifiedTimes:: {} @@ -444,8 +442,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1, - "/user/username/projects/tests/index.d.ts": 1 + "/user/username/projects/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 19b75b80fadc2..889b16065df26 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -106,13 +106,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/out/decls/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index f9adeb5c9d293..57056063bdccf 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -106,13 +106,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/outDir/index.js": 1, - "/src/logic/outDir/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 326e69e0cb4e7..49a7da180b942 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -124,8 +124,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1 + "/src/core/anotherModule.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 4505d4decd4e2..76f31f2e72437 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -474,8 +474,7 @@ getModifiedTime:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 8368cf98e5e09..242428810ece1 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -143,7 +143,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/tests/index.ts": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index a9ff45c727c5a..4b2b9a9f108a5 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -167,13 +167,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} @@ -541,7 +538,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index b3ac70e0fedbe..4920620ffcfa1 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -388,13 +388,10 @@ getModifiedTimes:: { "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/some_decl.d.ts": 1, "/user/username/projects/core/anothermodule.js": 1, - "/user/username/projects/core/anothermodule.d.ts": 1, "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/index.js": 1, - "/user/username/projects/logic/index.d.ts": 1, "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1, - "/user/username/projects/tests/index.d.ts": 1 + "/user/username/projects/tests/index.js": 1 } setModifiedTimes:: {} @@ -672,8 +669,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, - "/user/username/projects/logic/index.d.ts": 1 + "/user/username/projects/logic/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 62ef4a2d9eddc..ab88dc393b4d1 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -132,13 +132,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} @@ -466,7 +463,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 91953245d9456..f12079a6efea2 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -131,13 +131,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} @@ -467,7 +464,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 399682e6a459d..bf3005f1a3cd7 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -138,13 +138,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index c5aa1bdc0040d..3d01ca4111cdf 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -137,26 +137,24 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/logic/index.d.ts": 1 + "/src/tests/index.d.ts": 1 } getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} @@ -783,7 +781,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, @@ -1408,9 +1405,9 @@ readFiles:: { "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, + "/src/logic/decls/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/logic/decls/index.d.ts": 1, "/src/tests/index.d.ts": 1 } getModifiedTime:: { @@ -1428,7 +1425,7 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 2, + "/src/logic/decls/index.d.ts": 1, "/src/tests/index.ts": 1, "/src/tests/index.js": 1, "/src/tests/index.d.ts": 2, diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index b01ff3b097b69..e0ad87f15c382 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -232,7 +232,7 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 2 + "/src/core/anotherModule.d.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index d31f1dd1d742c..044f48a0f8e7b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -136,13 +136,10 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 88538d5e4170f..3b7611e4dd0d2 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -138,26 +138,24 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, + "/src/core/anotherModule.d.ts": 2, "/src/logic/ownFile.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, + "/src/logic/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/logic/index.d.ts": 1 + "/src/tests/index.d.ts": 1 } getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, - "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index eb89cded11453..4148079f8b2c4 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -72,10 +72,8 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, "/src/a.js": 1, - "/src/a.d.ts": 1, "/src/b.ts": 1, "/src/b.js": 1, - "/src/b.d.ts": 1, "/src/c.ts": 1, "/src/c.js": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index b0e82def67e59..6d194226ebb65 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -84,10 +84,8 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, "/src/a.js": 1, - "/src/a.d.ts": 1, "/src/b.ts": 1, "/src/b.js": 1, - "/src/b.d.ts": 1, "/src/c.ts": 1, "/src/c.js": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index fa916e549f5eb..103435beaad44 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -74,7 +74,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/a.ts": 1, "/src/a.js": 1, - "/src/a.d.ts": 1, "/src/b.ts": 1, "/src/b.js": 1, "/src/c.ts": 1, diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 2c33027f16c10..0656dd80493e8 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -458,8 +458,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/a.d.ts": 1 + "/user/username/projects/myproject/a.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 8115c7316e99e..81b2378e142d8 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -713,15 +713,12 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/utilities.js": 1, - "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/lib/animals/animal.d.ts": 1, "/user/username/projects/demo/zoo/zoo.ts": 1, - "/user/username/projects/demo/lib/zoo/zoo.js": 1, - "/user/username/projects/demo/lib/zoo/zoo.d.ts": 1 + "/user/username/projects/demo/lib/zoo/zoo.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index d98ce95ced293..4ddd8f25253d2 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -328,7 +328,6 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/other.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 6af5fa96ba8cc..0b9f891a512d2 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -314,7 +314,6 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -1036,7 +1035,6 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.cts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.cts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index e6d67eba64e16..69cb7fb663bd0 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -314,10 +314,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/project1/index.ts": 1, "/user/username/projects/myproject/project1/index.js": 1, - "/user/username/projects/myproject/project1/index.d.ts": 1, "/user/username/projects/myproject/project2/index.ts": 1, - "/user/username/projects/myproject/project2/index.js": 1, - "/user/username/projects/myproject/project2/index.d.ts": 1 + "/user/username/projects/myproject/project2/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 835d8d1b4aa9a..b8b30c5f099ee 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -498,13 +498,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index e89136ce2d95c..eb3e0a284539c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -515,13 +515,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} @@ -1018,7 +1015,6 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index fecae1408b424..65abdc2f3309a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -169,8 +169,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index b765e6df948e1..24f03fae81fde 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -169,8 +169,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 1711d203ccfe7..3345161548cc8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -250,8 +250,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1, - "/user/username/projects/solution/app/filewitherror.d.ts": 1 + "/user/username/projects/solution/app/filewitherror.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 11c87d0db4823..baad273717dff 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -498,13 +498,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 0b864c43cfc17..70123c0b1b552 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -497,13 +497,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 9ea42e1e8ab58..0bb3af8482533 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -171,8 +171,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1 } setModifiedTimes:: {} @@ -358,7 +357,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/file3.d.ts": 1, "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/outdir/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 1afaacf6f5596..ca1987d90303f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -184,8 +184,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: {} @@ -378,7 +377,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/file3.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index e125d7701f0c4..34a61bebc1ecc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -369,10 +369,8 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 11232a29f3fc9..a24d0b3404f87 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -221,7 +221,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/index.js": 1 } @@ -416,8 +415,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} @@ -605,8 +603,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index a87bbb7305cbd..60bcbccb08559 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -188,7 +188,6 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1, "/user/username/projects/sample1/app/app.ts": 1, "/user/username/projects/sample1/app/app.js": 1 } @@ -361,8 +360,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1 + "/user/username/projects/sample1/library/library.js": 1 } setModifiedTimes:: {} @@ -524,8 +522,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, - "/user/username/projects/sample1/library/library.d.ts": 1 + "/user/username/projects/sample1/library/library.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 4d18a689a2278..d32bc576b9e53 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -262,10 +262,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} @@ -401,8 +399,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/index.js": 1 } setModifiedTimes:: {} @@ -575,9 +572,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 9725514d6e2e5..d65c22273ebfb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -467,10 +467,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} @@ -619,7 +616,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -958,7 +954,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index cc7ff3f38ae5d..7b48938614029 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -467,10 +467,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} @@ -625,7 +622,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1091,7 +1087,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1575,7 +1570,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 9584c7d4f46db..90cb92b08a926 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -467,10 +467,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index cb5e56eaf75a5..144b00bdc3cad 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -498,13 +498,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} @@ -660,7 +657,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -1008,7 +1004,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/newfile.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index cc2483918fe9c..b9780fd8ac2eb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -498,13 +498,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} @@ -665,7 +662,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1138,7 +1134,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } @@ -1629,7 +1624,6 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 09b6482f091e8..05ebc0e849ce3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -498,13 +498,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index b9f81d26bfbde..08647300a6ce7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -248,10 +248,8 @@ getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1 + "/a/b/other.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index cbd9b98134338..64f837a898b0c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -237,10 +237,8 @@ getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, "/a/b/other.ts": 1, - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1 + "/a/b/other.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 2206cdf69cf64..357ed35eafb6f 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -267,10 +267,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/shared/index.ts": 1, "/user/username/projects/myproject/shared/index.js": 1, - "/user/username/projects/myproject/shared/index.d.ts": 1, "/user/username/projects/myproject/webpack/index.ts": 1, - "/user/username/projects/myproject/webpack/index.js": 1, - "/user/username/projects/myproject/webpack/index.d.ts": 1 + "/user/username/projects/myproject/webpack/index.js": 1 } setModifiedTimes:: {} @@ -449,7 +447,6 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/shared/index.ts": 1, "/user/username/projects/myproject/shared/index.js": 1, - "/user/username/projects/myproject/shared/index.d.ts": 1, "/user/username/projects/myproject/webpack/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index f07c185e6b0b9..edd21f9bd4b4e 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -290,7 +290,6 @@ getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1, "/user/username/projects/reexport/src/main/index.ts": 1, "/user/username/projects/reexport/out/main/index.js": 1 } @@ -495,8 +494,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1 + "/user/username/projects/reexport/out/pure/index.js": 1 } setModifiedTimes:: {} @@ -691,8 +689,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, - "/user/username/projects/reexport/out/pure/session.d.ts": 1 + "/user/username/projects/reexport/out/pure/index.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index c8f0dd74f825c..04f3117554292 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -387,13 +387,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 + "/user/username/projects/sample1/tests/index.js": 1 } setModifiedTimes:: {} @@ -845,8 +842,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.js": 1 } setModifiedTimes:: {} @@ -1151,7 +1147,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/decls/index.d.ts": 2 + "/user/username/projects/sample1/logic/decls/index.d.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index dcfd07cfa3f42..9c4c39c8435aa 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -204,10 +204,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/b/index.js": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 } @@ -449,8 +447,7 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1 + "/user/username/projects/transitivereferences/b/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 6370f43cd9125..f1e1b718fc9e2 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -204,10 +204,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/b/index.js": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 } @@ -449,8 +447,7 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, - "/user/username/projects/transitivereferences/b/index.d.ts": 1 + "/user/username/projects/transitivereferences/b/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index c828fbcaf427d..05e659a022076 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -215,10 +215,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 } @@ -432,8 +430,7 @@ getModifiedTimes:: { "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/tsconfig.a.json": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1 + "/user/username/projects/transitivereferences/b.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 5045c01d894aa..1d3b966710bee 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -202,10 +202,8 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/b.js": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 39d6c7f2d69fb..8c374873c5547 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -217,10 +217,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index a4ab7547ec6c1..0bbaaa9cb8e45 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -215,10 +215,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 041ad17a792ea..2ce9e58e57388 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -218,10 +218,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 863c8913dccf3..9ee97b65a4ca9 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -216,10 +216,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/lib/bar.js": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1, - "/user/username/projects/myproject/packages/a/lib/index.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/index.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 37846351b1404..b71f4fd68c8ff 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -219,10 +219,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/test.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 72862de2cbb20..3ff6de49c6b1d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -217,10 +217,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/test.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 0055eafb3bec3..60e5082d7210d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -219,10 +219,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/test.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index f921824fb4df5..90959861984fe 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -217,10 +217,8 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/lib/foo.js": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1, - "/user/username/projects/myproject/packages/a/lib/test.d.ts": 1 + "/user/username/projects/myproject/packages/a/lib/test.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index d715978c62513..ed6ea86fea513 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -343,12 +343,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/utilities.js": 1, - "/user/username/projects/demo/lib/core/utilities.d.ts": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/lib/animals/animal.d.ts": 1 + "/user/username/projects/demo/lib/animals/animal.js": 1 } setModifiedTimes:: {} From cb7aca3ad0b6e1a3226eea62811922876df3541a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 21 Mar 2022 16:15:44 -0700 Subject: [PATCH 20/64] Do project reference errors before doing input/output file checks --- src/compiler/tsbuildPublic.ts | 170 +++++++++--------- ...s-not-in-rootDir-at-the-import-location.js | 8 +- ...ojects-if-upstream-projects-have-errors.js | 4 +- ...does-not-write-any-files-in-a-dry-build.js | 6 +- ...de-resolution-with-external-module-name.js | 4 +- .../demo/updates-with-bad-reference.js | 8 +- .../incremental-updates-in-verbose-mode.js | 4 +- ...tches-config-files-that-are-not-present.js | 4 +- ...le-is-added,-and-its-subsequent-updates.js | 5 - ...hanges-and-reports-found-errors-message.js | 5 - ...not-start-build-of-referencing-projects.js | 5 - 11 files changed, 88 insertions(+), 135 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 648696a000df0..d0d359d268da2 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1346,14 +1346,52 @@ namespace ts { } function getUpToDateStatusWorker(state: SolutionBuilderState, project: ParsedCommandLine, resolvedPath: ResolvedConfigFilePath): UpToDateStatus { - // Container if no files are specified in the project - if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { + // Container if no files are specified in the project + if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) { return { type: UpToDateStatusType.ContainerOnly }; } + // Fast check to see if reference projects are buildable + let referenceStatuses; const force = !!state.options.force; + if (project.projectReferences) { + state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.ComputingUpstream }); + for (const ref of project.projectReferences) { + const resolvedRef = resolveProjectReferencePath(ref); + const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); + const refStatus = getUpToDateStatus(state, parseConfigFile(state, resolvedRef, resolvedRefPath), resolvedRefPath); + + // Its a circular reference ignore the status of this project + if (refStatus.type === UpToDateStatusType.ComputingUpstream || + refStatus.type === UpToDateStatusType.ContainerOnly) { // Container only ignore this project + continue; + } + + // An upstream project is blocked + if (refStatus.type === UpToDateStatusType.Unbuildable || + refStatus.type === UpToDateStatusType.UpstreamBlocked) { + return { + type: UpToDateStatusType.UpstreamBlocked, + upstreamProjectName: ref.path, + upstreamProjectBlocked: refStatus.type === UpToDateStatusType.UpstreamBlocked + }; + } + + // If the upstream project is out of date, then so are we (someone shouldn't have asked, though?) + if (refStatus.type !== UpToDateStatusType.UpToDate) { + return { + type: UpToDateStatusType.UpstreamOutOfDate, + upstreamProjectName: ref.path + }; + } + + if (!force) (referenceStatuses ||= []).push({ ref, refStatus }); + } + } + + // Check output files let newestInputFileName: string = undefined!; let newestInputFileTime = minimumDate; const { host } = state; @@ -1381,17 +1419,16 @@ namespace ts { // Now see if all outputs are newer than the newest input let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; - let missingOutputFileName: string | undefined; let newestDeclarationFileContentChangedTime = minimumDate; - let isOutOfDateWithInputs = false; if (!force) { for (const output of outputs) { // Output is missing; can stop checking - // Don't immediately return because we can still be upstream-blocked, which is a higher-priority status const outputTime = getModifiedTime(host, output); if (outputTime === missingFileModifiedTime) { - missingOutputFileName = output; - break; + return { + type: UpToDateStatusType.OutputMissing, + missingOutputFileName: output + }; } if (outputTime < oldestOutputFileTime) { @@ -1400,10 +1437,12 @@ namespace ts { } // If an output is older than the newest input, we can stop checking - // Don't immediately return because we can still be upstream-blocked, which is a higher-priority status if (outputTime < newestInputFileTime) { - isOutOfDateWithInputs = true; - break; + return { + type: UpToDateStatusType.OutOfDateWithSelf, + outOfDateOutputFileName: oldestOutputFileName, + newerInputFileName: newestInputFileName + }; } // Keep track of when the most recent time a .d.ts file was changed. @@ -1419,96 +1458,47 @@ namespace ts { let pseudoUpToDate = false; let usesPrepend = false; let upstreamChangedProject: string | undefined; - if (project.projectReferences) { - state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.ComputingUpstream }); - for (const ref of project.projectReferences) { + if (referenceStatuses) { + for (const { ref, refStatus } of referenceStatuses) { usesPrepend = usesPrepend || !!(ref.prepend); - const resolvedRef = resolveProjectReferencePath(ref); - const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); - const refStatus = getUpToDateStatus(state, parseConfigFile(state, resolvedRef, resolvedRefPath), resolvedRefPath); - - // Its a circular reference ignore the status of this project - if (refStatus.type === UpToDateStatusType.ComputingUpstream || - refStatus.type === UpToDateStatusType.ContainerOnly) { // Container only ignore this project + // If the upstream project's newest file is older than our oldest output, we + // can't be out of date because of it + if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) { continue; } - // An upstream project is blocked - if (refStatus.type === UpToDateStatusType.Unbuildable || - refStatus.type === UpToDateStatusType.UpstreamBlocked) { - return { - type: UpToDateStatusType.UpstreamBlocked, - upstreamProjectName: ref.path, - upstreamProjectBlocked: refStatus.type === UpToDateStatusType.UpstreamBlocked - }; - } - - // If the upstream project is out of date, then so are we (someone shouldn't have asked, though?) - if (refStatus.type !== UpToDateStatusType.UpToDate) { - return { - type: UpToDateStatusType.UpstreamOutOfDate, - upstreamProjectName: ref.path - }; + // If the upstream project has only change .d.ts files, and we've built + // *after* those files, then we're "psuedo up to date" and eligible for a fast rebuild + if (refStatus.newestDeclarationFileContentChangedTime && refStatus.newestDeclarationFileContentChangedTime <= oldestOutputFileTime) { + pseudoUpToDate = true; + upstreamChangedProject = ref.path; + continue; } - // Check oldest output file name only if there is no missing output file name - // (a check we will have skipped if this is a forced build) - if (!force && !missingOutputFileName) { - // If the upstream project's newest file is older than our oldest output, we - // can't be out of date because of it - if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) { - continue; - } - - // If the upstream project has only change .d.ts files, and we've built - // *after* those files, then we're "psuedo up to date" and eligible for a fast rebuild - if (refStatus.newestDeclarationFileContentChangedTime && refStatus.newestDeclarationFileContentChangedTime <= oldestOutputFileTime) { - pseudoUpToDate = true; - upstreamChangedProject = ref.path; - continue; - } - - // We have an output older than an upstream output - we are out of date - Debug.assert(oldestOutputFileName !== undefined, "Should have an oldest output filename here"); - return { - type: UpToDateStatusType.OutOfDateWithUpstream, - outOfDateOutputFileName: oldestOutputFileName, - newerProjectName: ref.path - }; - } + // We have an output older than an upstream output - we are out of date + Debug.assert(oldestOutputFileName !== undefined, "Should have an oldest output filename here"); + return { + type: UpToDateStatusType.OutOfDateWithUpstream, + outOfDateOutputFileName: oldestOutputFileName, + newerProjectName: ref.path + }; } } - if (missingOutputFileName !== undefined) { - return { - type: UpToDateStatusType.OutputMissing, - missingOutputFileName - }; - } + // Check tsconfig time + const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath!, oldestOutputFileTime, oldestOutputFileName); + if (configStatus) return configStatus; - if (isOutOfDateWithInputs) { - return { - type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: oldestOutputFileName, - newerInputFileName: newestInputFileName - }; - } - else { - // Check tsconfig time - const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath!, oldestOutputFileTime, oldestOutputFileName); - if (configStatus) return configStatus; - - // Check extended config time - const extendedConfigStatus = forEach(project.options.configFile!.extendedSourceFiles || emptyArray, configFile => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName)); - if (extendedConfigStatus) return extendedConfigStatus; - - // Check package file time - const dependentPackageFileStatus = forEach( - state.lastCachedPackageJsonLookups.get(resolvedPath) || emptyArray, - ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName) - ); - if (dependentPackageFileStatus) return dependentPackageFileStatus; - } + // Check extended config time + const extendedConfigStatus = forEach(project.options.configFile!.extendedSourceFiles || emptyArray, configFile => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName)); + if (extendedConfigStatus) return extendedConfigStatus; + + // Check package file time + const dependentPackageFileStatus = forEach( + state.lastCachedPackageJsonLookups.get(resolvedPath) || emptyArray, + ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName) + ); + if (dependentPackageFileStatus) return dependentPackageFileStatus; if (!force && !state.buildInfoChecked.has(resolvedPath)) { state.buildInfoChecked.set(resolvedPath, true); diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index e6ba78ed2a0c5..ab490205d03e6 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -222,13 +222,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/core/utilities.ts": 1, - "/src/lib/core/utilities.js": 1, - "/src/animals/animal.ts": 1, - "/src/animals/dog.ts": 1, - "/src/animals/index.ts": 1, - "/src/lib/animals/animal.js": 1, - "/src/zoo/zoo.ts": 1, - "/src/lib/zoo/zoo.js": 1 + "/src/lib/core/utilities.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 242428810ece1..1f4a7dcb63cfe 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -144,9 +144,7 @@ getModifiedTime:: { "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/logic/index.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index 6bacc816a5eab..ac7519c907682 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -123,11 +123,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/core/anotherModule.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 103435beaad44..9287046552e56 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -75,9 +75,7 @@ getModifiedTime:: { "/src/a.ts": 1, "/src/a.js": 1, "/src/b.ts": 1, - "/src/b.js": 1, - "/src/c.ts": 1, - "/src/c.js": 1 + "/src/b.js": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 80708bc621753..3f9750d54ce4a 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -449,13 +449,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1, - "/user/username/projects/demo/lib/zoo/zoo.js": 1 + "/user/username/projects/demo/lib/core/utilities.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index eb3e0a284539c..f360de04dda0c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -549,7 +549,7 @@ Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/core' +[12:01:32 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/logic/index.ts' [12:01:33 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... @@ -746,7 +746,7 @@ Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/core' +[12:01:57 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/logic/index.ts' [12:01:58 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index a24d0b3404f87..39236cd1c020b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -220,9 +220,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index d65c22273ebfb..8e6f4242efdc7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -461,11 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 7b48938614029..edc7858963b18 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -461,11 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 90cb92b08a926..2741c7fb8bea2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -461,11 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1, "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1 } From dd96e33a4d14757378f05314c5f4a14ba6a3c800 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 28 Mar 2022 14:12:41 -0700 Subject: [PATCH 21/64] Dont call getModifiedTimes if dts change --- src/compiler/tsbuild.ts | 2 +- src/compiler/tsbuildPublic.ts | 44 +++++++------------ ...-transitive-module-with-isolatedModules.js | 6 +-- .../inferred-type-from-transitive-module.js | 6 +-- ...hange-in-signature-with-isolatedModules.js | 3 +- .../reference/tsbuild/sample1/explainFiles.js | 1 - .../tsbuild/sample1/listEmittedFiles.js | 1 - .../reference/tsbuild/sample1/listFiles.js | 1 - .../reference/tsbuild/sample1/sample.js | 1 - ...t-correctly-with-cts-and-mts-extensions.js | 3 +- ...e-of-program-emit-with-outDir-specified.js | 4 +- ...r-recompilation-because-of-program-emit.js | 4 +- ...le-is-added,-and-its-subsequent-updates.js | 8 +--- ...hanges-and-reports-found-errors-message.js | 9 ++-- ...le-is-added,-and-its-subsequent-updates.js | 8 +--- ...hanges-and-reports-found-errors-message.js | 9 ++-- 16 files changed, 36 insertions(+), 74 deletions(-) diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index ebe69e277e2e2..7080a373d56c7 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -67,7 +67,7 @@ namespace ts { type: UpToDateStatusType.UpToDate | UpToDateStatusType.UpToDateWithUpstreamTypes; newestInputFileTime?: Date; newestInputFileName?: string; - newestDeclarationFileContentChangedTime?: Date; + newestDeclarationFileContentChangedTime: Date | undefined; oldestOutputFileName: string; } diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index d0d359d268da2..6dd0abb5d626c 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -68,8 +68,8 @@ namespace ts { return getOrCreateValueFromConfigFileMap>(configFileMap, resolved, () => new Map()); } - function newer(date1: Date, date2: Date): Date { - return date2 > date1 ? date2 : date1; + function newer(date1: Date | undefined, date2: Date): Date | undefined { + return date1 ? date2 > date1 ? date2 : date1 : date2; } export type ReportEmitErrorSummary = (errorCount: number, filesInError: (ReportFileInError | undefined)[]) => void; @@ -962,35 +962,28 @@ namespace ts { // Actual Emit const { host, compilerHost } = state; let resultFlags = BuildResultFlags.DeclarationOutputUnchanged; - let newestDeclarationFileContentChangedTime = minimumDate; - let anyDtsChanged = false; + let newestDeclarationFileContentChangedTime: Date | undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); outputFiles.forEach(({ name, text, writeByteOrderMark }) => { - let priorChangeTime: Date | undefined; - if (!anyDtsChanged && isDeclarationFileName(name)) { + if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files if (state.readFileWithCache(name) === text) { - priorChangeTime = getModifiedTime(host, name); + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, getModifiedTime(host, name)); } else { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; - anyDtsChanged = true; } } emittedOutputs.set(toPath(state, name), name); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); - if (priorChangeTime !== undefined) { - newestDeclarationFileContentChangedTime = newer(priorChangeTime, newestDeclarationFileContentChangedTime); - } }); finishEmit( emitterDiagnostics, emittedOutputs, newestDeclarationFileContentChangedTime, - /*newestDeclarationFileContentChangedTimeIsMaximumDate*/ anyDtsChanged, outputFiles.length ? outputFiles[0].name : getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()), resultFlags ); @@ -1018,8 +1011,7 @@ namespace ts { function finishEmit( emitterDiagnostics: DiagnosticCollection, emittedOutputs: ESMap, - priorNewestUpdateTime: Date, - newestDeclarationFileContentChangedTimeIsMaximumDate: boolean, + newestDeclarationFileContentChangedTime: Date | undefined, oldestOutputFileName: string, resultFlags: BuildResultFlags ) { @@ -1042,13 +1034,12 @@ namespace ts { } // Update time stamps for rest of the outputs - const newestDeclarationFileContentChangedTime = updateOutputTimestampsWorker(state, config, priorNewestUpdateTime, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); + const anyDtsChange = !(resultFlags & BuildResultFlags.DeclarationOutputUnchanged); + newestDeclarationFileContentChangedTime = updateOutputTimestampsWorker(state, config, anyDtsChange, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, newestDeclarationFileContentChangedTime, emittedOutputs); state.diagnostics.delete(projectPath); state.projectStatus.set(projectPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: newestDeclarationFileContentChangedTimeIsMaximumDate ? - maximumDate : - newestDeclarationFileContentChangedTime, + newestDeclarationFileContentChangedTime: anyDtsChange ? undefined : newestDeclarationFileContentChangedTime, oldestOutputFileName }); afterProgramDone(state, program, config); @@ -1107,8 +1098,7 @@ namespace ts { const emitDiagnostics = finishEmit( emitterDiagnostics, emittedOutputs, - minimumDate, - /*newestDeclarationFileContentChangedTimeIsMaximumDate*/ false, + /*newestDeclarationFileContentChangedTime*/ undefined, outputFiles[0].name, BuildResultFlags.DeclarationOutputUnchanged ); @@ -1419,7 +1409,7 @@ namespace ts { // Now see if all outputs are newer than the newest input let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; - let newestDeclarationFileContentChangedTime = minimumDate; + let newestDeclarationFileContentChangedTime; if (!force) { for (const output of outputs) { // Output is missing; can stop checking @@ -1548,8 +1538,8 @@ namespace ts { return actual; } - function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, priorNewestUpdateTime: Date, verboseMessage: DiagnosticMessage, skipOutputs?: ESMap) { - if (proj.options.noEmit) return priorNewestUpdateTime; + function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, anyDtsChange: boolean, verboseMessage: DiagnosticMessage, newestDeclarationFileContentChangedTime?: Date, skipOutputs?: ESMap) { + if (proj.options.noEmit) return undefined; const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); if (!skipOutputs || outputs.length !== skipOutputs.size) { @@ -1565,22 +1555,22 @@ namespace ts { reportStatus(state, verboseMessage, proj.options.configFilePath!); } - if (isDeclarationFileName(file)) { - priorNewestUpdateTime = newer(priorNewestUpdateTime, getModifiedTime(host, file)); + if (!anyDtsChange && isDeclarationFileName(file)) { + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, getModifiedTime(host, file)); } host.setModifiedTime(file, now); } } - return priorNewestUpdateTime; + return newestDeclarationFileContentChangedTime; } function updateOutputTimestamps(state: SolutionBuilderState, proj: ParsedCommandLine, resolvedPath: ResolvedConfigFilePath) { if (state.options.dry) { return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath!); } - const priorNewestUpdateTime = updateOutputTimestampsWorker(state, proj, minimumDate, Diagnostics.Updating_output_timestamps_of_project_0); + const priorNewestUpdateTime = updateOutputTimestampsWorker(state, proj, /*anyDtsChange*/ false, Diagnostics.Updating_output_timestamps_of_project_0); state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.UpToDate, newestDeclarationFileContentChangedTime: priorNewestUpdateTime, diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 14e24c09940dd..aeac3b94d79b0 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -298,8 +298,7 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, - "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/lazyIndex.d.ts": 1 } setModifiedTime:: { @@ -464,8 +463,7 @@ getModifiedTime:: { "/src/index.ts": 1, "/src/lazyIndex.ts": 1, "/src/obj/bar.js": 1, - "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/lazyIndex.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 6126166b47881..1d27ef95342ce 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -297,8 +297,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: { @@ -462,8 +461,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index a409302dacd83..61aacf9c5a6b3 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -796,8 +796,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/bar.js": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 4b2b9a9f108a5..d12220e0b7b13 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -538,7 +538,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index ab88dc393b4d1..f016a1d504ce5 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -463,7 +463,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index f12079a6efea2..014dbb8429f05 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -464,7 +464,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 3d01ca4111cdf..be4248fdca078 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -781,7 +781,6 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, "/src/logic/index.js": 1, "/src/logic/index.js.map": 1, diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 0b9f891a512d2..f4e6a2ed302a8 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -1034,8 +1034,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 + "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 0bb3af8482533..c4b34c8ff691a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -356,9 +356,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/outdir/index.d.ts": 1 + "/user/username/projects/sample1/core/outdir/anothermodule.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index ca1987d90303f..309917e1f8ee9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -376,9 +376,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 8e6f4242efdc7..e616112ffa260 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -610,9 +610,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -948,9 +946,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index edc7858963b18..1d873769c62ad 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -616,8 +616,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -1081,8 +1080,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -1564,8 +1562,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 144b00bdc3cad..92170f11875ec 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -656,9 +656,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -1003,9 +1001,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index b9780fd8ac2eb..dec2ceb9f40ac 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -661,8 +661,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -1133,8 +1132,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { @@ -1623,8 +1621,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.js": 1 } setModifiedTimes:: { From 89d2d4c2d184cc95b49c3c66e05622f65b02383e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 15 Mar 2022 14:20:29 -0700 Subject: [PATCH 22/64] Passdown modified time if queried --- src/compiler/sys.ts | 60 ++++++++++--------- src/harness/virtualFileSystemWithWatch.ts | 55 +++++++++-------- .../reference/api/tsserverlibrary.d.ts | 2 +- tests/baselines/reference/api/typescript.d.ts | 2 +- 4 files changed, 60 insertions(+), 59 deletions(-) diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index e50731988bd22..03213fabeec3a 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -33,7 +33,7 @@ namespace ts { Deleted } - export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind) => void; + export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void; export type DirectoryWatcherCallback = (fileName: string) => void; /*@internal*/ export interface WatchedFile { @@ -364,7 +364,7 @@ namespace ts { const watcher = fsWatch( dirName, FileSystemEntryKind.Directory, - (_eventName: string, relativeFileName) => { + (_eventName: string, relativeFileName, modifiedTime) => { // When files are deleted from disk, the triggered "rename" event would have a relativefileName of "undefined" if (!isString(relativeFileName)) return; const fileName = getNormalizedAbsolutePath(relativeFileName, dirName); @@ -372,7 +372,7 @@ namespace ts { const callbacks = fileName && fileWatcherCallbacks.get(toCanonicalName(fileName)); if (callbacks) { for (const fileCallback of callbacks) { - fileCallback(fileName, FileWatcherEventKind.Changed); + fileCallback(fileName, FileWatcherEventKind.Changed, modifiedTime); } } }, @@ -446,9 +446,9 @@ namespace ts { cache.set(path, { watcher: watchFile( fileName, - (fileName, eventKind) => forEach( + (fileName, eventKind, modifiedTime) => forEach( callbacksCache.get(path), - cb => cb(fileName, eventKind) + cb => cb(fileName, eventKind, modifiedTime) ), pollingInterval, options @@ -480,7 +480,7 @@ namespace ts { const newTime = modifiedTime.getTime(); if (oldTime !== newTime) { watchedFile.mtime = modifiedTime; - watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime)); + watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime); return true; } @@ -776,7 +776,7 @@ namespace ts { } /*@internal*/ - export type FsWatchCallback = (eventName: "rename" | "change", relativeFileName: string | undefined) => void; + export type FsWatchCallback = (eventName: "rename" | "change", relativeFileName: string | undefined, modifiedTime?: Date) => void; /*@internal*/ export type FsWatch = (fileOrDirectory: string, entryKind: FileSystemEntryKind, callback: FsWatchCallback, recursive: boolean, fallbackPollingInterval: PollingInterval, fallbackOptions: WatchOptions | undefined) => FileWatcher; @@ -788,21 +788,22 @@ namespace ts { /*@internal*/ export function createFileWatcherCallback(callback: FsWatchCallback): FileWatcherCallback { - return (_fileName, eventKind) => callback(eventKind === FileWatcherEventKind.Changed ? "change" : "rename", ""); + return (_fileName, eventKind, modifiedTime) => callback(eventKind === FileWatcherEventKind.Changed ? "change" : "rename", "", modifiedTime); } function createFsWatchCallbackForFileWatcherCallback( fileName: string, callback: FileWatcherCallback, - fileExists: System["fileExists"] + getModifiedTime: NonNullable ): FsWatchCallback { - return eventName => { + return (eventName, _relativeFileName, modifiedTime) => { if (eventName === "rename") { - callback(fileName, fileExists(fileName) ? FileWatcherEventKind.Created : FileWatcherEventKind.Deleted); + modifiedTime ||= getModifiedTime(fileName) || missingFileModifiedTime; + callback(fileName, modifiedTime !== missingFileModifiedTime ? FileWatcherEventKind.Created : FileWatcherEventKind.Deleted, modifiedTime); } else { // Change - callback(fileName, FileWatcherEventKind.Changed); + callback(fileName, FileWatcherEventKind.Changed, modifiedTime); } }; } @@ -850,7 +851,6 @@ namespace ts { clearTimeout: NonNullable; // For fs events : fsWatch: FsWatch; - fileExists: System["fileExists"]; useCaseSensitiveFileNames: boolean; getCurrentDirectory: System["getCurrentDirectory"]; fsSupportsRecursiveFsWatch: boolean; @@ -871,7 +871,6 @@ namespace ts { setTimeout, clearTimeout, fsWatch, - fileExists, useCaseSensitiveFileNames, getCurrentDirectory, fsSupportsRecursiveFsWatch, @@ -908,7 +907,7 @@ namespace ts { return fsWatch( fileName, FileSystemEntryKind.File, - createFsWatchCallbackForFileWatcherCallback(fileName, callback, fileExists), + createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime), /*recursive*/ false, pollingInterval, getFallbackOptions(options) @@ -1297,7 +1296,6 @@ namespace ts { fsWatch, useCaseSensitiveFileNames, getCurrentDirectory, - fileExists, // Node 4.0 `fs.watch` function supports the "recursive" option on both OSX and Windows // (ref: https://github.com/nodejs/node/pull/2649 and https://github.com/Microsoft/TypeScript/issues/4643) fsSupportsRecursiveFsWatch, @@ -1542,7 +1540,7 @@ namespace ts { close: () => _fs.unwatchFile(fileName, fileChanged) }; - function fileChanged(curr: any, prev: any) { + function fileChanged(curr: import("fs").Stats, prev: import("fs").Stats) { // previous event kind check is to ensure we recongnize the file as previously also missing when it is restored or renamed twice (that is it disappears and reappears) // In such case, prevTime returned is same as prev time of event when file was deleted as per node documentation const isPreviouslyDeleted = +prev.mtime === 0 || eventKind === FileWatcherEventKind.Deleted; @@ -1564,7 +1562,7 @@ namespace ts { // File changed eventKind = FileWatcherEventKind.Changed; } - callback(fileName, eventKind); + callback(fileName, eventKind, curr.mtime); } } @@ -1599,10 +1597,10 @@ namespace ts { * Invoke the callback with rename and update the watcher if not closed * @param createWatcher */ - function invokeCallbackAndUpdateWatcher(createWatcher: () => FileWatcher) { + function invokeCallbackAndUpdateWatcher(createWatcher: () => FileWatcher, modifiedTime?: Date) { sysLog(`sysLog:: ${fileOrDirectory}:: Changing watcher to ${createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing"}FileSystemEntryWatcher`); // Call the callback for current directory - callback("rename", ""); + callback("rename", "", modifiedTime); // If watcher is not closed, update it if (watcher) { @@ -1656,13 +1654,14 @@ namespace ts { function callbackChangingToMissingFileSystemEntry(event: "rename" | "change", relativeName: string | undefined) { // because relativeName is not guaranteed to be correct we need to check on each rename with few combinations // Eg on ubuntu while watching app/node_modules the relativeName is "node_modules" which is neither relative nor full path + const modifiedTime = getModifiedTime(fileOrDirectory) || missingFileModifiedTime; return event === "rename" && (!relativeName || relativeName === lastDirectoryPart || (relativeName.lastIndexOf(lastDirectoryPartWithDirectorySeparator!) !== -1 && relativeName.lastIndexOf(lastDirectoryPartWithDirectorySeparator!) === relativeName.length - lastDirectoryPartWithDirectorySeparator!.length)) && - !fileSystemEntryExists(fileOrDirectory, entryKind) ? - invokeCallbackAndUpdateWatcher(watchMissingFileSystemEntry) : - callback(event, relativeName); + modifiedTime === missingFileModifiedTime ? + invokeCallbackAndUpdateWatcher(watchMissingFileSystemEntry, modifiedTime) : + callback(event, relativeName, modifiedTime); } /** @@ -1685,12 +1684,15 @@ namespace ts { function watchMissingFileSystemEntry(): FileWatcher { return watchFile( fileOrDirectory, - (_fileName, eventKind) => { - if (eventKind === FileWatcherEventKind.Created && fileSystemEntryExists(fileOrDirectory, entryKind)) { - // Call the callback for current file or directory - // For now it could be callback for the inner directory creation, - // but just return current directory, better than current no-op - invokeCallbackAndUpdateWatcher(watchPresentFileSystemEntry); + (_fileName, eventKind, modifiedTime) => { + if (eventKind === FileWatcherEventKind.Created) { + modifiedTime ||= getModifiedTime(fileOrDirectory) || missingFileModifiedTime; + if (modifiedTime !== missingFileModifiedTime) { + // Call the callback for current file or directory + // For now it could be callback for the inner directory creation, + // but just return current directory, better than current no-op + invokeCallbackAndUpdateWatcher(watchPresentFileSystemEntry, modifiedTime); + } } }, fallbackPollingInterval, diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index ca7c166ae9f3b..c8b8979554d0e 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -433,7 +433,6 @@ interface Array { length: number; [n: number]: T; }` setTimeout: this.setTimeout.bind(this), clearTimeout: this.clearTimeout.bind(this), fsWatch: this.fsWatch.bind(this), - fileExists: this.fileExists.bind(this), useCaseSensitiveFileNames: this.useCaseSensitiveFileNames, getCurrentDirectory: this.getCurrentDirectory.bind(this), fsSupportsRecursiveFsWatch: tscWatchDirectory ? false : !runWithoutRecursiveWatches, @@ -514,7 +513,7 @@ interface Array { length: number; [n: number]: T; }` else { // Folder update: Nothing to do. currentEntry.modifiedTime = this.now(); - this.invokeFsWatches(currentEntry.fullPath, "change"); + this.invokeFsWatches(currentEntry.fullPath, "change", currentEntry.modifiedTime); } } } @@ -541,12 +540,12 @@ interface Array { length: number; [n: number]: T; }` this.fs.get(getDirectoryPath(currentEntry.path))!.modifiedTime = this.now(); if (options && options.invokeDirectoryWatcherInsteadOfFileChanged) { const directoryFullPath = getDirectoryPath(currentEntry.fullPath); - this.invokeFileWatcher(directoryFullPath, FileWatcherEventKind.Changed, /*useFileNameInCallback*/ true); - this.invokeFsWatchesCallbacks(directoryFullPath, "rename", currentEntry.fullPath); - this.invokeRecursiveFsWatches(directoryFullPath, "rename", currentEntry.fullPath); + this.invokeFileWatcher(directoryFullPath, FileWatcherEventKind.Changed, currentEntry.modifiedTime, /*useFileNameInCallback*/ true); + this.invokeFsWatchesCallbacks(directoryFullPath, "rename", currentEntry.modifiedTime, currentEntry.fullPath); + this.invokeRecursiveFsWatches(directoryFullPath, "rename", currentEntry.modifiedTime, currentEntry.fullPath); } else { - this.invokeFileAndFsWatches(currentEntry.fullPath, FileWatcherEventKind.Changed); + this.invokeFileAndFsWatches(currentEntry.fullPath, FileWatcherEventKind.Changed, currentEntry.modifiedTime); } } } @@ -665,8 +664,8 @@ interface Array { length: number; [n: number]: T; }` if (ignoreWatch) { return; } - this.invokeFileAndFsWatches(fileOrDirectory.fullPath, FileWatcherEventKind.Created); - this.invokeFileAndFsWatches(folder.fullPath, FileWatcherEventKind.Changed); + this.invokeFileAndFsWatches(fileOrDirectory.fullPath, FileWatcherEventKind.Created, fileOrDirectory.modifiedTime); + this.invokeFileAndFsWatches(folder.fullPath, FileWatcherEventKind.Changed, folder.modifiedTime); } private removeFileOrFolder(fileOrDirectory: FsFile | FsFolder | FsSymLink, isRemovableLeafFolder: (folder: FsFolder) => boolean, isRenaming = false) { @@ -683,7 +682,7 @@ interface Array { length: number; [n: number]: T; }` Debug.assert(fileOrDirectory.entries.length === 0 || isRenaming); } this.invokeFileAndFsWatches(fileOrDirectory.fullPath, FileWatcherEventKind.Deleted); - this.invokeFileAndFsWatches(baseFolder.fullPath, FileWatcherEventKind.Changed); + this.invokeFileAndFsWatches(baseFolder.fullPath, FileWatcherEventKind.Changed, baseFolder.modifiedTime); if (basePath !== fileOrDirectory.path && baseFolder.entries.length === 0 && isRemovableLeafFolder(baseFolder)) { @@ -750,43 +749,43 @@ interface Array { length: number; [n: number]: T; }` ); } - invokeFileWatcher(fileFullPath: string, eventKind: FileWatcherEventKind, useFileNameInCallback?: boolean) { - invokeWatcherCallbacks(this.watchedFiles.get(this.toPath(fileFullPath)), ({ cb, fileName }) => cb(useFileNameInCallback ? fileName : fileFullPath, eventKind)); + invokeFileWatcher(fileFullPath: string, eventKind: FileWatcherEventKind, modifiedTime?: Date, useFileNameInCallback?: boolean) { + invokeWatcherCallbacks(this.watchedFiles.get(this.toPath(fileFullPath)), ({ cb, fileName }) => cb(useFileNameInCallback ? fileName : fileFullPath, eventKind, modifiedTime)); } - private fsWatchCallback(map: MultiMap, fullPath: string, eventName: "rename" | "change", entryFullPath?: string) { - invokeWatcherCallbacks(map.get(this.toPath(fullPath)), ({ cb }) => cb(eventName, entryFullPath ? this.getRelativePathToDirectory(fullPath, entryFullPath) : "")); + private fsWatchCallback(map: MultiMap, fullPath: string, eventName: "rename" | "change", modifiedTime?: Date, entryFullPath?: string) { + invokeWatcherCallbacks(map.get(this.toPath(fullPath)), ({ cb }) => cb(eventName, entryFullPath ? this.getRelativePathToDirectory(fullPath, entryFullPath) : "", modifiedTime)); } - invokeFsWatchesCallbacks(fullPath: string, eventName: "rename" | "change", entryFullPath?: string) { - this.fsWatchCallback(this.fsWatches, fullPath, eventName, entryFullPath); + invokeFsWatchesCallbacks(fullPath: string, eventName: "rename" | "change", modifiedTime?: Date, entryFullPath?: string) { + this.fsWatchCallback(this.fsWatches, fullPath, eventName, modifiedTime, entryFullPath); } - invokeFsWatchesRecursiveCallbacks(fullPath: string, eventName: "rename" | "change", entryFullPath?: string) { - this.fsWatchCallback(this.fsWatchesRecursive, fullPath, eventName, entryFullPath); + invokeFsWatchesRecursiveCallbacks(fullPath: string, eventName: "rename" | "change", modifiedTime?: Date, entryFullPath?: string) { + this.fsWatchCallback(this.fsWatchesRecursive, fullPath, eventName, modifiedTime, entryFullPath); } private getRelativePathToDirectory(directoryFullPath: string, fileFullPath: string) { return getRelativePathToDirectoryOrUrl(directoryFullPath, fileFullPath, this.currentDirectory, this.getCanonicalFileName, /*isAbsolutePathAnUrl*/ false); } - private invokeRecursiveFsWatches(fullPath: string, eventName: "rename" | "change", entryFullPath?: string) { - this.invokeFsWatchesRecursiveCallbacks(fullPath, eventName, entryFullPath); + private invokeRecursiveFsWatches(fullPath: string, eventName: "rename" | "change", modifiedTime?: Date, entryFullPath?: string) { + this.invokeFsWatchesRecursiveCallbacks(fullPath, eventName, modifiedTime, entryFullPath); const basePath = getDirectoryPath(fullPath); if (this.getCanonicalFileName(fullPath) !== this.getCanonicalFileName(basePath)) { - this.invokeRecursiveFsWatches(basePath, eventName, entryFullPath || fullPath); + this.invokeRecursiveFsWatches(basePath, eventName, modifiedTime, entryFullPath || fullPath); } } - private invokeFsWatches(fullPath: string, eventName: "rename" | "change") { - this.invokeFsWatchesCallbacks(fullPath, eventName); - this.invokeFsWatchesCallbacks(getDirectoryPath(fullPath), eventName, fullPath); - this.invokeRecursiveFsWatches(fullPath, eventName); + private invokeFsWatches(fullPath: string, eventName: "rename" | "change", modifiedTime?: Date) { + this.invokeFsWatchesCallbacks(fullPath, eventName, modifiedTime); + this.invokeFsWatchesCallbacks(getDirectoryPath(fullPath), eventName, modifiedTime, fullPath); + this.invokeRecursiveFsWatches(fullPath, eventName, modifiedTime); } - private invokeFileAndFsWatches(fileOrFolderFullPath: string, eventKind: FileWatcherEventKind) { - this.invokeFileWatcher(fileOrFolderFullPath, eventKind); - this.invokeFsWatches(fileOrFolderFullPath, eventKind === FileWatcherEventKind.Changed ? "change" : "rename"); + private invokeFileAndFsWatches(fileOrFolderFullPath: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) { + this.invokeFileWatcher(fileOrFolderFullPath, eventKind, modifiedTime); + this.invokeFsWatches(fileOrFolderFullPath, eventKind === FileWatcherEventKind.Changed ? "change" : "rename", modifiedTime); } private toFsEntry(path: string): FSEntryBase { @@ -879,7 +878,7 @@ interface Array { length: number; [n: number]: T; }` const fsEntry = this.fs.get(path); if (fsEntry) { fsEntry.modifiedTime = date; - this.invokeFileAndFsWatches(fsEntry.fullPath, FileWatcherEventKind.Changed); + this.invokeFileAndFsWatches(fsEntry.fullPath, FileWatcherEventKind.Changed, fsEntry.modifiedTime); } } diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index 0fd5bf9e0a933..f5e6b4c61050c 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -4138,7 +4138,7 @@ declare namespace ts { Changed = 1, Deleted = 2 } - export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind) => void; + export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void; export type DirectoryWatcherCallback = (fileName: string) => void; export interface System { args: string[]; diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index beb29fd613a93..7c7bcc4775ba7 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -4138,7 +4138,7 @@ declare namespace ts { Changed = 1, Deleted = 2 } - export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind) => void; + export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void; export type DirectoryWatcherCallback = (fileName: string) => void; export interface System { args: string[]; From 6e0c91650fee5c0f0ece17f6624bb94a0934a9e9 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 18 Mar 2022 15:04:16 -0700 Subject: [PATCH 23/64] Use modified time passed through the file watching in tsbuild --- src/compiler/tsbuildPublic.ts | 100 +++++++++++++++--- .../tsbuildWatch/watchEnvironment.ts | 1 + .../reports-syntax-errors-in-config-file.js | 8 -- .../demo/updates-with-bad-reference.js | 1 - ...for-changes-to-package-json-main-fields.js | 2 - ...t-correctly-with-cts-and-mts-extensions.js | 24 ----- ...se-different-module-resolution-settings.js | 7 -- ...n-no-files-are-emitted-with-incremental.js | 6 +- ...when-watching-when-no-files-are-emitted.js | 6 +- ...mit-any-files-on-error-with-incremental.js | 18 ---- .../does-not-emit-any-files-on-error.js | 18 ---- .../incremental-updates-in-verbose-mode.js | 2 - .../when-file-with-no-error-changes.js | 4 - ...ing-errors-only-changed-file-is-emitted.js | 4 - .../when-file-with-no-error-changes.js | 2 - ...ixing-error-files-all-files-are-emitted.js | 2 - .../when-preserveWatchOutput-is-not-used.js | 3 - ...veWatchOutput-is-passed-on-command-line.js | 3 - ...e-of-program-emit-with-outDir-specified.js | 2 - ...r-recompilation-because-of-program-emit.js | 2 - ...e-down-stream-project-and-then-fixes-it.js | 2 - ...ncing-project-even-for-non-local-change.js | 2 - ...le-is-added,-and-its-subsequent-updates.js | 3 - ...hanges-and-reports-found-errors-message.js | 5 - ...not-start-build-of-referencing-projects.js | 1 - ...le-is-added,-and-its-subsequent-updates.js | 5 - ...hanges-and-reports-found-errors-message.js | 6 -- ...not-start-build-of-referencing-projects.js | 2 - ...hen-noUnusedParameters-changes-to-false.js | 1 - .../works-with-extended-source-files.js | 39 ++----- .../publicApi/with-custom-transformers.js | 1 - .../reexport/Reports-errors-correctly.js | 4 - ...e-projects-with-single-watcher-per-file.js | 11 +- .../same-file-in-multiple-projects.js | 21 +--- 34 files changed, 97 insertions(+), 221 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 6dd0abb5d626c..f3e39e36097a2 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -64,8 +64,8 @@ namespace ts { return existingValue || newValue!; } - function getOrCreateValueMapFromConfigFileMap(configFileMap: ESMap>, resolved: ResolvedConfigFilePath): ESMap { - return getOrCreateValueFromConfigFileMap>(configFileMap, resolved, () => new Map()); + function getOrCreateValueMapFromConfigFileMap(configFileMap: ESMap>, resolved: ResolvedConfigFilePath): ESMap { + return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => new Map()); } function newer(date1: Date | undefined, date2: Date): Date | undefined { @@ -212,6 +212,12 @@ namespace ts { originalGetSourceFile: CompilerHost["getSourceFile"]; } + interface FileWatcherWithModifiedTime { + callbacks: FileWatcherCallback[]; + watcher: FileWatcher; + modifiedTime: Date | undefined; + } + interface SolutionBuilderState extends WatchFactory { readonly host: SolutionBuilderHost; readonly hostWithWatch: SolutionBuilderWithWatchHost; @@ -259,6 +265,8 @@ namespace ts { readonly allWatchedConfigFiles: ESMap; readonly allWatchedExtendedConfigFiles: ESMap>; readonly allWatchedPackageJsonFiles: ESMap>; + readonly filesWatched: ESMap; + readonly lastCachedPackageJsonLookups: ESMap; timerToBuildInvalidatedProject: any; @@ -341,6 +349,8 @@ namespace ts { allWatchedConfigFiles: new Map(), allWatchedExtendedConfigFiles: new Map(), allWatchedPackageJsonFiles: new Map(), + filesWatched: new Map(), + lastCachedPackageJsonLookups: new Map(), timerToBuildInvalidatedProject: undefined, @@ -969,7 +979,7 @@ namespace ts { if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files if (state.readFileWithCache(name) === text) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, getModifiedTime(host, name)); + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, name)); } else { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; @@ -1323,9 +1333,66 @@ namespace ts { return { buildResult, step: BuildStep.QueueReferencingProjects }; } + function isFileWatcherWithModifiedTime(value: FileWatcherWithModifiedTime | Date): value is FileWatcherWithModifiedTime { + return !!(value as FileWatcherWithModifiedTime).watcher; + } + + function getModifiedTime(state: SolutionBuilderState, fileName: string): Date { + const path = toPath(state, fileName); + const existing = state.filesWatched.get(path); + if (state.watch && !!existing) { + if (!isFileWatcherWithModifiedTime(existing)) return existing; + if (existing.modifiedTime) return existing.modifiedTime; + } + const result = ts.getModifiedTime(state.host, fileName); + if (state.watch) { + if (existing) (existing as FileWatcherWithModifiedTime).modifiedTime = result; + else state.filesWatched.set(path, result); + } + return result; + } + + function watchFile(state: SolutionBuilderState, file: string, callback: FileWatcherCallback, pollingInterval: PollingInterval, options: WatchOptions | undefined, watchType: WatchType, project?: ResolvedConfigFileName): FileWatcher { + const path = toPath(state, file); + const existing = state.filesWatched.get(path); + if (existing && isFileWatcherWithModifiedTime(existing)) { + existing.callbacks.push(callback); + } + else { + const watcher = state.watchFile( + file, + (fileName, eventKind, modifiedTime) => { + const existing = Debug.checkDefined(state.filesWatched.get(path)); + Debug.assert(isFileWatcherWithModifiedTime(existing)); + existing.modifiedTime = modifiedTime; + existing.callbacks.forEach(cb => cb(fileName, eventKind, modifiedTime)); + }, + pollingInterval, + options, + watchType, + project + ); + state.filesWatched.set(path, { callbacks: [callback], watcher, modifiedTime: existing }); + } + + return { + close: () => { + const existing = Debug.checkDefined(state.filesWatched.get(path)); + Debug.assert(isFileWatcherWithModifiedTime(existing)); + if (existing.callbacks.length === 1) { + state.filesWatched.delete(path); + closeFileWatcherOf(existing); + } + else { + unorderedRemoveItem(existing.callbacks, callback); + } + } + }; + } + function checkConfigFileUpToDateStatus(state: SolutionBuilderState, configFile: string, oldestOutputFileTime: Date, oldestOutputFileName: string): Status.OutOfDateWithSelf | undefined { // Check tsconfig time - const tsconfigTime = getModifiedTime(state.host, configFile); + const tsconfigTime = getModifiedTime(state, configFile); if (oldestOutputFileTime < tsconfigTime) { return { type: UpToDateStatusType.OutOfDateWithSelf, @@ -1387,7 +1454,7 @@ namespace ts { const { host } = state; // Get timestamps of input files for (const inputFile of project.fileNames) { - const inputTime = getModifiedTime(host, inputFile); + const inputTime = getModifiedTime(state, inputFile); if (inputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.Unbuildable, @@ -1413,7 +1480,7 @@ namespace ts { if (!force) { for (const output of outputs) { // Output is missing; can stop checking - const outputTime = getModifiedTime(host, output); + const outputTime = ts.getModifiedTime(host, output); if (outputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, @@ -1556,7 +1623,7 @@ namespace ts { } if (!anyDtsChange && isDeclarationFileName(file)) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, getModifiedTime(host, file)); + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, file)); } host.setModifiedTime(file, now); @@ -1778,11 +1845,10 @@ namespace ts { function watchConfigFile(state: SolutionBuilderState, resolved: ResolvedConfigFileName, resolvedPath: ResolvedConfigFilePath, parsed: ParsedCommandLine | undefined) { if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath)) return; - state.allWatchedConfigFiles.set(resolvedPath, state.watchFile( + state.allWatchedConfigFiles.set(resolvedPath, watchFile( + state, resolved, - () => { - invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.Full); - }, + () => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.Full), PollingInterval.High, parsed?.watchOptions, WatchType.ConfigFile, @@ -1795,11 +1861,11 @@ namespace ts { resolvedPath, parsed?.options, state.allWatchedExtendedConfigFiles, - (extendedConfigFileName, extendedConfigFilePath) => state.watchFile( + (extendedConfigFileName, extendedConfigFilePath) => watchFile( + state, extendedConfigFileName, () => state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)?.projects.forEach(projectConfigFilePath => - invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, ConfigFileProgramReloadLevel.Full) - ), + invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, ConfigFileProgramReloadLevel.Full)), PollingInterval.High, parsed?.watchOptions, WatchType.ExtendedConfigFile, @@ -1845,7 +1911,8 @@ namespace ts { getOrCreateValueMapFromConfigFileMap(state.allWatchedInputFiles, resolvedPath), arrayToMap(parsed.fileNames, fileName => toPath(state, fileName)), { - createNewValue: (_path, input) => state.watchFile( + createNewValue: (_path, input) => watchFile( + state, input, () => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.None), PollingInterval.Low, @@ -1864,7 +1931,8 @@ namespace ts { getOrCreateValueMapFromConfigFileMap(state.allWatchedPackageJsonFiles, resolvedPath), new Map(state.lastCachedPackageJsonLookups.get(resolvedPath)), { - createNewValue: (path, _input) => state.watchFile( + createNewValue: (path, _input) => watchFile( + state, path, () => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.Full), PollingInterval.High, diff --git a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts index a01b35f5a98cc..a196d6e79d2a8 100644 --- a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts +++ b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts @@ -28,6 +28,7 @@ namespace ts.tscWatch { const host = createSolutionBuilderWithWatchHostForBaseline(sys, cb); const solutionBuilder = createSolutionBuilderWithWatch(host, ["tsconfig.json"], { watch: true, verbose: true }); solutionBuilder.build(); + // TODO: (shkamat): Need different test where we check single watch per file runWatchBaseline({ scenario: "watchEnvironment", subScenario: `same file in multiple projects${singleWatchPerFile ? " with single watcher per file" : ""}`, diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 0656dd80493e8..e5c198473e2ad 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -172,8 +172,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/a.js": 1 } @@ -245,8 +243,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/a.js": 1 } @@ -316,8 +312,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/a.js": 1 } @@ -456,8 +450,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/a.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 3f9750d54ce4a..065bd24be0a8c 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -752,7 +752,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/utilities.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 4ddd8f25253d2..d558b5a865686 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -465,7 +465,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -620,7 +619,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index f4e6a2ed302a8..436705f0660c5 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -159,16 +159,12 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/packages/pkg2/index.ts","pollingInterval":250} /user/username/projects/myproject/packages/pkg2/package.json: {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} /a/lib/package.json: {"fileName":"/a/lib/package.json","pollingInterval":250} - {"fileName":"/a/lib/package.json","pollingInterval":250} /a/package.json: {"fileName":"/a/package.json","pollingInterval":250} - {"fileName":"/a/package.json","pollingInterval":250} /package.json: {"fileName":"/package.json","pollingInterval":250} - {"fileName":"/package.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/packages/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/index.ts: @@ -418,16 +414,12 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/packages/pkg2/index.ts","pollingInterval":250} /user/username/projects/myproject/packages/pkg2/package.json: {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} /a/lib/package.json: {"fileName":"/a/lib/package.json","pollingInterval":250} - {"fileName":"/a/lib/package.json","pollingInterval":250} /a/package.json: {"fileName":"/a/package.json","pollingInterval":250} - {"fileName":"/a/package.json","pollingInterval":250} /package.json: {"fileName":"/package.json","pollingInterval":250} - {"fileName":"/package.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/packages/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/index.ts: @@ -493,7 +485,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -586,16 +577,12 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/packages/pkg2/index.ts","pollingInterval":250} /user/username/projects/myproject/packages/pkg2/package.json: {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} /a/lib/package.json: {"fileName":"/a/lib/package.json","pollingInterval":250} - {"fileName":"/a/lib/package.json","pollingInterval":250} /a/package.json: {"fileName":"/a/package.json","pollingInterval":250} - {"fileName":"/a/package.json","pollingInterval":250} /package.json: {"fileName":"/package.json","pollingInterval":250} - {"fileName":"/package.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/packages/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/index.ts: @@ -656,7 +643,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -760,16 +746,12 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/packages/pkg2/index.ts","pollingInterval":250} /user/username/projects/myproject/packages/pkg2/package.json: {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} /a/lib/package.json: {"fileName":"/a/lib/package.json","pollingInterval":250} - {"fileName":"/a/lib/package.json","pollingInterval":250} /a/package.json: {"fileName":"/a/package.json","pollingInterval":250} - {"fileName":"/a/package.json","pollingInterval":250} /package.json: {"fileName":"/package.json","pollingInterval":250} - {"fileName":"/package.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/packages/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/index.ts: @@ -835,7 +817,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -905,16 +886,12 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/packages/pkg2/const.cts","pollingInterval":250} /user/username/projects/myproject/packages/pkg2/package.json: {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/packages/pkg2/package.json","pollingInterval":250} /a/lib/package.json: {"fileName":"/a/lib/package.json","pollingInterval":250} - {"fileName":"/a/lib/package.json","pollingInterval":250} /a/package.json: {"fileName":"/a/package.json","pollingInterval":250} - {"fileName":"/a/package.json","pollingInterval":250} /package.json: {"fileName":"/package.json","pollingInterval":250} - {"fileName":"/package.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/packages/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/packages/pkg1/index.ts: @@ -1032,7 +1009,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.cts": 1, "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 69cb7fb663bd0..469bcf5b7525c 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -122,13 +122,10 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/project1/index.ts","pollingInterval":250} /user/username/projects/myproject/project1/node_modules/file/package.json: {"fileName":"/user/username/projects/myproject/project1/node_modules/file/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/project1/node_modules/file/package.json","pollingInterval":250} /user/username/projects/myproject/node_modules/@types/foo/package.json: {"fileName":"/user/username/projects/myproject/node_modules/@types/foo/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/node_modules/@types/foo/package.json","pollingInterval":250} /user/username/projects/myproject/node_modules/@types/bar/package.json: {"fileName":"/user/username/projects/myproject/node_modules/@types/bar/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/node_modules/@types/bar/package.json","pollingInterval":250} /user/username/projects/myproject/project2/tsconfig.json: {"fileName":"/user/username/projects/myproject/project2/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/project2/index.ts: @@ -370,13 +367,10 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/project1/index.ts","pollingInterval":250} /user/username/projects/myproject/project1/node_modules/file/package.json: {"fileName":"/user/username/projects/myproject/project1/node_modules/file/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/project1/node_modules/file/package.json","pollingInterval":250} /user/username/projects/myproject/node_modules/@types/foo/package.json: {"fileName":"/user/username/projects/myproject/node_modules/@types/foo/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/node_modules/@types/foo/package.json","pollingInterval":250} /user/username/projects/myproject/node_modules/@types/bar/package.json: {"fileName":"/user/username/projects/myproject/node_modules/@types/bar/package.json","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/node_modules/@types/bar/package.json","pollingInterval":250} /user/username/projects/myproject/project2/tsconfig.json: {"fileName":"/user/username/projects/myproject/project2/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/project2/index.ts: @@ -488,7 +482,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/project1/index.ts": 1, "/user/username/projects/myproject/project1/index.js": 1, "/user/username/projects/myproject/project1/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 2e148541a67db..66f6d79efe85f 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -213,8 +213,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, "/user/username/projects/myproject/b.js": 1 } @@ -341,8 +340,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, "/user/username/projects/myproject/b.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index dbfdfb3f33fda..599dae03d7e73 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -165,8 +165,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, "/user/username/projects/myproject/b.js": 1 } @@ -244,8 +243,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/a.js": 1, "/user/username/projects/myproject/b.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index f44063edcedfb..a4c7a9c96fc91 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -198,9 +198,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -371,9 +368,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -535,9 +529,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -619,9 +610,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -770,9 +758,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -858,9 +843,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index cf624e5ccbc7a..f3b03cc658d67 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -198,9 +198,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -314,9 +311,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -403,9 +397,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -487,9 +478,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -581,9 +569,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } @@ -668,9 +653,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index f360de04dda0c..b290006996ce8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -708,7 +708,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 @@ -1013,7 +1012,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 65abdc2f3309a..66dddda15966c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -248,8 +248,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1 } @@ -326,8 +324,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 24f03fae81fde..fdd268e1248b0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -248,8 +248,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1 } @@ -330,8 +328,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1, "/user/username/projects/solution/app/filewitherror.d.ts": 1, "/user/username/projects/solution/app/filewithouterror.d.ts": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 047ea5d16d87c..11db14ee00e29 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -172,8 +172,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 3345161548cc8..eab86785cdee7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -248,8 +248,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/filewitherror.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index baad273717dff..e989d4e3efd81 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -685,7 +685,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1 } @@ -843,8 +842,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 70123c0b1b552..d6a2845901903 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -683,7 +683,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.js": 1 } @@ -840,8 +839,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index c4b34c8ff691a..a2170a7885ddc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -353,9 +353,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/outdir/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 309917e1f8ee9..5eb060d4924b9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -373,9 +373,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 60bcbccb08559..ae79ee346bf76 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -359,7 +359,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/library/library.ts": 1, "/user/username/projects/sample1/library/library.js": 1 } @@ -521,7 +520,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/library/library.ts": 1, "/user/username/projects/sample1/library/library.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index d32bc576b9e53..6a8af65e003cc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -398,7 +398,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/index.js": 1 } @@ -702,7 +701,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/index.js": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index e616112ffa260..12f30683950a8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -943,9 +943,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 1d873769c62ad..746abf455b830 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -615,7 +615,6 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } @@ -1078,8 +1077,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } @@ -1560,8 +1557,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 2741c7fb8bea2..4a9a6a91b2ce7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -603,7 +603,6 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 92170f11875ec..a073f92990ae9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -653,8 +653,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } @@ -998,9 +996,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index dec2ceb9f40ac..6692d6214c85a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -659,8 +659,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } @@ -1130,8 +1128,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } @@ -1619,8 +1615,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 05ebc0e849ce3..f67495f93c3ad 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -645,8 +645,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/anothermodule.js": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index f6dbd155147c4..26f7749624faa 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -154,7 +154,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/index.ts": 1, "/user/username/projects/myproject/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 64f837a898b0c..04d25256689d3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -325,15 +325,12 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, "/a/b/commonfile1.d.ts": 2, "/a/b/commonfile2.js": 1, "/a/b/commonfile2.d.ts": 2, "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/project1.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1 + "/a/b/project1.tsconfig.json": 1 } setModifiedTimes:: { @@ -415,13 +412,11 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/other.ts": 1, "/a/b/other.js": 1, "/a/b/other.d.ts": 2, "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/project2.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1 + "/a/b/bravo.tsconfig.json": 1 } setModifiedTimes:: { @@ -510,12 +505,9 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/other.ts": 1, "/a/b/other.js": 1, "/a/b/other.d.ts": 2, - "/a/b/project2.tsconfig.tsbuildinfo": 1, - "/a/b/project2.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1 + "/a/b/project2.tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -578,10 +570,8 @@ WatchedFiles:: {"fileName":"/a/b/alpha.tsconfig.json","pollingInterval":250} /a/b/commonfile1.ts: {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} /a/b/commonfile2.ts: {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} /a/b/project2.tsconfig.json: {"fileName":"/a/b/project2.tsconfig.json","pollingInterval":250} /a/b/other.ts: @@ -622,13 +612,9 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/other.ts": 1, "/a/b/commonfile1.js": 1, "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1, - "/a/b/project2.tsconfig.json": 1 + "/a/b/other.js": 1 } setModifiedTimes:: {} @@ -682,10 +668,8 @@ WatchedFiles:: {"fileName":"/a/b/alpha.tsconfig.json","pollingInterval":250} /a/b/commonfile1.ts: {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} /a/b/commonfile2.ts: {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} /a/b/project2.tsconfig.json: {"fileName":"/a/b/project2.tsconfig.json","pollingInterval":250} /a/b/other.ts: @@ -716,15 +700,11 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, "/a/b/commonfile1.js": 1, "/a/b/commonfile1.d.ts": 2, "/a/b/commonfile2.js": 1, "/a/b/commonfile2.d.ts": 2, - "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/project1.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1 + "/a/b/project1.tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -782,10 +762,8 @@ WatchedFiles:: {"fileName":"/a/b/alpha.tsconfig.json","pollingInterval":250} /a/b/commonfile1.ts: {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile1.ts","pollingInterval":250} /a/b/commonfile2.ts: {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} - {"fileName":"/a/b/commonFile2.ts","pollingInterval":250} /a/b/project2.tsconfig.json: {"fileName":"/a/b/project2.tsconfig.json","pollingInterval":250} /a/b/other.ts: @@ -812,14 +790,9 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/other.ts": 1, "/a/b/commonfile1.js": 1, "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1, - "/a/b/project2.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1 + "/a/b/other.js": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 357ed35eafb6f..b34cc6d717d01 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -445,7 +445,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/shared/index.ts": 1, "/user/username/projects/myproject/shared/index.js": 1, "/user/username/projects/myproject/webpack/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index edd21f9bd4b4e..88b9eb4875fe4 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -492,8 +492,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, - "/user/username/projects/reexport/src/pure/session.ts": 1, "/user/username/projects/reexport/out/pure/index.js": 1 } @@ -687,8 +685,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, - "/user/username/projects/reexport/src/pure/session.ts": 1, "/user/username/projects/reexport/out/pure/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 09d226a178a95..cff360aaff23b 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -236,7 +236,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, "/user/username/projects/myproject/pkg0/index.js": 1, "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, @@ -407,14 +407,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 4, "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, "/user/username/projects/myproject/pkg3/index.js": 1 } @@ -618,12 +613,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 3, "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, "/user/username/projects/myproject/pkg2/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index c535af49f295c..cff360aaff23b 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -162,9 +162,6 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/pkg0/index.ts","pollingInterval":250} /user/username/projects/myproject/typings/xterm.d.ts: {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} /user/username/projects/myproject/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/pkg1/index.ts: @@ -239,7 +236,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 4, + "/user/username/projects/myproject/typings/xterm.d.ts": 1, "/user/username/projects/myproject/pkg0/index.js": 1, "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, @@ -361,9 +358,6 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/pkg0/index.ts","pollingInterval":250} /user/username/projects/myproject/typings/xterm.d.ts: {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} /user/username/projects/myproject/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/pkg1/index.ts: @@ -413,14 +407,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 4, "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, "/user/username/projects/myproject/pkg3/index.js": 1 } @@ -461,8 +450,6 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/pkg0/index.ts","pollingInterval":250} /user/username/projects/myproject/typings/xterm.d.ts: {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} /user/username/projects/myproject/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/pkg1/index.ts: @@ -585,8 +572,6 @@ WatchedFiles:: {"fileName":"/user/username/projects/myproject/pkg0/index.ts","pollingInterval":250} /user/username/projects/myproject/typings/xterm.d.ts: {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} - {"fileName":"/user/username/projects/myproject/typings/xterm.d.ts","pollingInterval":250} /user/username/projects/myproject/pkg1/tsconfig.json: {"fileName":"/user/username/projects/myproject/pkg1/tsconfig.json","pollingInterval":250} /user/username/projects/myproject/pkg1/index.ts: @@ -628,12 +613,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 3, "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, "/user/username/projects/myproject/pkg2/index.js": 1 } From e6a3ee84cafa65db5fb94428fddd05f64507f410 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 29 Mar 2022 13:06:12 -0700 Subject: [PATCH 24/64] Handle force build as separate upto date status --- src/compiler/tsbuild.ts | 10 ++- src/compiler/tsbuildPublic.ts | 74 +++++++++---------- .../always-builds-under-with-force-option.js | 8 +- ...uilds-from-start-if-force-option-is-set.js | 3 - 4 files changed, 45 insertions(+), 50 deletions(-) diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index 7080a373d56c7..5439b46d68067 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -26,7 +26,8 @@ namespace ts { /** * Projects with no outputs (i.e. "solution" files) */ - ContainerOnly + ContainerOnly, + ForceBuild, } export type UpToDateStatus = @@ -40,7 +41,8 @@ namespace ts { | Status.UpstreamBlocked | Status.ComputingUpstream | Status.TsVersionOutOfDate - | Status.ContainerOnly; + | Status.ContainerOnly + | Status.ForceBuild; export namespace Status { /** @@ -138,6 +140,10 @@ namespace ts { outOfDateOutputFileName: string; newerProjectName: string; } + + export interface ForceBuild { + type: UpToDateStatusType.ForceBuild; + } } export function resolveConfigFileProjectName(project: string): ResolvedConfigFileName { diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index f3e39e36097a2..6e2056c104a9e 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1470,6 +1470,8 @@ namespace ts { } } + if (force) return { type: UpToDateStatusType.ForceBuild }; + // Collect the expected outputs of this project const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); @@ -1477,38 +1479,36 @@ namespace ts { let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; let newestDeclarationFileContentChangedTime; - if (!force) { - for (const output of outputs) { - // Output is missing; can stop checking - const outputTime = ts.getModifiedTime(host, output); - if (outputTime === missingFileModifiedTime) { - return { - type: UpToDateStatusType.OutputMissing, - missingOutputFileName: output - }; - } + for (const output of outputs) { + // Output is missing; can stop checking + const outputTime = ts.getModifiedTime(host, output); + if (outputTime === missingFileModifiedTime) { + return { + type: UpToDateStatusType.OutputMissing, + missingOutputFileName: output + }; + } - if (outputTime < oldestOutputFileTime) { - oldestOutputFileTime = outputTime; - oldestOutputFileName = output; - } + if (outputTime < oldestOutputFileTime) { + oldestOutputFileTime = outputTime; + oldestOutputFileName = output; + } - // If an output is older than the newest input, we can stop checking - if (outputTime < newestInputFileTime) { - return { - type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: oldestOutputFileName, - newerInputFileName: newestInputFileName - }; - } + // If an output is older than the newest input, we can stop checking + if (outputTime < newestInputFileTime) { + return { + type: UpToDateStatusType.OutOfDateWithSelf, + outOfDateOutputFileName: oldestOutputFileName, + newerInputFileName: newestInputFileName + }; + } - // Keep track of when the most recent time a .d.ts file was changed. - // In addition to file timestamps, we also keep track of when a .d.ts file - // had its file touched but not had its contents changed - this allows us - // to skip a downstream typecheck - if (isDeclarationFileName(output)) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); - } + // Keep track of when the most recent time a .d.ts file was changed. + // In addition to file timestamps, we also keep track of when a .d.ts file + // had its file touched but not had its contents changed - this allows us + // to skip a downstream typecheck + if (isDeclarationFileName(output)) { + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); } } @@ -1557,7 +1557,7 @@ namespace ts { ); if (dependentPackageFileStatus) return dependentPackageFileStatus; - if (!force && !state.buildInfoChecked.has(resolvedPath)) { + if (!state.buildInfoChecked.has(resolvedPath)) { state.buildInfoChecked.set(resolvedPath, true); const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); if (buildInfoPath) { @@ -2079,14 +2079,6 @@ namespace ts { } function reportUpToDateStatus(state: SolutionBuilderState, configFileName: string, status: UpToDateStatus) { - if (state.options.force && (status.type === UpToDateStatusType.UpToDate || status.type === UpToDateStatusType.UpToDateWithUpstreamTypes)) { - return reportStatus( - state, - Diagnostics.Project_0_is_being_forcibly_rebuilt, - relName(state, configFileName) - ); - } - switch (status.type) { case UpToDateStatusType.OutOfDateWithSelf: return reportStatus( @@ -2167,6 +2159,12 @@ namespace ts { status.version, version ); + case UpToDateStatusType.ForceBuild: + return reportStatus( + state, + Diagnostics.Project_0_is_being_forcibly_rebuilt, + relName(state, configFileName) + ); case UpToDateStatusType.ContainerOnly: // Don't report status on "solution" projects // falls through diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 6b592ba32ceef..57313be87b3fc 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -117,11 +117,8 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -430,14 +427,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 243399324ed93..770c5bbeb82b7 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -407,14 +407,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } From 7cb0f40f071cb81c362cda46dbf42ec47f32b362 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 7 Apr 2022 15:49:29 -0700 Subject: [PATCH 25/64] uptodate status worker to read buildinfo and use it to determine upto date ness --- src/compiler/builder.ts | 5 +- src/compiler/diagnosticMessages.json | 4 + src/compiler/tsbuild.ts | 10 ++ src/compiler/tsbuildPublic.ts | 132 +++++++++++++----- src/compiler/watchPublic.ts | 15 +- src/testRunner/unittests/tsbuild/helpers.ts | 15 +- src/testRunner/unittests/tsbuild/sample.ts | 5 +- .../modules-and-globals-mixed-in-amd.js | 19 ++- .../multiple-emitHelpers-in-all-projects.js | 30 ++-- .../multiple-prologues-in-all-projects.js | 30 ++-- .../shebang-in-all-projects.js | 19 ++- .../amdModulesWithOut/stripInternal.js | 27 ++-- .../triple-slash-refs-in-all-projects.js | 19 ++- ...e-resolution-finds-original-source-file.js | 8 +- .../reports-syntax-errors-in-config-file.js | 10 +- ...nce-and-both-extend-config-with-include.js | 8 +- ...th-projects-extends-config-with-include.js | 8 +- ...ter-initial-build-doesnt-build-anything.js | 24 ++-- ...ugh-triple-slash-but-uses-no-references.js | 4 +- ...file-is-referenced-through-triple-slash.js | 12 +- ...d-inferred-type-from-referenced-project.js | 8 +- ...s-not-in-rootDir-at-the-import-location.js | 4 +- ...ng-setup-correctly-and-reports-no-error.js | 12 +- ...-emitDeclarationOnly-and-declarationMap.js | 8 +- ...import-project-with-emitDeclarationOnly.js | 8 +- ...mports-project-with-emitDeclarationOnly.js | 13 +- ...es-is-empty-and-references-are-provided.js | 2 +- ...-transitive-module-with-isolatedModules.js | 12 +- .../inferred-type-from-transitive-module.js | 12 +- ...hange-in-signature-with-isolatedModules.js | 20 +-- ...based-projects-and-emits-them-correctly.js | 6 +- ...ved-json-files-and-emits-them-correctly.js | 6 +- ...rojects-and-concatenates-them-correctly.js | 15 +- ...s-merged-and-contains-late-bound-member.js | 12 +- ...project-correctly-with-preserveSymlinks.js | 4 +- ...-file-from-referenced-project-correctly.js | 4 +- ...t-resolution-options-referenced-project.js | 8 +- ...fiers-across-projects-resolve-correctly.js | 8 +- ...zed-module-specifiers-resolve-correctly.js | 12 +- .../semantic-errors-with-incremental.js | 9 +- .../syntax-errors-with-incremental.js | 9 +- .../non-module-projects-without-prepend.js | 12 +- ...al-flag-changes-between-non-dts-changes.js | 39 ++---- ...erated-when-incremental-is-set-to-false.js | 8 +- ...-buildInfo-absence-results-in-new-build.js | 18 +-- .../baseline-sectioned-sourcemaps.js | 50 +++---- .../declarationMap-and-sourceMap-disabled.js | 8 +- .../emitHelpers-in-all-projects.js | 69 ++++----- ...tHelpers-in-only-one-dependency-project.js | 46 +++--- .../tsbuild/outfile-concat/explainFiles.js | 45 ++---- .../multiple-emitHelpers-in-all-projects.js | 46 +++--- ...tiple-emitHelpers-in-different-projects.js | 46 +++--- .../multiple-prologues-in-all-projects.js | 69 ++++----- ...ultiple-prologues-in-different-projects.js | 46 +++--- .../outfile-concat/shebang-in-all-projects.js | 50 +++---- .../shebang-in-only-one-dependency-project.js | 29 ++-- .../outfile-concat/strict-in-all-projects.js | 69 ++++----- .../strict-in-one-dependency.js | 46 +++--- ...hen-internal-is-inside-another-internal.js | 12 +- ...en-one-two-three-are-prepended-in-order.js | 41 ++---- .../stripInternal-jsdoc-style-comment.js | 43 ++---- ...en-one-two-three-are-prepended-in-order.js | 28 ++-- ...-jsdoc-style-with-comments-emit-enabled.js | 29 ++-- ...l-when-few-members-of-enum-are-internal.js | 12 +- ...en-one-two-three-are-prepended-in-order.js | 66 +++------ ...nal-when-prepend-is-completely-internal.js | 8 +- ...en-one-two-three-are-prepended-in-order.js | 41 ++---- ...tripInternal-with-comments-emit-enabled.js | 43 ++---- .../tsbuild/outfile-concat/stripInternal.js | 66 +++------ .../triple-slash-refs-in-all-projects.js | 50 +++---- .../triple-slash-refs-in-one-project.js | 29 ++-- ...roject-is-not-composite-but-incremental.js | 12 +- ...t-composite-but-uses-project-references.js | 18 +-- ...final-project-specifies-tsBuildInfoFile.js | 12 +- ...-source-files-are-empty-in-the-own-file.js | 29 ++-- ...otDir-is-not-specified-and-is-composite.js | 8 +- ...iles-belong-to-rootDir-and-is-composite.js | 8 +- .../builds-correctly.js | 4 +- ...nfo-file-because-no-rootDir-in-the-base.js | 9 +- ...reports-error-for-same-tsbuildinfo-file.js | 9 +- ...eports-no-error-when-tsbuildinfo-differ.js | 8 +- .../build-with-custom-transformers.js | 4 +- .../files-containing-json-file.js | 4 +- ...ting-json-module-from-project-reference.js | 8 +- .../resolveJsonModule/include-and-files.js | 4 +- ...r-include-and-file-name-matches-ts-file.js | 4 +- ...nclude-of-json-along-with-other-include.js | 4 +- .../tsbuild/resolveJsonModule/include-only.js | 4 +- .../tsbuild/resolveJsonModule/sourcemap.js | 10 +- .../resolveJsonModule/without-outDir.js | 8 +- .../building-using-buildReferencedProject.js | 4 +- ...uilding-using-getNextInvalidatedProject.js | 6 +- ...rectly-when-declarationDir-is-specified.js | 6 +- ...ilds-correctly-when-outDir-is-specified.js | 6 +- .../can-detect-when-and-what-to-rebuild.js | 67 +++------ ...ojects-if-upstream-projects-have-errors.js | 66 ++++++++- ...vent-if-version-doesnt-match-ts-version.js | 6 +- ...does-not-write-any-files-in-a-dry-build.js | 2 +- .../reference/tsbuild/sample1/explainFiles.js | 42 +++--- ...it-would-skip-builds-during-a-dry-build.js | 11 -- .../sample1/invalidates-projects-correctly.js | 10 +- .../tsbuild/sample1/listEmittedFiles.js | 28 ++-- .../reference/tsbuild/sample1/listFiles.js | 28 ++-- ...uilds-when-extended-config-file-changes.js | 32 ++--- .../reference/tsbuild/sample1/sample.js | 81 ++++------- .../when-declaration-option-changes.js | 10 +- .../when-esModuleInterop-option-changes.js | 32 ++--- .../when-logic-specifies-tsBuildInfoFile.js | 12 +- .../sample1/when-module-option-changes.js | 8 +- .../sample1/when-target-option-changes.js | 8 +- ...roject-uses-different-module-resolution.js | 4 +- .../transitiveReferences/builds-correctly.js | 4 +- ...de-resolution-with-external-module-name.js | 4 +- .../reports-syntax-errors-in-config-file.js | 10 +- .../demo/updates-with-bad-reference.js | 8 +- .../demo/updates-with-circular-reference.js | 12 +- ...for-changes-to-package-json-main-fields.js | 4 +- ...t-correctly-with-cts-and-mts-extensions.js | 8 +- ...se-different-module-resolution-settings.js | 12 +- ...n-no-files-are-emitted-with-incremental.js | 31 ++-- ...mit-any-files-on-error-with-incremental.js | 28 ++-- .../creates-solution-in-watch-mode.js | 6 +- .../incremental-updates-in-verbose-mode.js | 20 +-- .../when-file-with-no-error-changes.js | 6 +- ...ing-errors-only-changed-file-is-emitted.js | 6 +- .../when-file-with-no-error-changes.js | 4 +- ...ixing-error-files-all-files-are-emitted.js | 4 +- .../when-preserveWatchOutput-is-not-used.js | 10 +- ...veWatchOutput-is-passed-on-command-line.js | 10 +- ...e-of-program-emit-with-outDir-specified.js | 8 +- ...r-recompilation-because-of-program-emit.js | 8 +- ...-references-watches-only-those-projects.js | 4 +- ...tches-config-files-that-are-not-present.js | 6 +- ...e-down-stream-project-and-then-fixes-it.js | 6 +- ...ncing-project-even-for-non-local-change.js | 8 +- ...le-is-added,-and-its-subsequent-updates.js | 6 +- ...hanges-and-reports-found-errors-message.js | 8 +- ...not-start-build-of-referencing-projects.js | 4 +- ...le-is-added,-and-its-subsequent-updates.js | 10 +- ...hanges-and-reports-found-errors-message.js | 12 +- ...not-start-build-of-referencing-projects.js | 8 +- ...project-with-extended-config-is-removed.js | 8 +- .../works-with-extended-source-files.js | 42 +++--- .../publicApi/with-custom-transformers.js | 12 +- .../reexport/Reports-errors-correctly.js | 12 +- .../incremental/noEmit-changes-composite.js | 14 +- .../noEmit-changes-incremental-declaration.js | 14 +- .../incremental/noEmit-changes-incremental.js | 14 +- ...t-changes-with-initial-noEmit-composite.js | 14 +- ...-initial-noEmit-incremental-declaration.js | 14 +- ...changes-with-initial-noEmit-incremental.js | 14 +- .../when-project-has-strict-true.js | 5 +- .../on-sample-project.js | 32 +---- ...-different-folders-with-no-files-clause.js | 8 +- ...nsitive-references-in-different-folders.js | 8 +- .../on-transitive-references.js | 8 +- ...roject-uses-different-module-resolution.js | 4 +- ...es-field-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-package-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...ubFolder-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-package-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-project-when-solution-is-already-built.js | 4 +- ...noEmit-with-composite-with-emit-builder.js | 14 +- ...it-with-composite-with-semantic-builder.js | 14 +- 168 files changed, 1301 insertions(+), 1657 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 0485f10cbf071..ec75d3aa1a345 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -800,6 +800,7 @@ namespace ts { exportedModulesMap?: ProgramBuildInfoReferencedMap; semanticDiagnosticsPerFile?: ProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[]; + hasPendingChange?: boolean; } /** @@ -898,6 +899,7 @@ namespace ts { exportedModulesMap, semanticDiagnosticsPerFile, affectedFilesPendingEmit, + hasPendingChange: state.changedFilesSet?.size ? true : undefined, }; function relativeToBuildInfoEnsuringAbsolutePath(path: string) { @@ -941,7 +943,8 @@ namespace ts { // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly from the buildinfo optionKey === "strict" || // We need to store these to determine whether `lib` files need to be rechecked. - optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck") { + optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" || + optionKey === "noemit") { (result ||= {})[name] = convertToReusableCompilerOptionValue( optionInfo, options[name] as CompilerOptionsValue, diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index e8a765e514cb5..a71b2fd8dfaf8 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5272,6 +5272,10 @@ "category": "Message", "code": 6398 }, + "Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes are not emitted": { + "category": "Message", + "code": 6399 + }, "The expected type comes from property '{0}' which is declared here on type '{1}'": { "category": "Message", diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index 5439b46d68067..5140cd87669f3 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -18,6 +18,7 @@ namespace ts { OutputMissing, OutOfDateWithSelf, OutOfDateWithUpstream, + OutOfDateBuildInfo, UpstreamOutOfDate, UpstreamBlocked, ComputingUpstream, @@ -37,6 +38,7 @@ namespace ts { | Status.OutputMissing | Status.OutOfDateWithSelf | Status.OutOfDateWithUpstream + | Status.OutOfDateBuildInfo | Status.UpstreamOutOfDate | Status.UpstreamBlocked | Status.ComputingUpstream @@ -102,6 +104,14 @@ namespace ts { newerInputFileName: string; } + /** + * Buildinfo indicates that build is out of date + */ + export interface OutOfDateBuildInfo { + type: UpToDateStatusType.OutOfDateBuildInfo, + buildInfoFile: string; + } + /** * This project depends on an out-of-date project, so shouldn't be built yet */ diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 6e2056c104a9e..70531cf550bed 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -210,6 +210,7 @@ namespace ts { originalWriteFile: CompilerHost["writeFile"] | undefined; originalReadFileWithCache: CompilerHost["readFile"]; originalGetSourceFile: CompilerHost["getSourceFile"]; + buildInfoCache: ESMap; } interface FileWatcherWithModifiedTime { @@ -282,7 +283,7 @@ namespace ts { // State of the solution const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options); - const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions); + const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions) as CompilerHost & ReadBuildProgramHost; setGetSourceFileAsHashVersioned(compilerHost, host); compilerHost.getParsedCommandLine = fileName => parseConfigFile(state, fileName as ResolvedConfigFileName, toResolvedConfigFilePath(state, fileName as ResolvedConfigFileName)); compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames); @@ -300,6 +301,7 @@ namespace ts { compilerHost.resolveTypeReferenceDirectives = (typeReferenceDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) => loadWithTypeDirectiveCache(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader); } + compilerHost.getBuildInfo = fileName => getBuildInfo(state, fileName); const { watchFile, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options); @@ -573,6 +575,7 @@ namespace ts { originalWriteFile, originalReadFileWithCache, originalGetSourceFile, + buildInfoCache: new Map(), }; } @@ -986,7 +989,9 @@ namespace ts { } } - emittedOutputs.set(toPath(state, name), name); + const path = toPath(state, name); + emittedOutputs.set(path, name); + state.cache?.buildInfoCache.delete(path); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1003,7 +1008,12 @@ namespace ts { function emitBuildInfo(writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult { Debug.assertIsDefined(program); Debug.assert(step === BuildStep.EmitBuildInfo); - const emitResult = program.emitBuildInfo(writeFileCallback, cancellationToken); + const emitResult = program.emitBuildInfo((name, data, writeByteOrderMark, onError, sourceFiles) => { + const path = toPath(state, name); + state.cache?.buildInfoCache.delete(path); + if (writeFileCallback) writeFileCallback(name, data, writeByteOrderMark, onError, sourceFiles); + else state.compilerHost.writeFile(name, data, writeByteOrderMark, onError, sourceFiles); + }, cancellationToken); if (emitResult.diagnostics.length) { reportErrors(state, emitResult.diagnostics); state.diagnostics.set(projectPath, [...state.diagnostics.get(projectPath)!, ...emitResult.diagnostics]); @@ -1101,7 +1111,9 @@ namespace ts { const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); outputFiles.forEach(({ name, text, writeByteOrderMark }) => { - emittedOutputs.set(toPath(state, name), name); + const path = toPath(state, name); + emittedOutputs.set(path, name); + state.cache?.buildInfoCache.delete(path); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1390,6 +1402,16 @@ namespace ts { }; } + function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string): BuildInfo | undefined { + const path = toPath(state, buildInfoPath); + const existing = state.cache?.buildInfoCache.get(path); + if (existing !== undefined) return existing || undefined; + const value = state.readFileWithCache(buildInfoPath); + const buildInfo = value ? ts.getBuildInfo(value) : undefined; + state.cache?.buildInfoCache.set(path, buildInfo || false); + return buildInfo; + } + function checkConfigFileUpToDateStatus(state: SolutionBuilderState, configFile: string, oldestOutputFileTime: Date, oldestOutputFileName: string): Status.OutOfDateWithSelf | undefined { // Check tsconfig time const tsconfigTime = getModifiedTime(state, configFile); @@ -1472,43 +1494,89 @@ namespace ts { if (force) return { type: UpToDateStatusType.ForceBuild }; - // Collect the expected outputs of this project - const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); - + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); // Now see if all outputs are newer than the newest input let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; let newestDeclarationFileContentChangedTime; - for (const output of outputs) { - // Output is missing; can stop checking - const outputTime = ts.getModifiedTime(host, output); + if (buildInfoPath) { + const outputTime = ts.getModifiedTime(host, buildInfoPath); if (outputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, - missingOutputFileName: output + missingOutputFileName: buildInfoPath }; } - if (outputTime < oldestOutputFileTime) { - oldestOutputFileTime = outputTime; - oldestOutputFileName = output; + const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath)); + if (!state.buildInfoChecked.has(resolvedPath)) { + state.buildInfoChecked.set(resolvedPath, true); + if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { + return { + type: UpToDateStatusType.TsVersionOutputOfDate, + version: buildInfo.version + }; + } } // If an output is older than the newest input, we can stop checking if (outputTime < newestInputFileTime) { return { type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: oldestOutputFileName, + outOfDateOutputFileName: buildInfoPath, newerInputFileName: newestInputFileName }; } - // Keep track of when the most recent time a .d.ts file was changed. - // In addition to file timestamps, we also keep track of when a .d.ts file - // had its file touched but not had its contents changed - this allows us - // to skip a downstream typecheck - if (isDeclarationFileName(output)) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); + if (buildInfo.program) { + if (buildInfo.program.hasPendingChange || + (!buildInfo.program.options?.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { + return { + type: UpToDateStatusType.OutOfDateBuildInfo, + buildInfoFile: buildInfoPath + }; + } + } + + oldestOutputFileTime = outputTime; + oldestOutputFileName = buildInfoPath; + } + // Dont check output timestamps if we have buildinfo telling us output is uptodate + else { + // Collect the expected outputs of this project + const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); + for (const output of outputs) { + if (buildInfoPath === output) continue; + // Output is missing; can stop checking + const outputTime = ts.getModifiedTime(state.host, output); + if (outputTime === missingFileModifiedTime) { + return { + type: UpToDateStatusType.OutputMissing, + missingOutputFileName: output + }; + } + + if (outputTime < oldestOutputFileTime) { + oldestOutputFileTime = outputTime; + oldestOutputFileName = output; + } + + // If an output is older than the newest input, we can stop checking + if (outputTime < newestInputFileTime) { + return { + type: UpToDateStatusType.OutOfDateWithSelf, + outOfDateOutputFileName: oldestOutputFileName, + newerInputFileName: newestInputFileName + }; + } + + // Keep track of when the most recent time a .d.ts file was changed. + // In addition to file timestamps, we also keep track of when a .d.ts file + // had its file touched but not had its contents changed - this allows us + // to skip a downstream typecheck + if (isDeclarationFileName(output)) { + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); + } } } @@ -1557,21 +1625,6 @@ namespace ts { ); if (dependentPackageFileStatus) return dependentPackageFileStatus; - if (!state.buildInfoChecked.has(resolvedPath)) { - state.buildInfoChecked.set(resolvedPath, true); - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); - if (buildInfoPath) { - const value = state.readFileWithCache(buildInfoPath); - const buildInfo = value && getBuildInfo(value); - if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { - return { - type: UpToDateStatusType.TsVersionOutputOfDate, - version: buildInfo.version - }; - } - } - } - if (usesPrepend && pseudoUpToDate) { return { type: UpToDateStatusType.OutOfDateWithPrepend, @@ -2103,6 +2156,13 @@ namespace ts { relName(state, configFileName), relName(state, status.missingOutputFileName) ); + case UpToDateStatusType.OutOfDateBuildInfo: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_are_not_emitted, + relName(state, configFileName), + relName(state, status.buildInfoFile) + ); case UpToDateStatusType.UpToDate: if (status.newestInputFileTime !== undefined) { return reportStatus( diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 8af1397e19cff..70e8869633c86 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -3,14 +3,23 @@ namespace ts { useCaseSensitiveFileNames(): boolean; getCurrentDirectory(): string; readFile(fileName: string): string | undefined; + /*@internal*/ + getBuildInfo?(fileName: string): BuildInfo | undefined; } export function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost) { if (outFile(compilerOptions)) return undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions); if (!buildInfoPath) return undefined; - const content = host.readFile(buildInfoPath); - if (!content) return undefined; - const buildInfo = getBuildInfo(content); + let buildInfo; + if (host.getBuildInfo) { + buildInfo = host.getBuildInfo(buildInfoPath); + if (!buildInfo) return undefined; + } + else { + const content = host.readFile(buildInfoPath); + if (!content) return undefined; + buildInfo = getBuildInfo(content); + } if (buildInfo.version !== version) return undefined; if (!buildInfo.program) return undefined; return createBuildProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host); diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index d41095779f559..04aa069800a48 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -207,6 +207,7 @@ interface Symbol { exportedModulesMap?: MapLike; semanticDiagnosticsPerFile?: readonly ReadableProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; + hasPendingChange?: boolean } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { @@ -231,6 +232,7 @@ interface Symbol { emitKind === BuilderFileEmit.Full ? "Full" : Debug.assertNever(emitKind) ]), + hasPendingChange: buildInfo.program.hasPendingChange, }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { @@ -480,8 +482,7 @@ interface Symbol { fileNames: undefined, fileNamesList: undefined, fileInfos: sanitizedFileInfos, - // Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter - options: { ...readableBuildInfo.program.options, noEmit: undefined }, + options: sanatizeCompilerOptions(readableBuildInfo.program.options), exportedModulesMap: undefined, affectedFilesPendingEmit: undefined, }, @@ -491,6 +492,16 @@ interface Symbol { }; } + function sanatizeCompilerOptions(options: CompilerOptions | undefined) { + if (!options) return options; + let result: CompilerOptions | undefined; + for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { + // Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter + if (name.toLowerCase() !== "noemit") (result ||= {})[name] = options[name]; + } + return result; + } + export enum CleanBuildDescrepancy { CleanFileTextDifferent, CleanFilePresent, diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 2178c422ab9ea..5a42cada15a02 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -285,12 +285,13 @@ namespace ts { }); describe("downstream-blocked compilations", () => { - verifyTsc({ + verifyTscWithEdits({ scenario: "sample1", subScenario: "does not build downstream projects if upstream projects have errors", fs: () => projFs, commandLineArgs: ["--b", "/src/tests", "--verbose"], - modifyFs: fs => replaceText(fs, "/src/logic/index.ts", "c.multiply(10, 15)", `c.muitply()`) + modifyFs: fs => replaceText(fs, "/src/logic/index.ts", "c.multiply(10, 15)", `c.muitply()`), + edits: noChangeOnlyRuns }); }); diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index d8070635f23d5..aa3e06e04edb8 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -73,11 +73,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:07 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:07 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/lib/tsconfig.json'... -[12:00:16 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:16 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:17 AM] Building project '/src/app/tsconfig.json'... @@ -88,10 +88,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -988,7 +988,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:31 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:31 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:32 AM] Building project '/src/lib/tsconfig.json'... @@ -1005,16 +1005,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 30b66c15018fe..f6fc9029e064a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -85,11 +85,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:13 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:13 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:14 AM] Building project '/src/lib/tsconfig.json'... -[12:00:22 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:22 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:23 AM] Building project '/src/app/tsconfig.json'... @@ -100,10 +100,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2165,7 +2165,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:38 AM] Building project '/src/lib/tsconfig.json'... @@ -2182,16 +2182,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { @@ -3817,7 +3814,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:01:03 AM] Building project '/src/lib/tsconfig.json'... @@ -3834,16 +3831,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index bea2bef1f19b4..311824c0405d5 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -78,11 +78,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:14 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:14 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:15 AM] Building project '/src/lib/tsconfig.json'... -[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:24 AM] Building project '/src/app/tsconfig.json'... @@ -93,10 +93,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1274,7 +1274,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:39 AM] Building project '/src/lib/tsconfig.json'... @@ -1291,16 +1291,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { @@ -2198,7 +2195,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:01:04 AM] Building project '/src/lib/tsconfig.json'... @@ -2215,16 +2212,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 69d98a2a11294..e0e4496155049 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -76,11 +76,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/app/tsconfig.json'... @@ -91,10 +91,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1010,7 +1010,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:35 AM] Building project '/src/lib/tsconfig.json'... @@ -1027,16 +1027,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index e70f7f0601342..4bd536200a66c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -99,11 +99,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:10 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/app/tsconfig.json'... @@ -114,10 +114,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -4915,7 +4915,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:35 AM] Building project '/src/lib/tsconfig.json'... @@ -4932,16 +4932,13 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { @@ -8758,7 +8755,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:01:00 AM] Building project '/src/lib/tsconfig.json'... @@ -8773,14 +8770,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 0654c244dbc25..68d7ffc4f18db 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -83,11 +83,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:11 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist +[12:00:11 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/lib/tsconfig.json'... -[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/app/tsconfig.json'... @@ -99,11 +99,11 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/tripleRef.d.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, "/src/app/tripleRef.d.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1225,7 +1225,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts' +[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' [12:00:36 AM] Building project '/src/lib/tsconfig.json'... @@ -1243,17 +1243,14 @@ getModifiedTime:: { "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, "/src/lib/tripleRef.d.ts": 1, - "/src/lib/module.js": 1, + "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, "/src/app/tripleRef.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.js.map": 1, - "/src/app/module.d.ts": 2, - "/src/app/module.d.ts.map": 1, "/src/app/module.tsbuildinfo": 1, - "/src/app/tsconfig.json": 1 + "/src/app/tsconfig.json": 1, + "/src/app/module.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 3713d106a9a8a..ebc4dbcf092e7 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -73,11 +73,11 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:09 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/module.js' does not exist +[12:00:09 AM] Project 'src/lib/tsconfig.json' is out of date because output file 'src/module.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/lib/tsconfig.json'... -[12:00:18 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist +[12:00:18 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/app/tsconfig.json'... @@ -88,10 +88,10 @@ getModifiedTime:: { "/src/lib/file1.ts": 1, "/src/lib/file2.ts": 1, "/src/lib/global.ts": 1, - "/src/module.js": 1, + "/src/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.js": 1 + "/src/app/module.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index da6434f649578..1a7c5db3bb80c 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -48,7 +48,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -94,7 +94,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -131,7 +131,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -165,7 +165,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -194,7 +194,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, "/src/b.ts": 1, - "/src/a.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index b0ca3a34baa76..d92e865a8c128 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -43,14 +43,14 @@ Output:: * src/shared/tsconfig.json * src/webpack/tsconfig.json -[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist +[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/shared/tsconfig.json'... /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist +[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/webpack/tsconfig.json'... @@ -62,9 +62,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, - "/src/target-tsc-build/shared/index.js": 1, + "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, "/src/webpack/index.ts": 1, - "/src/target-tsc-build/webpack/index.js": 1 + "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index eb6028b46df36..c4428564cb3e4 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -44,14 +44,14 @@ Output:: * src/webpack/tsconfig.json * src/tsconfig.json -[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/index.js' does not exist +[12:00:17 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/target-tsc-build/shared/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/shared/tsconfig.json'... /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/index.js' does not exist +[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/webpack/tsconfig.json'... @@ -63,9 +63,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/shared/index.ts": 1, "/src/shared/typings-base/globals.d.ts": 2, - "/src/target-tsc-build/shared/index.js": 1, + "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, "/src/webpack/index.ts": 1, - "/src/target-tsc-build/webpack/index.js": 1 + "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 62fde2b2bbaf3..b09bba4a1e646 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -85,15 +85,15 @@ Output:: * src/tests/tsconfig.json * src/tsconfig.json -[12:00:07 AM] Project 'src/src/folder/tsconfig.json' is out of date because output file 'src/src/folder/index.js' does not exist +[12:00:07 AM] Project 'src/src/folder/tsconfig.json' is out of date because output file 'src/src/folder/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/src/folder/tsconfig.json'... -[12:00:13 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/index.js' does not exist +[12:00:13 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/tsconfig.tsbuildinfo' does not exist [12:00:14 AM] Building project '/src/src/folder2/tsconfig.json'... -[12:00:19 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:19 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/tests/tsconfig.json'... @@ -101,11 +101,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/folder/index.ts": 1, - "/src/src/folder/index.js": 1, + "/src/src/folder/tsconfig.tsbuildinfo": 1, "/src/src/folder2/index.ts": 1, - "/src/src/folder2/index.js": 1, + "/src/src/folder2/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -275,28 +275,22 @@ Output:: * src/tests/tsconfig.json * src/tsconfig.json -[12:00:26 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/index.js' +[12:00:26 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' -[12:00:27 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/index.js' +[12:00:27 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' -[12:00:28 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:28 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/folder/index.ts": 1, - "/src/src/folder/index.js": 1, - "/src/src/folder/index.d.ts": 1, "/src/src/folder/tsconfig.tsbuildinfo": 1, "/src/src/folder/tsconfig.json": 1, "/src/src/folder2/index.ts": 1, - "/src/src/folder2/index.js": 1, - "/src/src/folder2/index.d.ts": 1, "/src/src/folder2/tsconfig.tsbuildinfo": 1, "/src/src/folder2/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 61f589baed082..993f4d8a14497 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -61,7 +61,7 @@ Output:: [12:00:21 AM] Projects in this build: * src/solution/tsconfig.json -[12:00:22 AM] Project 'src/solution/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist +[12:00:22 AM] Project 'src/solution/tsconfig.json' is out of date because output file 'src/solution/lib/tsconfig.tsbuildinfo' does not exist [12:00:23 AM] Building project '/src/solution/tsconfig.json'... @@ -72,7 +72,7 @@ getModifiedTime:: { "/src/solution/src/common/types.d.ts": 1, "/src/solution/src/subProject/index.ts": 1, "/src/solution/src/subProject2/index.ts": 1, - "/src/solution/lib/src/common/nominal.js": 1 + "/src/solution/lib/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 3dabd6f1e9978..1923792da9c57 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -65,15 +65,15 @@ Output:: * src/solution/src/tsconfig.json * src/solution/tsconfig.json -[12:00:22 AM] Project 'src/solution/src/common/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/nominal.js' does not exist +[12:00:22 AM] Project 'src/solution/src/common/tsconfig.json' is out of date because output file 'src/solution/lib/src/common/tsconfig.tsbuildinfo' does not exist [12:00:23 AM] Building project '/src/solution/src/common/tsconfig.json'... -[12:00:31 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/index.js' does not exist +[12:00:31 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/tsconfig.tsbuildinfo' does not exist [12:00:32 AM] Building project '/src/solution/src/subProject/tsconfig.json'... -[12:00:38 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/index.js' does not exist +[12:00:38 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/tsconfig.tsbuildinfo' does not exist [12:00:39 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... @@ -81,11 +81,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/solution/src/common/nominal.ts": 1, - "/src/solution/lib/src/common/nominal.js": 1, + "/src/solution/lib/src/common/tsconfig.tsbuildinfo": 1, "/src/solution/src/subProject/index.ts": 1, - "/src/solution/lib/src/subProject/index.js": 1, + "/src/solution/lib/src/subProject/tsconfig.tsbuildinfo": 1, "/src/solution/src/subProject2/index.ts": 1, - "/src/solution/lib/src/subProject2/index.js": 1 + "/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index dfa547755b62c..9f63946f6a0c5 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -46,11 +46,11 @@ Output:: * src/packages/pkg1/tsconfig.json * src/packages/pkg2/tsconfig.json -[12:00:17 AM] Project 'src/packages/pkg1/tsconfig.json' is out of date because output file 'src/packages/pkg1/lib/src/index.js' does not exist +[12:00:17 AM] Project 'src/packages/pkg1/tsconfig.json' is out of date because output file 'src/packages/pkg1/lib/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/packages/pkg1/tsconfig.json'... -[12:00:25 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/src/index.js' does not exist +[12:00:25 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/packages/pkg2/tsconfig.json'... @@ -58,9 +58,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1/src/index.ts": 1, - "/src/packages/pkg1/lib/src/index.js": 1, + "/src/packages/pkg1/lib/tsconfig.tsbuildinfo": 1, "/src/packages/pkg2/src/index.ts": 1, - "/src/packages/pkg2/lib/src/index.js": 1 + "/src/packages/pkg2/lib/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index ab490205d03e6..b830768d1c2dd 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -152,7 +152,7 @@ Output:: * src/zoo/tsconfig.json * src/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... @@ -222,7 +222,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/core/utilities.ts": 1, - "/src/lib/core/utilities.js": 1 + "/src/lib/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 5bd62abee08fb..a406068de24fb 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -151,15 +151,15 @@ Output:: * src/zoo/tsconfig.json * src/tsconfig.json -[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/utilities.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/lib/core/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:15 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/animal.js' does not exist +[12:00:15 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/tsconfig.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/animals/tsconfig.json'... -[12:00:26 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/zoo.js' does not exist +[12:00:26 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/tsconfig.tsbuildinfo' does not exist [12:00:27 AM] Building project '/src/zoo/tsconfig.json'... @@ -167,13 +167,13 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/utilities.ts": 1, - "/src/lib/core/utilities.js": 1, + "/src/lib/core/tsconfig.tsbuildinfo": 1, "/src/animals/animal.ts": 1, "/src/animals/dog.ts": 1, "/src/animals/index.ts": 1, - "/src/lib/animals/animal.js": 1, + "/src/lib/animals/tsconfig.tsbuildinfo": 1, "/src/zoo/zoo.ts": 1, - "/src/lib/zoo/zoo.js": 1 + "/src/lib/zoo/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 53fcdedef3cbc..eac8920354950 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -73,7 +73,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig.json'... @@ -84,7 +84,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -269,7 +269,7 @@ Output:: [12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' [12:00:23 AM] Building project '/src/tsconfig.json'... @@ -280,7 +280,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/tsconfig.tsbuildinfo": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index d6b90d3e88b2c..7c58ccda7ca77 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -73,7 +73,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/tsconfig.json -[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/tsconfig.json'... @@ -84,7 +84,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -256,7 +256,7 @@ Output:: [12:00:18 AM] Projects in this build: * src/tsconfig.json -[12:00:19 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:19 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' [12:00:20 AM] Building project '/src/tsconfig.json'... @@ -267,7 +267,7 @@ getModifiedTime:: { "/src/src/b.ts": 1, "/src/src/c.ts": 1, "/src/src/index.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/tsconfig.tsbuildinfo": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 25119fd0389d8..414cd4aa0302d 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -67,7 +67,7 @@ Output:: [12:00:08 AM] Projects in this build: * src/tsconfig.json -[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/lib/a.d.ts' does not exist +[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/tsconfig.json'... @@ -77,7 +77,7 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -225,7 +225,7 @@ Output:: [12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' [12:00:23 AM] Building project '/src/tsconfig.json'... @@ -237,7 +237,8 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 2, + "/src/tsconfig.tsbuildinfo": 1, + "/src/lib/a.d.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1 } @@ -365,7 +366,7 @@ Output:: [12:00:35 AM] Projects in this build: * src/tsconfig.json -[12:00:36 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/lib/a.d.ts' is older than newest input 'src/src/a.ts' +[12:00:36 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' [12:00:37 AM] Building project '/src/tsconfig.json'... @@ -375,7 +376,7 @@ getModifiedTime:: { "/src/src/a.ts": 1, "/src/src/b.ts": 1, "/src/src/c.ts": 1, - "/src/lib/a.d.ts": 1, + "/src/tsconfig.tsbuildinfo": 1, "/src/lib/b.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 5330d5c16ba9a..72437878281b1 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -65,7 +65,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/core/index.ts": 1, - "/src/core/index.js": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index aeac3b94d79b0..b258c3bef36bf 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -75,7 +75,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/tsconfig.json -[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:08 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/tsconfig.json'... @@ -87,7 +87,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -283,7 +283,7 @@ Output:: [12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:24 AM] Building project '/src/tsconfig.json'... @@ -297,7 +297,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, + "/src/obj/tsconfig.tsbuildinfo": 1, "/src/obj/lazyIndex.d.ts": 1 } @@ -448,7 +448,7 @@ Output:: [12:00:38 AM] Projects in this build: * src/tsconfig.json -[12:00:39 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:39 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:40 AM] Building project '/src/tsconfig.json'... @@ -462,7 +462,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, + "/src/obj/tsconfig.tsbuildinfo": 1, "/src/obj/lazyIndex.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 1d27ef95342ce..5ced3100d9cc8 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -75,7 +75,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig.json'... @@ -87,7 +87,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -283,7 +283,7 @@ Output:: [12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:23 AM] Building project '/src/tsconfig.json'... @@ -297,7 +297,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: { @@ -447,7 +447,7 @@ Output:: [12:00:37 AM] Projects in this build: * src/tsconfig.json -[12:00:38 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:38 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:39 AM] Building project '/src/tsconfig.json'... @@ -461,7 +461,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 61aacf9c5a6b3..82ed4c7f5875d 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -77,7 +77,7 @@ Output:: [12:00:08 AM] Projects in this build: * src/tsconfig.json -[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/bar.js' does not exist +[12:00:09 AM] Project 'src/tsconfig.json' is out of date because output file 'src/obj/tsconfig.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/tsconfig.json'... @@ -89,7 +89,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -287,7 +287,7 @@ Output:: [12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:25 AM] Building project '/src/tsconfig.json'... @@ -307,7 +307,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -460,7 +460,7 @@ Output:: [12:00:29 AM] Projects in this build: * src/tsconfig.json -[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:31 AM] Building project '/src/tsconfig.json'... @@ -474,7 +474,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1, + "/src/obj/tsconfig.tsbuildinfo": 1, "/src/obj/bar.d.ts": 1, "/src/obj/index.d.ts": 1, "/src/obj/lazyIndex.d.ts": 1, @@ -614,7 +614,7 @@ Output:: [12:00:45 AM] Projects in this build: * src/tsconfig.json -[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/bar.ts' +[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' [12:00:47 AM] Building project '/src/tsconfig.json'... @@ -634,7 +634,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -782,7 +782,7 @@ Output:: [12:00:51 AM] Projects in this build: * src/tsconfig.json -[12:00:52 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/bar.js' is older than newest input 'src/lazyIndex.ts' +[12:00:52 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/lazyIndex.ts' [12:00:53 AM] Building project '/src/tsconfig.json'... @@ -796,7 +796,7 @@ getModifiedTime:: { "/src/global.d.ts": 1, "/src/index.ts": 1, "/src/lazyIndex.ts": 1, - "/src/obj/bar.js": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index a56998f9ff5f1..6ed2c3d94444a 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -119,11 +119,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, - "/lib/common/nominal.js": 1, + "/lib/common/tsconfig.tsbuildinfo": 1, "/src/sub-project/index.js": 1, - "/lib/sub-project/index.js": 1, + "/lib/sub-project/tsconfig.tsbuildinfo": 1, "/src/sub-project-2/index.js": 1, - "/lib/sub-project-2/index.js": 1 + "/lib/sub-project-2/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 5df21ba03c9c5..a2b558bfccc10 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -120,11 +120,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/index.ts": 1, "/src/common/obj.json": 1, - "/src/common/index.js": 1, + "/src/common/tsconfig.tsbuildinfo": 1, "/src/sub-project/index.js": 1, - "/out/sub-project/index.js": 1, + "/out/sub-project/tsconfig.tsbuildinfo": 1, "/src/sub-project-2/index.js": 1, - "/out/sub-project-2/index.js": 1 + "/out/sub-project-2/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 32996cd1c0382..c73938112fb50 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -121,11 +121,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, - "/src/common/common.js": 1, + "/src/common/common.tsbuildinfo": 1, "/src/sub-project/index.js": 1, - "/src/sub-project/sub-project.js": 1, + "/src/sub-project/sub-project.tsbuildinfo": 1, "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/sub-project-2.js": 1 + "/src/sub-project-2/sub-project-2.tsbuildinfo": 1 } setModifiedTime:: {} @@ -509,19 +509,16 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/common/nominal.js": 1, - "/src/common/common.js": 1, - "/src/common/common.d.ts": 1, "/src/common/common.tsbuildinfo": 1, "/src/common/tsconfig.json": 1, "/src/tsconfig.base.json": 2, "/src/sub-project/index.js": 1, - "/src/sub-project/sub-project.js": 1, + "/src/sub-project/sub-project.tsbuildinfo": 1, "/src/sub-project/sub-project.d.ts": 1, "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/sub-project-2.js": 1, - "/src/sub-project-2/sub-project-2.d.ts": 2, "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, - "/src/sub-project-2/tsconfig.json": 1 + "/src/sub-project-2/tsconfig.json": 1, + "/src/sub-project-2/sub-project-2.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 962f4e942e4b6..5999bd1ddd738 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -51,7 +51,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig.json -[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/src/hkt.js' does not exist +[12:00:07 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig.json'... @@ -61,7 +61,7 @@ getModifiedTime:: { "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -177,7 +177,7 @@ Output:: [12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' +[12:00:15 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' [12:00:16 AM] Building project '/src/tsconfig.json'... @@ -189,7 +189,7 @@ getModifiedTime:: { "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: { @@ -301,7 +301,7 @@ Output:: [12:00:24 AM] Projects in this build: * src/tsconfig.json -[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/src/hkt.js' is older than newest input 'src/src/main.ts' +[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' [12:00:26 AM] Building project '/src/tsconfig.json'... @@ -313,7 +313,7 @@ getModifiedTime:: { "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, "/src/src/main.ts": 1, - "/src/src/hkt.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index ebaab2eac018c..b439fb011b356 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -47,7 +47,7 @@ Output:: * packages/pkg2/tsconfig.json * packages/pkg1/tsconfig.json -[12:00:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/const.js' does not exist +[12:00:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/tsconfig.tsbuildinfo' does not exist [12:00:41 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... @@ -262,7 +262,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 400e8268c9a79..92663b57eddfe 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -47,7 +47,7 @@ Output:: * packages/pkg2/tsconfig.json * packages/pkg1/tsconfig.json -[12:00:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/const.js' does not exist +[12:00:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/tsconfig.tsbuildinfo' does not exist [12:00:41 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... @@ -264,7 +264,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index 319c140e86560..a5cb866f251a5 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -40,7 +40,7 @@ Output:: * src/packages/pkg1.tsconfig.json * src/packages/pkg2.tsconfig.json -[12:00:18 AM] Project 'src/packages/pkg1.tsconfig.json' is out of date because output file 'src/packages/pkg1_index.js' does not exist +[12:00:18 AM] Project 'src/packages/pkg1.tsconfig.json' is out of date because output file 'src/packages/pkg1.tsconfig.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/packages/pkg1.tsconfig.json'... @@ -50,7 +50,7 @@ File '/src/packages/typeroot1/sometype/package.json' does not exist. File '/src/packages/typeroot1/sometype/index.d.ts' exist - use it as a name resolution result. Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/src/packages/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot1/sometype/index.d.ts', primary: true. ======== -[12:00:24 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2_index.js' does not exist +[12:00:24 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist [12:00:25 AM] Building project '/src/packages/pkg2.tsconfig.json'... @@ -64,9 +64,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/packages/pkg1_index.ts": 1, - "/src/packages/pkg1_index.js": 1, + "/src/packages/pkg1.tsconfig.tsbuildinfo": 1, "/src/packages/pkg2_index.ts": 1, - "/src/packages/pkg2_index.js": 1 + "/src/packages/pkg2.tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 2f4ee3bf46a42..c6b2cfee5adef 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -130,11 +130,11 @@ Output:: * src/src-types/tsconfig.json * src/src-dogs/tsconfig.json -[12:00:25 AM] Project 'src/src-types/tsconfig.json' is out of date because output file 'src/src-types/dogconfig.js' does not exist +[12:00:25 AM] Project 'src/src-types/tsconfig.json' is out of date because output file 'src/src-types/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/src-types/tsconfig.json'... -[12:00:33 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/dog.js' does not exist +[12:00:33 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/tsconfig.tsbuildinfo' does not exist [12:00:34 AM] Building project '/src/src-dogs/tsconfig.json'... @@ -143,13 +143,13 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src-types/dogconfig.ts": 1, "/src/src-types/index.ts": 1, - "/src/src-types/dogconfig.js": 1, + "/src/src-types/tsconfig.tsbuildinfo": 1, "/src/src-dogs/dog.ts": 1, "/src/src-dogs/dogconfig.ts": 1, "/src/src-dogs/index.ts": 1, "/src/src-dogs/lassie/lassieconfig.ts": 1, "/src/src-dogs/lassie/lassiedog.ts": 1, - "/src/src-dogs/dog.js": 1 + "/src/src-dogs/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 3cfa9b1be7913..8703d18e9b5eb 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -123,15 +123,15 @@ Output:: * src/solution/tsconfig.json * src/tsconfig.json -[12:00:20 AM] Project 'src/solution/common/tsconfig.json' is out of date because output file 'src/lib/solution/common/nominal.js' does not exist +[12:00:20 AM] Project 'src/solution/common/tsconfig.json' is out of date because output file 'src/lib/solution/common/tsconfig.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/solution/common/tsconfig.json'... -[12:00:29 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/index.js' does not exist +[12:00:29 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist [12:00:30 AM] Building project '/src/solution/sub-project/tsconfig.json'... -[12:00:36 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/index.js' does not exist +[12:00:36 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/tsconfig.tsbuildinfo' does not exist [12:00:37 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... @@ -139,11 +139,11 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/solution/common/nominal.ts": 1, - "/src/lib/solution/common/nominal.js": 1, + "/src/lib/solution/common/tsconfig.tsbuildinfo": 1, "/src/solution/sub-project/index.ts": 1, - "/src/lib/solution/sub-project/index.js": 1, + "/src/lib/solution/sub-project/tsconfig.tsbuildinfo": 1, "/src/solution/sub-project-2/index.ts": 1, - "/src/lib/solution/sub-project-2/index.js": 1 + "/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index a811e35c033d8..14d2920b9a748 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -74,7 +74,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -211,7 +211,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -259,7 +259,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -363,9 +363,6 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index d183522083a65..a85c38064ed13 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -68,7 +68,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -118,7 +118,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -174,7 +174,7 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 + "/src/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -284,9 +284,6 @@ getModifiedTime:: { "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index b5aeea4d38b9d..0ae8cdc1e9e8c 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/first_PART1.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/tsconfig.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:31 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/second_part1.js' does not exist +[12:00:31 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/tsconfig.tsbuildinfo' does not exist [12:00:32 AM] Building project '/src/second/tsconfig.json'... -[12:00:43 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/third_part1.js' does not exist +[12:00:43 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/tsconfig.tsbuildinfo' does not exist [12:00:44 AM] Building project '/src/third/tsconfig.json'... @@ -154,12 +154,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/first_PART1.js": 1, + "/src/first/tsconfig.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/second/second_part1.js": 1, + "/src/second/tsconfig.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/third_part1.js": 1 + "/src/third/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 359ba7d271058..344a0cdb0f41e 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -154,12 +154,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -611,11 +611,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:42 AM] Building project '/src/first/tsconfig.json'... -[12:00:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -627,14 +627,10 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, @@ -799,11 +795,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:59 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:59 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:00 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' @@ -815,22 +811,15 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 604a1b0323ed5..c6703a127019b 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -136,11 +136,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... @@ -154,10 +154,10 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 85c3b72640803..d0864a587c889 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -539,7 +539,7 @@ Output:: [12:00:41 AM] Building project '/src/first/tsconfig.json'... -[12:00:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -553,26 +553,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.js.map": 1, - "/src/first/bin/first-output.d.ts": 2, - "/src/first/bin/first-output.d.ts.map": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index acfda407024e7..895ba353ae12e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/first/tsconfig.json'... -[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/second/tsconfig.json'... -[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:28 AM] Building project '/src/third/tsconfig.json'... @@ -175,12 +175,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1941,13 +1941,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:00:57 AM] Building project '/src/third/tsconfig.json'... @@ -1956,14 +1956,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -1976,20 +1977,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3294,11 +3287,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3311,6 +3304,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -3321,7 +3315,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -3334,23 +3327,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 193a8e01a9e34..4982975687baa 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -134,11 +134,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:22 AM] Building project '/src/second/tsconfig.json'... @@ -152,10 +152,10 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index ced66355da350..5bcd1667d1be4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -142,15 +142,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:31 AM] Building project '/src/third/tsconfig.json'... @@ -181,12 +181,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2722,13 +2722,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:00 AM] Building project '/src/third/tsconfig.json'... @@ -2737,14 +2737,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -2757,20 +2758,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -4678,11 +4671,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4695,6 +4688,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -4705,7 +4699,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -4718,23 +4711,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -6218,11 +6204,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -6235,6 +6221,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -6245,7 +6232,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -6258,23 +6244,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 60dd155c3803a..4a6f8a1fa3454 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -138,15 +138,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:30 AM] Building project '/src/third/tsconfig.json'... @@ -156,12 +156,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2339,11 +2339,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2357,23 +2357,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -3526,11 +3519,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3544,23 +3537,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 5bc38368c6a57..60954af62c9e6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -136,7 +136,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/first/tsconfig.json'... @@ -148,7 +148,7 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/second/tsconfig.json'... @@ -158,7 +158,7 @@ src/second/second_part1.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' src/second/second_part2.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' -[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:28 AM] Building project '/src/third/tsconfig.json'... @@ -176,12 +176,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1942,7 +1942,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:47 AM] Building project '/src/first/tsconfig.json'... @@ -1954,9 +1954,9 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:00:57 AM] Building project '/src/third/tsconfig.json'... @@ -1974,20 +1974,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3292,7 +3284,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:12 AM] Building project '/src/first/tsconfig.json'... @@ -3304,7 +3296,7 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3318,23 +3310,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 2175c6c16c54f..21b262232b2c4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -154,15 +154,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:16 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:16 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:17 AM] Building project '/src/first/tsconfig.json'... -[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:27 AM] Building project '/src/second/tsconfig.json'... -[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:37 AM] Building project '/src/third/tsconfig.json'... @@ -172,12 +172,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -3938,11 +3938,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3956,23 +3956,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -6183,11 +6176,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:22 AM] Building project '/src/first/tsconfig.json'... -[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -6201,23 +6194,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 9a2e57bc5ff71..be105e0bb6371 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -144,15 +144,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:32 AM] Building project '/src/third/tsconfig.json'... @@ -162,12 +162,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2973,11 +2973,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2991,23 +2991,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -4610,11 +4603,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4628,23 +4621,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 6e6bfa5f91f6b..624527e272fdd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -141,15 +141,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:36 AM] Building project '/src/third/tsconfig.json'... @@ -180,12 +180,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2255,13 +2255,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:05 AM] Building project '/src/third/tsconfig.json'... @@ -2270,14 +2270,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -2290,20 +2291,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3808,11 +3801,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:29 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3825,6 +3818,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -3835,7 +3829,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -3848,23 +3841,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -5021,11 +5007,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:46 AM] Building project '/src/first/tsconfig.json'... -[12:01:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -5038,6 +5024,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -5048,7 +5035,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -5061,23 +5047,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index f14f1d99c8ed3..680ecc550e171 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -138,15 +138,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:32 AM] Building project '/src/third/tsconfig.json'... @@ -156,12 +156,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2127,11 +2127,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2145,23 +2145,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -3238,11 +3231,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3256,23 +3249,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 9230979c07a34..fcdf1ead25674 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -140,15 +140,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:32 AM] Building project '/src/third/tsconfig.json'... @@ -179,12 +179,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1970,13 +1970,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:01 AM] Building project '/src/third/tsconfig.json'... @@ -1985,14 +1985,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, @@ -2005,20 +2006,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3342,11 +3335,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3359,6 +3352,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -3369,7 +3363,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, @@ -3382,23 +3375,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index b0096fa878839..8db4e3d8d99b0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -137,15 +137,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -155,12 +155,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1933,11 +1933,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -1951,23 +1951,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 2f631ebb19ee7..706b80740fde6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:31 AM] Building project '/src/third/tsconfig.json'... @@ -175,12 +175,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2031,13 +2031,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:00 AM] Building project '/src/third/tsconfig.json'... @@ -2046,14 +2046,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -2066,20 +2067,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3444,11 +3437,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3461,6 +3454,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -3471,7 +3465,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -3484,23 +3477,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -4523,11 +4509,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4540,6 +4526,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -4550,7 +4537,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -4563,23 +4549,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index b4e406ae2535b..3b9e3336d363d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -154,12 +154,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1961,11 +1961,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -1979,23 +1979,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -2969,11 +2962,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2987,23 +2980,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index e465e58eab5aa..c06a279b30ebd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -164,15 +164,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:30 AM] Building project '/src/third/tsconfig.json'... @@ -182,12 +182,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 3781cc39dc66f..5ed8b9986ea59 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -163,15 +163,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:33 AM] Building project '/src/third/tsconfig.json'... @@ -181,12 +181,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5729,7 +5729,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:52 AM] Building project '/src/first/tsconfig.json'... @@ -5751,23 +5751,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -10104,7 +10098,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:28 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:28 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:29 AM] Building project '/src/first/tsconfig.json'... @@ -10126,21 +10120,14 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index e0b50ebe6c0ef..6e7dab39b52b6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -162,15 +162,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:31 AM] Building project '/src/third/tsconfig.json'... @@ -180,12 +180,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5438,11 +5438,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -5456,23 +5456,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -7808,11 +7801,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -7826,21 +7819,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 1c068bdf22113..ebb6ffea2f725 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -163,15 +163,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:36 AM] Building project '/src/third/tsconfig.json'... @@ -181,12 +181,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -6071,7 +6071,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:55 AM] Building project '/src/first/tsconfig.json'... @@ -6093,23 +6093,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 347b51494c2f5..0840e81cdc113 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -162,15 +162,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:34 AM] Building project '/src/third/tsconfig.json'... @@ -180,12 +180,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5774,11 +5774,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -5792,23 +5792,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 9e42128c27f21..3828fcdf91073 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -159,15 +159,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:30 AM] Building project '/src/third/tsconfig.json'... @@ -177,12 +177,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 14cb964a0fe8d..5f7a08447dcb9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -163,15 +163,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:12 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:33 AM] Building project '/src/third/tsconfig.json'... @@ -202,12 +202,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5750,15 +5750,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.js.map' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' [12:01:01 AM] Building project '/src/second/tsconfig.json'... -[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/second' +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' [12:01:10 AM] Building project '/src/third/tsconfig.json'... @@ -5767,19 +5767,20 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/second/tsconfig.json": 1, "/src/first/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, "/src/2/second-output.d.ts.map": 1, @@ -5789,19 +5790,11 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -11345,7 +11338,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:27 AM] Building project '/src/first/tsconfig.json'... @@ -11366,6 +11359,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/second/tsconfig.json": 1, "/src/first/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -11375,7 +11369,6 @@ readFiles:: { "/src/2/second-output.js.map": 2, "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 2, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, @@ -11389,23 +11382,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -15742,7 +15729,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:02:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:02:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:02:04 AM] Building project '/src/first/tsconfig.json'... @@ -15763,6 +15750,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/second/tsconfig.json": 1, "/src/first/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -15772,7 +15760,6 @@ readFiles:: { "/src/2/second-output.js.map": 2, "/src/2/second-output.d.ts": 2, "/src/2/second-output.d.ts.map": 2, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, @@ -15786,21 +15773,14 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index f78232c394718..85ffc05f2d226 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -83,11 +83,11 @@ Output:: * src/first/tsconfig.json * src/third/tsconfig.json -[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:11 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:21 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:22 AM] Building project '/src/third/tsconfig.json'... @@ -95,9 +95,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index c35115843346f..9562fcef65a35 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -163,15 +163,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:15 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:36 AM] Building project '/src/third/tsconfig.json'... @@ -181,12 +181,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5929,7 +5929,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:55 AM] Building project '/src/first/tsconfig.json'... @@ -5951,23 +5951,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -10504,7 +10498,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:31 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:31 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:32 AM] Building project '/src/first/tsconfig.json'... @@ -10526,21 +10520,14 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 2, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 4bed2481a1311..e8273512dd620 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -162,15 +162,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:34 AM] Building project '/src/third/tsconfig.json'... @@ -180,12 +180,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5638,11 +5638,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -5656,23 +5656,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -8108,11 +8101,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:19 AM] Building project '/src/first/tsconfig.json'... -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -8126,21 +8119,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index a2286c7d4ef8c..9a72a9c6379b5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -162,15 +162,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:10 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:31 AM] Building project '/src/third/tsconfig.json'... @@ -201,12 +201,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -5459,13 +5459,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:00 AM] Building project '/src/third/tsconfig.json'... @@ -5474,14 +5474,15 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -5494,20 +5495,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -8208,11 +8201,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -8225,6 +8218,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -8235,7 +8229,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -8248,23 +8241,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { @@ -10600,11 +10586,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -10617,6 +10603,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, @@ -10627,7 +10614,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -10640,21 +10626,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index b21e40e7d6402..a5813f5930d1a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -151,15 +151,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:13 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:34 AM] Building project '/src/third/tsconfig.json'... @@ -193,13 +193,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2292,13 +2292,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.js.map' is older than newest input 'src/first' +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' [12:01:03 AM] Building project '/src/third/tsconfig.json'... @@ -2307,17 +2307,18 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/third/tripleRef.d.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -2330,21 +2331,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3916,11 +3909,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3933,6 +3926,7 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, @@ -3944,7 +3938,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.js.map": 1, "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, @@ -3957,24 +3950,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index e7bac44d3f017..3c732fcbc5a66 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -141,15 +141,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:09 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:30 AM] Building project '/src/third/tsconfig.json'... @@ -159,13 +159,13 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -2057,11 +2057,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2075,24 +2075,17 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index b0beb11c0d3bc..0126df1eeb1af 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -136,15 +136,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -154,12 +154,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index efd20a537c5f0..18f5b2bd45dcd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -136,11 +136,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... @@ -154,10 +154,10 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 } @@ -1760,11 +1760,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:45 AM] Building project '/src/first/tsconfig.json'... -[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -1776,14 +1776,10 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 7714aae5b3192..26cb9aa49f730 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -137,15 +137,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -155,12 +155,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 6853f2adb9639..21628720693f9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -134,15 +134,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.js' does not exist +[12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.js' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist [12:00:29 AM] Building project '/src/third/tsconfig.json'... @@ -152,12 +152,12 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } setModifiedTime:: {} @@ -1818,11 +1818,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.js' is older than newest input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.js.map' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' [12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -1836,23 +1836,16 @@ getModifiedTime:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/tsconfig.json": 1 + "/src/third/tsconfig.json": 1, + "/src/third/thirdjs/output/third-output.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 2319a44f9aa3b..f88d973ba4db3 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -27,7 +27,7 @@ Output:: [12:00:09 AM] Projects in this build: * src/tsconfig.json -[12:00:10 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/tsconfig.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/tsconfig.json'... @@ -35,7 +35,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -106,14 +106,12 @@ Output:: [12:00:18 AM] Projects in this build: * src/tsconfig.json -[12:00:19 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/index.js' +[12:00:19 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.d.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 37643cc669ab6..9409e0be6ef10 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -30,7 +30,7 @@ Output:: [12:00:11 AM] Projects in this build: * src/tsconfig.json -[12:00:12 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:12 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:13 AM] Building project '/src/tsconfig.json'... @@ -46,7 +46,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, "/src/types/type.ts": 1, - "/src/dist/index.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -70,7 +70,7 @@ Output:: [12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is out of date because output file 'src/dist/index.js' does not exist +[12:00:15 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist [12:00:16 AM] Building project '/src/tsconfig.json'... @@ -86,7 +86,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, "/src/types/type.ts": 1, - "/src/dist/index.js": 1 + "/src/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 5f74ac4d3b6d0..085680c012e4d 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -61,10 +61,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/other/other.ts": 1, - "/src/dist/other/other.js": 1, + "/src/dist/other/tsconfig.tsbuildinfo": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, - "/src/dist/main/a.js": 1 + "/src/dist/main/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 6b14e58b2d965..89294b2262e67 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -61,11 +61,11 @@ Output:: * src/src/other/tsconfig.json * src/src/main/tsconfig.json -[12:00:08 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:08 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:15 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:15 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' [12:00:16 AM] Building project '/src/src/main/tsconfig.json'... @@ -81,10 +81,9 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, - "/src/dist/other.js": 1, + "/src/dist/tsconfig.tsbuildinfo": 2, "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1 + "/src/src/main/b.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 6d93fd82f5aaf..5c6082a7e9385 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -54,11 +54,11 @@ Output:: * src/src/other/tsconfig.json * src/src/main/tsconfig.json -[12:00:09 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:09 AM] Project 'src/src/other/tsconfig.json' is out of date because output file 'src/dist/tsconfig.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' [12:00:17 AM] Building project '/src/src/main/tsconfig.json'... @@ -74,10 +74,9 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/src/other/other.ts": 1, - "/src/dist/other.js": 1, + "/src/dist/tsconfig.tsbuildinfo": 2, "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1 + "/src/src/main/b.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index edd5407bd4fde..a5e08b5d24f22 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -54,11 +54,11 @@ Output:: * src/src/other/tsconfig.other.json * src/src/main/tsconfig.main.json -[12:00:11 AM] Project 'src/src/other/tsconfig.other.json' is out of date because output file 'src/dist/other.js' does not exist +[12:00:11 AM] Project 'src/src/other/tsconfig.other.json' is out of date because output file 'src/dist/tsconfig.other.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/src/other/tsconfig.other.json'... -[12:00:18 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/a.js' does not exist +[12:00:18 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/tsconfig.main.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/src/main/tsconfig.main.json'... @@ -66,10 +66,10 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/other/other.ts": 1, - "/src/dist/other.js": 1, + "/src/dist/tsconfig.other.tsbuildinfo": 1, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1, - "/src/dist/a.js": 1 + "/src/dist/tsconfig.main.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index b218357820d66..c55a35221696e 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -46,11 +46,11 @@ Output:: * src/webpack/tsconfig.json * src/tsconfig.json -[12:00:14 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/shared/index.js' does not exist +[12:00:14 AM] Project 'src/shared/tsconfig.json' is out of date because output file 'src/shared/tsconfig.tsbuildinfo' does not exist [12:00:15 AM] Building project '/src/shared/tsconfig.json'... -[12:00:20 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/index.js' does not exist +[12:00:20 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/tsconfig.tsbuildinfo' does not exist [12:00:21 AM] Building project '/src/webpack/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 215adc94960b0..577424378ced5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -102,7 +102,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:07 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/tsconfig_withFiles.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig_withFiles.json'... @@ -118,7 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 354ae09eab2d8..b39a0933cb7c0 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -84,7 +84,7 @@ lib/lib.d.ts Default library for target 'es5' src/strings/foo.json Matched by include pattern 'foo.json' in 'src/strings/tsconfig.json' -[12:00:11 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/index.js' does not exist +[12:00:11 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/tsconfig.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/main/tsconfig.json'... @@ -100,7 +100,7 @@ getModifiedTime:: { "/src/strings/foo.json": 1, "/src/strings/tsconfig.tsbuildinfo": 1, "/src/main/index.ts": 1, - "/src/main/index.js": 1 + "/src/main/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -246,7 +246,7 @@ Output:: [12:00:18 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' -[12:00:19 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/index.js' +[12:00:19 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -256,8 +256,6 @@ getModifiedTime:: { "/src/strings/tsconfig.json": 1, "/src/tsconfig.json": 2, "/src/main/index.ts": 1, - "/src/main/index.js": 1, - "/src/main/index.d.ts": 1, "/src/main/tsconfig.tsbuildinfo": 1, "/src/main/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index dd65222dbe0ca..4648cd3d5b995 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -102,7 +102,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig_withIncludeAndFiles.json -[12:00:07 AM] Project 'src/tsconfig_withIncludeAndFiles.json' is out of date because output file 'src/dist/src/hello.json' does not exist +[12:00:07 AM] Project 'src/tsconfig_withIncludeAndFiles.json' is out of date because output file 'src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig_withIncludeAndFiles.json'... @@ -118,7 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/hello.json": 1, "/src/src/index.ts": 1, - "/src/dist/src/hello.json": 1 + "/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 3020dffd81851..b0cab2c90b163 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -100,7 +100,7 @@ Output:: [12:00:09 AM] Projects in this build: * src/tsconfig_withIncludeOfJson.json -[12:00:10 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:10 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/tsconfig_withIncludeOfJson.tsbuildinfo' does not exist [12:00:11 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... @@ -116,7 +116,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/index.json": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 74b35fcd1be8b..81548bb45f29e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -102,7 +102,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig_withIncludeOfJson.json -[12:00:07 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withIncludeOfJson.json' is out of date because output file 'src/dist/tsconfig_withIncludeOfJson.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig_withIncludeOfJson.json'... @@ -118,7 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 73f209c0aa2c9..ae6a9446ac799 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -102,7 +102,7 @@ Output:: [12:00:06 AM] Projects in this build: * src/tsconfig_withInclude.json -[12:00:07 AM] Project 'src/tsconfig_withInclude.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:07 AM] Project 'src/tsconfig_withInclude.json' is out of date because output file 'src/dist/tsconfig_withInclude.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/tsconfig_withInclude.json'... @@ -124,7 +124,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { "/src/src/index.ts": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig_withInclude.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 43eacecc40ad3..9e7d3a72cee5f 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -102,7 +102,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/src/index.js' does not exist +[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/dist/tsconfig_withFiles.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/tsconfig_withFiles.json'... @@ -118,7 +118,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1 + "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 } setModifiedTime:: {} @@ -231,17 +231,13 @@ Output:: [12:00:18 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:19 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/src/hello.json' +[12:00:19 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/src/index.js": 1, - "/src/dist/src/index.js.map": 1, - "/src/dist/src/index.d.ts": 1, - "/src/dist/src/hello.json": 1, "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 1b43ade00b2ab..a1454676af3cb 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -102,7 +102,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/src/index.js' does not exist +[12:00:08 AM] Project 'src/tsconfig_withFiles.json' is out of date because output file 'src/tsconfig_withFiles.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/tsconfig_withFiles.json'... @@ -111,7 +111,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/src/index.js": 1 + "/src/tsconfig_withFiles.tsbuildinfo": 1 } setModifiedTime:: {} @@ -213,15 +213,13 @@ Output:: [12:00:14 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:15 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/src/index.js' +[12:00:15 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success getModifiedTime:: { "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/src/index.js": 1, - "/src/src/index.d.ts": 1, "/src/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 92c7a9311521f..4d097118467af 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -115,11 +115,11 @@ Output:: * src/core/tsconfig.json * src/logic/tsconfig.json -[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/logic/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index 9eb20f3515f95..e7514dcfc33d1 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -202,7 +202,7 @@ getModifiedTimes:: { "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/some_decl.d.ts": 1, - "/user/username/projects/core/anothermodule.js": 1 + "/user/username/projects/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -318,7 +318,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1 + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -442,7 +442,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1 + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 889b16065df26..44c98bb205f31 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -105,11 +105,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 57056063bdccf..69fb44ed1fc0b 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -105,11 +105,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/outDir/index.js": 1, + "/src/logic/outDir/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 76f31f2e72437..c376b74a8c12c 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -389,11 +389,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -401,23 +401,12 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } @@ -445,11 +434,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:29 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:29 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:30 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:30 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:31 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/index.ts' +[12:00:31 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' [12:00:32 AM] Building project '/src/tests/tsconfig.json'... @@ -459,22 +448,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -553,7 +533,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' [12:00:40 AM] Building project '/src/core/tsconfig.json'... @@ -573,20 +553,17 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -708,11 +685,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:06 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' +[12:01:06 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:07 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js' +[12:01:07 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:08 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' +[12:01:08 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' [12:01:09 AM] Building project '/src/tests/tsconfig.json'... @@ -722,25 +699,15 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 1f4a7dcb63cfe..f4924ad6355b8 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -116,11 +116,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/logic/tsconfig.json'... @@ -142,9 +142,9 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1 + "/src/logic/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -340,3 +340,61 @@ exports.multiply = multiply; "size": 1579 } + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:24 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:25 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' + +[12:00:26 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted + +[12:00:27 AM] Building project '/src/logic/tsconfig.json'... + +src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. + +3 return c.muitply(); +   ~~~~~~~ + +[12:00:28 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors + +[12:00:29 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1 +} + +setModifiedTime:: {} + +fileExists:: { + "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1 +} + +directoryExists:: { + "/src/core": 4, + "/src/logic/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + + diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index 1294f8165a824..8df0b7a310abc 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -198,11 +198,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index ac7519c907682..a46a68722785c 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -123,7 +123,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index d12220e0b7b13..ab2620d4e8bc5 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -116,7 +116,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/core/tsconfig.json'... @@ -128,7 +128,7 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/logic/tsconfig.json'... @@ -142,7 +142,7 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:25 AM] Building project '/src/tests/tsconfig.json'... @@ -166,11 +166,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -485,7 +485,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:32 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:32 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' [12:00:33 AM] Building project '/src/core/tsconfig.json'... @@ -499,7 +499,7 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:44 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js.map' is older than newest input 'src/core' +[12:00:44 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' [12:00:45 AM] Building project '/src/logic/tsconfig.json'... @@ -513,7 +513,7 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' +[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' [12:00:52 AM] Building project '/src/tests/tsconfig.json'... @@ -537,16 +537,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -827,7 +824,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' [12:01:00 AM] Building project '/src/core/tsconfig.json'... @@ -855,20 +852,17 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 210ca8288e3a3..bdf7c1e5888d7 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -396,23 +396,12 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 4920620ffcfa1..76ae330b1a386 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -387,11 +387,11 @@ getModifiedTimes:: { "/user/username/projects/core/anothermodule.ts": 1, "/user/username/projects/core/index.ts": 1, "/user/username/projects/core/some_decl.d.ts": 1, - "/user/username/projects/core/anothermodule.js": 1, + "/user/username/projects/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/tests/index.ts": 1, - "/user/username/projects/tests/index.js": 1 + "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -513,7 +513,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1, + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/logic/index.d.ts": 1 } @@ -669,7 +669,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.js": 1 + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index f016a1d504ce5..459bcc2058fe2 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -131,11 +131,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -462,16 +462,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -757,20 +754,17 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 014dbb8429f05..ac71e7b64060d 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -130,11 +130,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -463,16 +463,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -758,20 +755,17 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index bf3005f1a3cd7..315365c105496 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -119,15 +119,15 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:09 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:09 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/core/tsconfig.json'... -[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:20 AM] Building project '/src/logic/tsconfig.json'... -[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:27 AM] Building project '/src/tests/tsconfig.json'... @@ -137,11 +137,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -454,11 +454,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:34 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:34 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:35 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:35 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:36 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.base.json' +[12:00:36 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' [12:00:37 AM] Building project '/src/tests/tsconfig.json'... @@ -468,26 +468,16 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1, - "/src/tests/tsconfig.base.json": 1 + "/src/tests/tsconfig.base.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index be4248fdca078..4a3e461f8796d 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -116,15 +116,15 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:18 AM] Building project '/src/logic/tsconfig.json'... -[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:25 AM] Building project '/src/tests/tsconfig.json'... @@ -150,11 +150,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -744,17 +744,17 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' [12:00:36 AM] Building project '/src/core/tsconfig.json'... [12:00:42 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/index.js.map' is older than newest input 'src/core' +[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' [12:00:48 AM] Building project '/src/logic/tsconfig.json'... -[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/core' +[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' [12:00:55 AM] Building project '/src/tests/tsconfig.json'... @@ -780,16 +780,13 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -1206,7 +1203,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/index.ts' +[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' [12:01:05 AM] Building project '/src/core/tsconfig.json'... @@ -1237,20 +1234,17 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, + "/src/logic/index.d.ts": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: { @@ -1384,13 +1378,13 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' +[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/decls/index.d.ts' does not exist +[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' [12:01:34 AM] Building project '/src/logic/tsconfig.json'... -[12:01:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/logic' +[12:01:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' [12:01:42 AM] Building project '/src/tests/tsconfig.json'... @@ -1413,22 +1407,14 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: {} @@ -1623,11 +1609,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:49 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/index.js' +[12:01:49 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:50 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:01:50 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:51 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/index.js' +[12:01:51 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { @@ -1642,23 +1628,12 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/decls/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index e0ad87f15c382..697b2d8b7d74a 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -112,7 +112,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/core/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... @@ -122,7 +122,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -221,7 +221,7 @@ Output:: [12:00:15 AM] Projects in this build: * src/core/tsconfig.json -[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.d.ts' does not exist +[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' [12:00:17 AM] Building project '/src/core/tsconfig.json'... @@ -231,8 +231,8 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1 + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 044f48a0f8e7b..05256a910a809 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -117,15 +117,15 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/logic/tsconfig.json'... -[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/tests/tsconfig.json'... @@ -135,11 +135,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -464,11 +464,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:33 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/anotherModule.js' +[12:00:33 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:34 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/index.js.map' +[12:00:34 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:35 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/index.js' is older than newest input 'src/tests/tsconfig.json' +[12:00:35 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' [12:00:36 AM] Building project '/src/tests/tsconfig.json'... @@ -478,25 +478,15 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/tsconfig.json": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.json": 1 + "/src/tests/tsconfig.json": 1, + "/src/tests/index.d.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 3b7611e4dd0d2..306fd23defb30 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -117,15 +117,15 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/index.js' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/ownFile.tsbuildinfo' does not exist [12:00:19 AM] Building project '/src/logic/tsconfig.json'... -[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/index.js' does not exist +[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist [12:00:26 AM] Building project '/src/tests/tsconfig.json'... @@ -151,11 +151,11 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, + "/src/core/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.js": 1, + "/src/logic/ownFile.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.js": 1 + "/src/tests/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 9b9f873777e92..9a888390b531b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -112,7 +112,7 @@ Output:: [12:00:07 AM] Projects in this build: * src/core/tsconfig.json -[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:08 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:09 AM] Building project '/src/core/tsconfig.json'... @@ -122,7 +122,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -221,7 +221,7 @@ Output:: [12:00:15 AM] Projects in this build: * src/core/tsconfig.json -[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' +[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' [12:00:17 AM] Building project '/src/core/tsconfig.json'... @@ -231,8 +231,6 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.js": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 994c35a14ab8e..038edacf6497d 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -122,7 +122,7 @@ Output:: [12:00:10 AM] Projects in this build: * src/core/tsconfig.json -[12:00:11 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:00:11 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:12 AM] Building project '/src/core/tsconfig.json'... @@ -140,7 +140,7 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} @@ -240,7 +240,7 @@ Output:: [12:00:18 AM] Projects in this build: * src/core/tsconfig.json -[12:00:19 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/anotherModule.js' is older than newest input 'src/core/tsconfig.json' +[12:00:19 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' [12:00:20 AM] Building project '/src/core/tsconfig.json'... @@ -258,8 +258,6 @@ getModifiedTime:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1, - "/src/core/index.js": 1, "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 4148079f8b2c4..0770182800c15 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -71,9 +71,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, - "/src/a.js": 1, + "/src/tsconfig.a.tsbuildinfo": 1, "/src/b.ts": 1, - "/src/b.js": 1, + "/src/tsconfig.b.tsbuildinfo": 1, "/src/c.ts": 1, "/src/c.js": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 6d194226ebb65..6c7eacc639fdf 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -83,9 +83,9 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/a.ts": 1, - "/src/a.js": 1, + "/src/tsconfig.a.tsbuildinfo": 1, "/src/b.ts": 1, - "/src/b.js": 1, + "/src/tsconfig.b.tsbuildinfo": 1, "/src/c.ts": 1, "/src/c.js": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 9287046552e56..aeb073933c813 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -73,9 +73,9 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { "/src/a.ts": 1, - "/src/a.js": 1, + "/src/tsconfig.a.tsbuildinfo": 1, "/src/b.ts": 1, - "/src/b.js": 1 + "/src/tsconfig.b.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index e5c198473e2ad..0f61c4040e3e2 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -92,7 +92,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/a.ts": 1, "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/a.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -172,7 +172,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -243,7 +243,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -312,7 +312,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -450,7 +450,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 065bd24be0a8c..e341ea0d614c1 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -162,7 +162,7 @@ Output:: * zoo/tsconfig.json * tsconfig.json -[12:00:48 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/utilities.js' does not exist +[12:00:48 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/tsconfig.tsbuildinfo' does not exist [12:00:49 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... @@ -449,7 +449,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1 + "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -485,7 +485,7 @@ Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... -[12:01:08 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/utilities.js' does not exist +[12:01:08 AM] Project 'core/tsconfig.json' is out of date because oldest output 'lib/core/tsconfig.tsbuildinfo' is older than newest input 'core/utilities.ts' [12:01:09 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... @@ -752,7 +752,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/lib/core/utilities.js": 1 + "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 81b2378e142d8..0ca84a28e6818 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -245,15 +245,15 @@ Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... -[12:00:53 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/utilities.js' does not exist +[12:00:53 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/tsconfig.tsbuildinfo' does not exist [12:00:54 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... -[12:01:08 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/animal.js' does not exist +[12:01:08 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/tsconfig.tsbuildinfo' does not exist [12:01:09 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... -[12:01:29 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/zoo.js' does not exist +[12:01:29 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/tsconfig.tsbuildinfo' does not exist [12:01:30 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... @@ -712,13 +712,13 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1, + "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1, "/user/username/projects/demo/zoo/zoo.ts": 1, - "/user/username/projects/demo/lib/zoo/zoo.js": 1 + "/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index d558b5a865686..e9ee7ca9a96d8 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -56,7 +56,7 @@ Output:: * packages/pkg2/tsconfig.json * packages/pkg1/tsconfig.json -[12:00:45 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/const.js' does not exist +[12:00:45 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/tsconfig.tsbuildinfo' does not exist [12:00:46 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... @@ -327,7 +327,7 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.ts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/other.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js": 1, + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 436705f0660c5..a18e5adb4a262 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -53,7 +53,7 @@ Output:: * packages/pkg2/tsconfig.json * packages/pkg1/tsconfig.json -[12:00:43 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/const.cjs' does not exist +[12:00:43 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output file 'packages/pkg2/build/tsconfig.tsbuildinfo' does not exist [12:00:44 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... @@ -309,7 +309,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 } @@ -845,7 +845,7 @@ Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/const.cjs' is older than newest input 'packages/pkg2/index.cts' +[12:01:39 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' [12:01:40 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... @@ -1010,7 +1010,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/index.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1 + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 469bcf5b7525c..e3836125db210 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -58,11 +58,11 @@ Output:: * project2/tsconfig.json * tsconfig.json -[12:00:53 AM] Project 'project1/tsconfig.json' is out of date because output file 'project1/index.js' does not exist +[12:00:53 AM] Project 'project1/tsconfig.json' is out of date because output file 'project1/tsconfig.tsbuildinfo' does not exist [12:00:54 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... -[12:01:03 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/index.js' does not exist +[12:01:03 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist [12:01:04 AM] Building project '/user/username/projects/myproject/project2/tsconfig.json'... @@ -310,9 +310,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/project1/index.ts": 1, - "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/project2/index.ts": 1, - "/user/username/projects/myproject/project2/index.js": 1 + "/user/username/projects/myproject/project2/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -336,7 +336,7 @@ Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:17 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/index.js' is older than newest input 'project1/index.ts' +[12:01:17 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' [12:01:18 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... @@ -482,7 +482,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/project1/index.js": 1, + "/user/username/projects/myproject/project1/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/project1/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 66f6d79efe85f..a28fd56521efe 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -40,7 +40,7 @@ Output:: [12:00:26 AM] Projects in this build: * tsconfig.json -[12:00:27 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'b.ts' +[12:00:27 AM] Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist [12:00:28 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -83,7 +83,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},"5381-","5381-"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},"5381-","5381-"],"options":{"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -108,6 +108,9 @@ exitCode:: ExitStatus.undefined "signature": "5381-" } }, + "options": { + "noEmit": true + }, "referencedMap": {}, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ @@ -127,7 +130,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 730 + "size": 756 } @@ -142,8 +145,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 + "/user/username/projects/myproject/a.js": 1, + "/user/username/projects/myproject/b.ts": 1, + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -165,7 +169,7 @@ Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... -[12:00:38 AM] Project 'tsconfig.json' is out of date because output file 'b.js' does not exist +[12:00:38 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' [12:00:39 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -213,8 +217,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -238,7 +241,7 @@ Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... -[12:00:45 AM] Project 'tsconfig.json' is out of date because output file 'b.js' does not exist +[12:00:45 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' [12:00:46 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -280,7 +283,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"options":{"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -306,6 +309,9 @@ exitCode:: ExitStatus.undefined "signature": "5381-" } }, + "options": { + "noEmit": true + }, "referencedMap": {}, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ @@ -325,7 +331,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 836 + "size": 862 } @@ -340,8 +346,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.js": 1 + "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index a4c7a9c96fc91..482edc2608bc8 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -55,7 +55,7 @@ Output:: [12:00:32 AM] Projects in this build: * tsconfig.json -[12:00:33 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist +[12:00:33 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/tsconfig.tsbuildinfo' does not exist [12:00:34 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -117,7 +117,7 @@ getModifiedTimes:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1, "/user/username/projects/noemitonerror/src/main.ts": 1, "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -139,7 +139,7 @@ Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... -[12:00:40 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist +[12:00:40 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/tsconfig.tsbuildinfo' does not exist [12:00:41 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -198,7 +198,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -225,7 +225,7 @@ Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... -[12:00:47 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist +[12:00:47 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/tsconfig.tsbuildinfo' does not exist [12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -368,7 +368,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -393,7 +393,7 @@ Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:14 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' [12:01:15 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -529,7 +529,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -551,7 +551,7 @@ Output:: >> Screen clear [12:01:26 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:27 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' [12:01:28 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -610,7 +610,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -635,7 +635,7 @@ Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:34 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' [12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -758,7 +758,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -783,7 +783,7 @@ Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... -[12:01:52 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:52 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' [12:01:53 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -843,7 +843,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index b8b30c5f099ee..4436644419afd 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -497,11 +497,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index b290006996ce8..185c7d1663886 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -120,15 +120,15 @@ Output:: * sample1/logic/tsconfig.json * sample1/tests/tsconfig.json -[12:00:47 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/anotherModule.js' does not exist +[12:00:47 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/tsconfig.tsbuildinfo' does not exist [12:00:48 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:05 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/index.js' does not exist +[12:01:05 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/tsconfig.tsbuildinfo' does not exist [12:01:06 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:01:17 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/index.js' does not exist +[12:01:17 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/tsconfig.tsbuildinfo' does not exist [12:01:18 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... @@ -514,11 +514,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -549,7 +549,7 @@ Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/logic/index.ts' +[12:01:32 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' [12:01:33 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... @@ -708,7 +708,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } @@ -745,7 +745,7 @@ Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/index.js' is older than newest input 'sample1/logic/index.ts' +[12:01:57 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' [12:01:58 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... @@ -1012,7 +1012,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 66dddda15966c..4af8c2bdd2f71 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -169,7 +169,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -248,7 +248,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -324,7 +324,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index fdd268e1248b0..9c04defc44f6c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -169,7 +169,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -248,7 +248,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -328,7 +328,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1, + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1, "/user/username/projects/solution/app/filewitherror.d.ts": 1, "/user/username/projects/solution/app/filewithouterror.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 11db14ee00e29..8642d1f7ea769 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -96,7 +96,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -172,7 +172,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index eab86785cdee7..9f51c5bc0f07b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -96,7 +96,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/solution/app/filewitherror.ts": 1, "/user/username/projects/solution/app/filewithouterror.ts": 1, - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -248,7 +248,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.js": 1 + "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index e989d4e3efd81..521fb73bd3bcc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -497,11 +497,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -685,7 +685,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -842,7 +842,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index d6a2845901903..a725a2f39188b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -496,11 +496,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -683,7 +683,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -839,7 +839,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index a2170a7885ddc..321cdca85234c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -42,7 +42,7 @@ Output:: [12:00:28 AM] Projects in this build: * sample1/core/tsconfig.json -[12:00:29 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/outDir/anotherModule.js' does not exist +[12:00:29 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/outDir/tsconfig.tsbuildinfo' does not exist [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... @@ -171,7 +171,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1 + "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -234,7 +234,7 @@ Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... -[12:00:50 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/anotherModule.js' is older than newest input 'sample1/core/file3.ts' +[12:00:50 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' [12:00:51 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... @@ -354,7 +354,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1 + "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 5eb060d4924b9..77019e7445842 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -49,7 +49,7 @@ Output:: [12:00:28 AM] Projects in this build: * sample1/core/tsconfig.json -[12:00:29 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/anotherModule.js' does not exist +[12:00:29 AM] Project 'sample1/core/tsconfig.json' is out of date because output file 'sample1/core/tsconfig.tsbuildinfo' does not exist [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... @@ -184,7 +184,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -247,7 +247,7 @@ Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... -[12:00:51 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/anotherModule.js' is older than newest input 'sample1/core/file3.ts' +[12:00:51 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' [12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... @@ -374,7 +374,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 34a61bebc1ecc..7e19c90d85805 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -368,9 +368,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 39236cd1c020b..089adc794eb84 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -220,7 +220,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -413,7 +413,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -601,7 +601,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index ae79ee346bf76..b8c70fdfebd82 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -187,7 +187,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/library/library.ts": 1, - "/user/username/projects/sample1/library/library.js": 1, + "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/app/app.ts": 1, "/user/username/projects/sample1/app/app.js": 1 } @@ -359,7 +359,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/library/library.js": 1 + "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -520,7 +520,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/library/library.js": 1 + "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 6a8af65e003cc..1ee48dc99bb5f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -261,9 +261,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/index.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -398,7 +398,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.js": 1 + "/user/username/projects/sample1/core/index.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -701,7 +701,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.js": 1, + "/user/username/projects/sample1/core/index.tsbuildinfo": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 12f30683950a8..35ebb2b9582c4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -462,7 +462,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -610,7 +610,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -943,7 +943,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 746abf455b830..e2544d4a54616 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -462,7 +462,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -615,7 +615,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -1077,7 +1077,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -1557,7 +1557,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 4a9a6a91b2ce7..00189f1ca666a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -462,7 +462,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -603,7 +603,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index a073f92990ae9..9ab2e06c2285b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -497,11 +497,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -654,7 +654,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -996,7 +996,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 6692d6214c85a..8c8b91fb91f12 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -497,11 +497,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -659,7 +659,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -1128,7 +1128,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { @@ -1615,7 +1615,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index f67495f93c3ad..55d21981619fa 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -497,11 +497,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -645,7 +645,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 08647300a6ce7..72205f4bc3c45 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -55,11 +55,11 @@ Output:: * project2.tsconfig.json * tsconfig.json -[12:00:29 AM] Project 'project1.tsconfig.json' is out of date because output file 'commonFile1.js' does not exist +[12:00:29 AM] Project 'project1.tsconfig.json' is out of date because output file 'project1.tsconfig.tsbuildinfo' does not exist [12:00:30 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:43 AM] Project 'project2.tsconfig.json' is out of date because output file 'other.js' does not exist +[12:00:43 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist [12:00:44 AM] Building project '/a/b/project2.tsconfig.json'... @@ -247,9 +247,9 @@ directoryExists:: { getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/other.ts": 1, - "/a/b/other.js": 1 + "/a/b/project2.tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 04d25256689d3..467fe1a8bce01 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -51,11 +51,11 @@ Output:: * project1.tsconfig.json * project2.tsconfig.json -[12:00:27 AM] Project 'project1.tsconfig.json' is out of date because output file 'commonFile1.js' does not exist +[12:00:27 AM] Project 'project1.tsconfig.json' is out of date because output file 'project1.tsconfig.tsbuildinfo' does not exist [12:00:28 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:41 AM] Project 'project2.tsconfig.json' is out of date because output file 'other.js' does not exist +[12:00:41 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist [12:00:42 AM] Building project '/a/b/project2.tsconfig.json'... @@ -236,9 +236,9 @@ directoryExists:: { getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, - "/a/b/commonfile1.js": 1, + "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/other.ts": 1, - "/a/b/other.js": 1 + "/a/b/project2.tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -262,7 +262,7 @@ Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... -[12:00:56 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' +[12:00:56 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' [12:00:57 AM] Building project '/a/b/project1.tsconfig.json'... @@ -325,12 +325,10 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 2, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 2, "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/project1.tsconfig.json": 1 + "/a/b/project1.tsconfig.json": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.d.ts": 1 } setModifiedTimes:: { @@ -354,7 +352,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:00 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'other.js' is older than newest input 'alpha.tsconfig.json' +[12:01:00 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' [12:01:01 AM] Building project '/a/b/project2.tsconfig.json'... @@ -412,11 +410,10 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/other.js": 1, - "/a/b/other.d.ts": 2, "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/project2.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1 + "/a/b/bravo.tsconfig.json": 1, + "/a/b/other.d.ts": 1 } setModifiedTimes:: { @@ -444,7 +441,7 @@ Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... -[12:01:09 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'other.js' is older than newest input 'bravo.tsconfig.json' +[12:01:09 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' [12:01:10 AM] Building project '/a/b/project2.tsconfig.json'... @@ -505,9 +502,8 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/other.js": 1, - "/a/b/other.d.ts": 2, - "/a/b/project2.tsconfig.tsbuildinfo": 1 + "/a/b/project2.tsconfig.tsbuildinfo": 1, + "/a/b/other.d.ts": 1 } setModifiedTimes:: { @@ -638,7 +634,7 @@ Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'commonFile1.d.ts' is older than newest input 'alpha.tsconfig.json' +[12:01:34 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' [12:01:35 AM] Building project '/a/b/project1.tsconfig.json'... @@ -700,11 +696,9 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 2, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 2, - "/a/b/project1.tsconfig.tsbuildinfo": 1 + "/a/b/project1.tsconfig.tsbuildinfo": 1, + "/a/b/commonfile1.d.ts": 1, + "/a/b/commonfile2.d.ts": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index b34cc6d717d01..d5ab23a85bd52 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -51,11 +51,11 @@ Output:: * webpack/tsconfig.json * tsconfig.json -[12:00:32 AM] Project 'shared/tsconfig.json' is out of date because output file 'shared/index.js' does not exist +[12:00:32 AM] Project 'shared/tsconfig.json' is out of date because output file 'shared/tsconfig.tsbuildinfo' does not exist [12:00:33 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:00:42 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/index.js' does not exist +[12:00:42 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/tsconfig.tsbuildinfo' does not exist [12:00:43 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... @@ -266,9 +266,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/shared/index.ts": 1, - "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/webpack/index.ts": 1, - "/user/username/projects/myproject/webpack/index.js": 1 + "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -296,7 +296,7 @@ Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... -[12:00:56 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/index.js' is older than newest input 'shared/index.ts' +[12:00:56 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' [12:00:57 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... @@ -445,7 +445,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/shared/index.js": 1, + "/user/username/projects/myproject/shared/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/webpack/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 88b9eb4875fe4..1fe799b1e8e3b 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -82,7 +82,7 @@ Output:: * src/main/tsconfig.json * src/tsconfig.json -[12:00:37 AM] Project 'src/pure/tsconfig.json' is out of date because output file 'out/pure/index.js' does not exist +[12:00:37 AM] Project 'src/pure/tsconfig.json' is out of date because output file 'out/pure/tsconfig.tsbuildinfo' does not exist [12:00:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... @@ -289,7 +289,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/reexport/src/pure/index.ts": 1, "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/out/pure/index.js": 1, + "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1, "/user/username/projects/reexport/src/main/index.ts": 1, "/user/username/projects/reexport/out/main/index.js": 1 } @@ -319,7 +319,7 @@ Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... -[12:01:08 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/index.js' is older than newest input 'src/pure/session.ts' +[12:01:08 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' [12:01:09 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... @@ -492,7 +492,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/index.js": 1 + "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -520,7 +520,7 @@ Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/index.js' is older than newest input 'src/pure/session.ts' +[12:01:35 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' [12:01:36 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... @@ -685,7 +685,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/index.js": 1 + "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: { diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 8792954258bda..c044d84de0b90 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -385,7 +385,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -440,7 +440,8 @@ directoryExists:: { } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -550,7 +551,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2754 + "size": 2768 } @@ -1335,7 +1336,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1390,7 +1391,8 @@ directoryExists:: { } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -1456,7 +1458,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2137 + "size": 2151 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index 424ba016865d3..c10a24c98a8de 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -385,7 +385,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -440,7 +440,8 @@ directoryExists:: { } }, "options": { - "declaration": true + "declaration": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -550,7 +551,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2756 + "size": 2770 } @@ -1335,7 +1336,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1390,7 +1391,8 @@ directoryExists:: { } }, "options": { - "declaration": true + "declaration": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -1456,7 +1458,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2139 + "size": 2153 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js index eb31403b49328..99bb80845c754 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js @@ -359,7 +359,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -413,6 +413,9 @@ directoryExists:: { "affectsGlobalScope": true } }, + "options": { + "noEmit": true + }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -515,7 +518,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2628 + "size": 2654 } @@ -1295,7 +1298,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1349,6 +1352,9 @@ directoryExists:: { "affectsGlobalScope": true } }, + "options": { + "noEmit": true + }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -1405,7 +1411,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 1905 + "size": 1931 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index f3a97f372e34d..5b27a2d2eea96 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -70,7 +70,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -125,7 +125,8 @@ directoryExists:: { } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -199,7 +200,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 1716 + "size": 1730 } @@ -697,7 +698,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -752,7 +753,8 @@ directoryExists:: { } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -818,7 +820,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2137 + "size": 2151 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 6abc90f0a77e7..889d04a04cbb0 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -70,7 +70,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -125,7 +125,8 @@ directoryExists:: { } }, "options": { - "declaration": true + "declaration": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -199,7 +200,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 1718 + "size": 1732 } @@ -697,7 +698,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -752,7 +753,8 @@ directoryExists:: { } }, "options": { - "declaration": true + "declaration": true, + "noEmit": true }, "referencedMap": { "./src/directuse.ts": [ @@ -818,7 +820,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 2139 + "size": 2153 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js index 242f31f22a330..09e4f92c68a77 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js @@ -70,7 +70,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -124,6 +124,9 @@ directoryExists:: { "affectsGlobalScope": true } }, + "options": { + "noEmit": true + }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -196,7 +199,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 1687 + "size": 1713 } @@ -658,7 +661,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -712,6 +715,9 @@ directoryExists:: { "affectsGlobalScope": true } }, + "options": { + "noEmit": true + }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -768,7 +774,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 1905 + "size": 1931 } diff --git a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js index 7414229cd8278..2055b3d003d83 100644 --- a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js @@ -57,7 +57,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"noEmit":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,6 +78,7 @@ directoryExists:: { } }, "options": { + "noEmit": true, "strict": true }, "referencedMap": {}, @@ -94,7 +95,7 @@ directoryExists:: { ] }, "version": "FakeTSVersion", - "size": 757 + "size": 771 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 04f3117554292..d79407e2bd2fb 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -386,11 +386,11 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.ts": 1, - "/user/username/projects/sample1/tests/index.js": 1 + "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -608,16 +608,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.d.ts": 1 } @@ -833,16 +827,10 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} @@ -1137,17 +1125,11 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/decls/index.d.ts": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/tsconfig.json": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 9c4c39c8435aa..745f2cb254844 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -203,9 +203,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 } @@ -442,12 +442,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1 + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index f1e1b718fc9e2..0f5423b767629 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -203,9 +203,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, + "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1, + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 } @@ -442,12 +442,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/index.js": 1, - "/user/username/projects/transitivereferences/a/index.d.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/index.js": 1 + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 05e659a022076..fb17745c6635f 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -214,9 +214,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 } @@ -425,12 +425,10 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/tsconfig.a.json": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1 + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 1d3b966710bee..d1c187fa02f47 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -201,9 +201,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.js": 1, + "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.js": 1, + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 8c374873c5547..d51635a0d98b0 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -216,9 +216,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 0bbaaa9cb8e45..659e074ccaf6c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -214,9 +214,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 2ce9e58e57388..b5e25633125ad 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -217,9 +217,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 9ee97b65a4ca9..251967a44386c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -215,9 +215,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/bar.ts": 1, "/user/username/projects/myproject/packages/b/src/index.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/index.ts": 1, - "/user/username/projects/myproject/packages/a/lib/index.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index b71f4fd68c8ff..4f1a5cdcf6a7d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -218,9 +218,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 3ff6de49c6b1d..862c6ae669491 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -216,9 +216,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 60e5082d7210d..d3a59865595a1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -218,9 +218,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 90959861984fe..7cbac8592c75e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -216,9 +216,9 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/myproject/packages/b/src/foo.ts": 1, "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.js": 1, + "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/a/src/test.ts": 1, - "/user/username/projects/myproject/packages/a/lib/test.js": 1 + "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index ed6ea86fea513..279657db56323 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -342,11 +342,11 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/lib/core/utilities.js": 1, + "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/demo/animals/animal.ts": 1, "/user/username/projects/demo/animals/dog.ts": 1, "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/lib/animals/animal.js": 1 + "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index f6754bd38ae54..625d6ec9f7f95 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -78,7 +78,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,7 +104,8 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -125,7 +126,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 742 + "size": 756 } @@ -322,7 +323,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -348,7 +349,8 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -365,7 +367,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 890 + "size": 904 } diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index b80e54aab94dd..625311582bf46 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -78,7 +78,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,7 +104,8 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -125,7 +126,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 742 + "size": 756 } @@ -336,7 +337,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,7 +363,8 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true + "composite": true, + "noEmit": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -379,7 +381,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 890 + "size": 904 } From 1a8abacee9473d98fa8872ec91edfe109e0eac7f Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 11 Apr 2022 14:21:47 -0700 Subject: [PATCH 26/64] No need to update output timestamps if buildinfo will determine uptodateness --- src/compiler/tsbuildPublic.ts | 18 +-- src/testRunner/unittests/tsbuild/sample.ts | 3 +- .../modules-and-globals-mixed-in-amd.js | 9 +- .../multiple-emitHelpers-in-all-projects.js | 28 ++--- .../multiple-prologues-in-all-projects.js | 26 ++-- .../shebang-in-all-projects.js | 9 +- .../amdModulesWithOut/stripInternal.js | 19 +-- .../triple-slash-refs-in-all-projects.js | 9 +- ...mports-project-with-emitDeclarationOnly.js | 16 +-- ...-transitive-module-with-isolatedModules.js | 24 +--- .../inferred-type-from-transitive-module.js | 22 +--- ...hange-in-signature-with-isolatedModules.js | 29 ++--- ...rojects-and-concatenates-them-correctly.js | 5 +- ...s-merged-and-contains-late-bound-member.js | 18 +-- ...-buildInfo-absence-results-in-new-build.js | 13 +- .../baseline-sectioned-sourcemaps.js | 9 +- .../emitHelpers-in-all-projects.js | 28 ++--- ...tHelpers-in-only-one-dependency-project.js | 28 ++--- .../tsbuild/outfile-concat/explainFiles.js | 9 +- .../multiple-emitHelpers-in-all-projects.js | 28 ++--- ...tiple-emitHelpers-in-different-projects.js | 28 ++--- .../multiple-prologues-in-all-projects.js | 28 ++--- ...ultiple-prologues-in-different-projects.js | 28 ++--- .../outfile-concat/shebang-in-all-projects.js | 9 +- .../shebang-in-only-one-dependency-project.js | 9 +- .../outfile-concat/strict-in-all-projects.js | 28 ++--- .../strict-in-one-dependency.js | 28 ++--- ...en-one-two-three-are-prepended-in-order.js | 50 ++------ .../stripInternal-jsdoc-style-comment.js | 30 ++--- ...en-one-two-three-are-prepended-in-order.js | 19 +-- ...-jsdoc-style-with-comments-emit-enabled.js | 9 +- ...en-one-two-three-are-prepended-in-order.js | 50 ++------ ...en-one-two-three-are-prepended-in-order.js | 50 ++------ ...tripInternal-with-comments-emit-enabled.js | 30 ++--- .../tsbuild/outfile-concat/stripInternal.js | 30 ++--- .../triple-slash-refs-in-all-projects.js | 9 +- .../triple-slash-refs-in-one-project.js | 9 +- ...-source-files-are-empty-in-the-own-file.js | 9 +- .../can-detect-when-and-what-to-rebuild.js | 29 ++--- .../reference/tsbuild/sample1/explainFiles.js | 83 ++++++++----- .../sample1/invalidates-projects-correctly.js | 4 - .../tsbuild/sample1/listEmittedFiles.js | 46 ++++--- .../reference/tsbuild/sample1/listFiles.js | 46 ++++--- .../reference/tsbuild/sample1/sample.js | 112 +++++++++++------- ...t-correctly-with-cts-and-mts-extensions.js | 9 +- ...mit-any-files-on-error-with-incremental.js | 27 ++--- .../does-not-emit-any-files-on-error.js | 4 +- .../incremental-updates-in-verbose-mode.js | 6 +- ...ing-errors-only-changed-file-is-emitted.js | 9 +- ...e-of-program-emit-with-outDir-specified.js | 15 +-- ...r-recompilation-because-of-program-emit.js | 19 +-- ...ncing-project-even-for-non-local-change.js | 7 +- ...le-is-added,-and-its-subsequent-updates.js | 48 +------- ...hanges-and-reports-found-errors-message.js | 31 ++--- ...not-start-build-of-referencing-projects.js | 19 +-- ...le-is-added,-and-its-subsequent-updates.js | 56 +-------- ...hanges-and-reports-found-errors-message.js | 37 ++---- ...not-start-build-of-referencing-projects.js | 21 +--- .../works-with-extended-source-files.js | 36 +----- .../publicApi/with-custom-transformers.js | 6 +- .../reexport/Reports-errors-correctly.js | 2 +- ...e-projects-with-single-watcher-per-file.js | 14 +-- .../same-file-in-multiple-projects.js | 14 +-- 63 files changed, 466 insertions(+), 1037 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 70531cf550bed..3da9248e24d82 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1660,26 +1660,30 @@ namespace ts { function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, anyDtsChange: boolean, verboseMessage: DiagnosticMessage, newestDeclarationFileContentChangedTime?: Date, skipOutputs?: ESMap) { if (proj.options.noEmit) return undefined; + + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); if (!skipOutputs || outputs.length !== skipOutputs.size) { let reportVerbose = !!state.options.verbose; - const now = host.now ? host.now() : new Date(); + let now: Date | undefined; for (const file of outputs) { if (skipOutputs && skipOutputs.has(toPath(state, file))) { continue; } - if (reportVerbose) { - reportVerbose = false; - reportStatus(state, verboseMessage, proj.options.configFilePath!); - } - if (!anyDtsChange && isDeclarationFileName(file)) { newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, file)); } - host.setModifiedTime(file, now); + if (!buildInfoPath || file === buildInfoPath) { + if (reportVerbose) { + reportVerbose = false; + reportStatus(state, verboseMessage, proj.options.configFilePath!); + } + + host.setModifiedTime(file, now ||= host.now ? host.now() : new Date()); + } } } diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 5a42cada15a02..fffefb8103428 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -367,7 +367,8 @@ export class someClass { }`), subScenario: "incremental-declaration-doesnt-change", modifyFs: fs => appendText(fs, "/src/core/index.ts", ` class someClass2 { }`), - } + }, + noChangeRun, ]; describe("lists files", () => { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index aa3e06e04edb8..4adc011af1ee2 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -996,8 +996,6 @@ Output:: [12:00:41 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:46 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1014,10 +1012,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -1033,8 +1028,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] var myGlob = 20; define("file1", ["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index f6fc9029e064a..33c496163c15a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -2173,8 +2173,6 @@ Output:: [12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:52 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -2191,10 +2189,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -2210,8 +2205,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; @@ -3810,19 +3803,17 @@ export const x = 10;function forlibfile1Rest() { }console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:01:01 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:58 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:03 AM] Building project '/src/lib/tsconfig.json'... +[12:00:59 AM] Building project '/src/lib/tsconfig.json'... -[12:01:11 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:07 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:12 AM] Updating output of project '/src/app/tsconfig.json'... - -[12:01:17 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3840,10 +3831,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -3859,8 +3847,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 311824c0405d5..bc8f8afcb9dda 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -1282,8 +1282,6 @@ Output:: [12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:53 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1300,10 +1298,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -1319,8 +1314,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] "use strict"; "myPrologue"; @@ -2191,19 +2184,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:01:02 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' - -[12:01:04 AM] Building project '/src/lib/tsconfig.json'... +[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:12 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:00 AM] Building project '/src/lib/tsconfig.json'... -[12:01:13 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:08 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:19 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:01:09 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2221,9 +2212,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -2239,7 +2228,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time //// [/src/app/module.d.ts.map] {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../lib/file0.ts","../lib/file1.ts","../lib/file2.ts","../lib/global.ts","file3.ts","file4.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC"} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index e0e4496155049..e78d91f2497dc 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -1018,8 +1018,6 @@ Output:: [12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:49 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1036,10 +1034,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -1055,8 +1050,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] #!someshebang lib file0 var myGlob = 20; diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 4bd536200a66c..769ddfcab5b5a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -4923,8 +4923,6 @@ Output:: [12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:49 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -4941,10 +4939,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -4960,8 +4955,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] /*@internal*/ var myGlob = 20; define("file1", ["require", "exports"], function (require, exports) { @@ -8751,17 +8744,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:58 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:55 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:00:56 AM] Building project '/src/lib/tsconfig.json'... -[12:01:08 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:04 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:09 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 68d7ffc4f18db..919bca53e75f1 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -1233,8 +1233,6 @@ Output:: [12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... -[12:00:50 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1253,10 +1251,7 @@ getModifiedTime:: { "/src/app/module.d.ts": 1 } -setModifiedTime:: { - "/src/app/module.d.ts": 1, - "/src/app/module.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/lib/module.js": 1, @@ -1272,8 +1267,6 @@ directoryExists:: { } -//// [/src/app/module.d.ts] file changed its modified time -//// [/src/app/module.d.ts.map] file changed its modified time //// [/src/app/module.js] /// var file0Const = new libfile0(); diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 414cd4aa0302d..4e51304ea7639 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -229,8 +229,6 @@ Output:: [12:00:23 AM] Building project '/src/tsconfig.json'... -[12:00:28 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -243,12 +241,7 @@ getModifiedTime:: { "/src/lib/c.d.ts": 1 } -setModifiedTime:: { - "/src/lib/b.d.ts": 1, - "/src/lib/b.d.ts.map": 1, - "/src/lib/c.d.ts": 1, - "/src/lib/c.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/src/c.ts": 1, @@ -266,7 +259,6 @@ directoryExists:: { //// [/src/lib/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} -//// [/src/lib/b.d.ts] file changed its modified time //// [/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} @@ -363,12 +355,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:35 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/tsconfig.json -[12:00:36 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:37 AM] Building project '/src/tsconfig.json'... +[12:00:31 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index b258c3bef36bf..e8c4f5d97c37a 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -287,8 +287,6 @@ Output:: [12:00:24 AM] Building project '/src/tsconfig.json'... -[12:00:31 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -301,12 +299,7 @@ getModifiedTime:: { "/src/obj/lazyIndex.d.ts": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1, - "/src/obj/lazyIndex.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, @@ -445,14 +438,12 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:00:38 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/tsconfig.json -[12:00:39 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:40 AM] Building project '/src/tsconfig.json'... - -[12:00:47 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:34 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -466,12 +457,7 @@ getModifiedTime:: { "/src/obj/lazyIndex.d.ts": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1, - "/src/obj/lazyIndex.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 5ced3100d9cc8..98486106c01cc 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -287,8 +287,6 @@ Output:: [12:00:23 AM] Building project '/src/tsconfig.json'... -[12:00:31 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -300,11 +298,7 @@ getModifiedTime:: { "/src/obj/tsconfig.tsbuildinfo": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, @@ -444,14 +438,12 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:00:37 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/tsconfig.json -[12:00:38 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:39 AM] Building project '/src/tsconfig.json'... - -[12:00:47 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:34 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -464,11 +456,7 @@ getModifiedTime:: { "/src/obj/tsconfig.tsbuildinfo": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 82ed4c7f5875d..8aa4328a8dc32 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -464,8 +464,6 @@ Output:: [12:00:31 AM] Building project '/src/tsconfig.json'... -[12:00:38 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -481,12 +479,7 @@ getModifiedTime:: { "/src/obj/bundling.d.ts": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1, - "/src/obj/lazyIndex.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, @@ -611,12 +604,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:00:45 AM] Projects in this build: +[12:00:39 AM] Projects in this build: * src/tsconfig.json -[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:40 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:47 AM] Building project '/src/tsconfig.json'... +[12:00:41 AM] Building project '/src/tsconfig.json'... src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. @@ -779,14 +772,12 @@ bar(); Output:: /lib/tsc --b /src --verbose -[12:00:51 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/tsconfig.json -[12:00:52 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/lazyIndex.ts' - -[12:00:53 AM] Building project '/src/tsconfig.json'... +[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/lazyIndex.ts' -[12:01:01 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:47 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -799,11 +790,7 @@ getModifiedTime:: { "/src/obj/tsconfig.tsbuildinfo": 1 } -setModifiedTime:: { - "/src/obj/bundling.js": 1, - "/src/obj/bundling.d.ts": 1, - "/src/obj/index.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/bundling.ts": 1, diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index c73938112fb50..84cba48041886 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -521,9 +521,7 @@ getModifiedTime:: { "/src/sub-project-2/sub-project-2.d.ts": 1 } -setModifiedTime:: { - "/src/sub-project-2/sub-project-2.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/tsconfig.base.json": 3, @@ -652,7 +650,6 @@ type MyNominal = Nominal; "size": 425 } -//// [/src/sub-project-2/sub-project-2.d.ts] file changed its modified time //// [/src/sub-project-2/sub-project-2.js] /** * @template T, Name diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 5999bd1ddd738..6693d7d80b1d9 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -181,8 +181,6 @@ Output:: [12:00:16 AM] Building project '/src/tsconfig.json'... -[12:00:20 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -192,9 +190,7 @@ getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1 } -setModifiedTime:: { - "/src/src/hkt.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/src/hkt.ts": 1 @@ -298,14 +294,12 @@ type A = HKT[typeof sym];const x = 10; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:24 AM] Projects in this build: +[12:00:21 AM] Projects in this build: * src/tsconfig.json -[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' +[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' -[12:00:26 AM] Building project '/src/tsconfig.json'... - -[12:00:30 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:00:23 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -316,9 +310,7 @@ getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1 } -setModifiedTime:: { - "/src/src/hkt.js": 1 -} +setModifiedTime:: {} fileExists:: { "/src/src/hkt.ts": 1 diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index d0864a587c889..aff30e52f7dcd 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -545,8 +545,6 @@ Output:: [12:00:51 AM] Updating output of project '/src/third/tsconfig.json'... -[12:00:54 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -565,12 +563,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -595,10 +588,6 @@ directoryExists:: { //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 895ba353ae12e..cbfc44ff956ca 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -3297,8 +3297,6 @@ Output:: [12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:27 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -3339,10 +3337,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3610,8 +3605,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hola, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 5bcd1667d1be4..a1df6243fc0a1 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -4681,8 +4681,6 @@ Output:: [12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -4723,10 +4721,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5147,8 +5142,6 @@ declare function f(): string; "size": 362 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var __rest = (this && this.__rest) || function (s, e) { var t = {}; @@ -6199,22 +6192,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:35 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:37 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -6256,9 +6247,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -6694,7 +6683,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 4a6f8a1fa3454..aedc5eac5f793 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -2349,8 +2349,6 @@ Output:: [12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:04 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -2369,10 +2367,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2660,8 +2655,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var __rest = (this && this.__rest) || function (s, e) { var t = {}; @@ -3514,22 +3507,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:10 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:11 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:19 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:20 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:21 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3549,9 +3540,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -4122,7 +4111,6 @@ declare function f(): string; "size": 362 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 60954af62c9e6..c142403407292 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -3302,8 +3302,6 @@ src/first/first_part3.ts [12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:27 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -3322,10 +3320,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3593,8 +3588,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hola, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 21b262232b2c4..1bc3ee0647cd7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -3948,8 +3948,6 @@ Output:: [12:01:06 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:11 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -3968,10 +3966,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -4620,8 +4615,6 @@ declare const firstfirst_part3_ar: number[]; "size": 553 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var __rest = (this && this.__rest) || function (s, e) { var t = {}; @@ -6171,22 +6164,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:20 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:22 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:38 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6206,9 +6197,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -6927,7 +6916,6 @@ declare const firstfirst_part3_ar: number[]; "size": 463 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index be105e0bb6371..6a06162009cbb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -2983,8 +2983,6 @@ Output:: [12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:06 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -3003,10 +3001,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3427,8 +3422,6 @@ declare function f(): string; "size": 362 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var __rest = (this && this.__rest) || function (s, e) { var t = {}; @@ -4598,22 +4591,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:13 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4633,9 +4624,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5071,7 +5060,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 624527e272fdd..7c64af54c42a7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -3811,8 +3811,6 @@ Output:: [12:01:30 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:35 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -3853,10 +3851,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -4186,8 +4181,6 @@ declare function f(): string; "size": 588 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] "use strict"; "myPrologue"; @@ -5002,22 +4995,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:44 AM] Projects in this build: +[12:01:40 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:46 AM] Building project '/src/first/tsconfig.json'... +[12:01:42 AM] Building project '/src/first/tsconfig.json'... -[12:01:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:56 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:02:02 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5059,9 +5050,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5555,7 +5544,6 @@ declare function f(): string; "size": 738 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 680ecc550e171..9c0b5c15fe3e3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -2137,8 +2137,6 @@ Output:: [12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:06 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -2157,10 +2155,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2458,8 +2453,6 @@ declare function f(): string; "size": 445 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] "use strict"; "myPrologue"; @@ -3226,22 +3219,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:13 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3261,9 +3252,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3725,7 +3714,6 @@ declare function f(): string; "size": 591 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index fcdf1ead25674..3164e0e7b948d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -3345,8 +3345,6 @@ Output:: [12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -3387,10 +3385,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3662,8 +3657,6 @@ declare function f(): string; "size": 254 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] #!someshebang first first_PART1 var s = "Hola, world"; diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 8db4e3d8d99b0..41e115ffef129 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -1943,8 +1943,6 @@ Output:: [12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1963,10 +1961,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2234,8 +2229,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] #!someshebang second second_part1 var s = "Hello, world"; diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 706b80740fde6..a3fe6cab2aaca 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -3447,8 +3447,6 @@ Output:: [12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -3489,10 +3487,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3790,8 +3785,6 @@ declare function f(): string; "size": 445 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] "use strict"; var s = "Hola, world"; @@ -4504,22 +4497,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:35 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:37 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4561,9 +4552,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5025,7 +5014,6 @@ declare function f(): string; "size": 588 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 3b9e3336d363d..80f50c3398435 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -1971,8 +1971,6 @@ Output:: [12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1991,10 +1989,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2262,8 +2257,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] "use strict"; var s = "Hello, world"; @@ -2957,22 +2950,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:12 AM] Projects in this build: +[12:01:08 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:14 AM] Building project '/src/first/tsconfig.json'... +[12:01:09 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:10 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:18 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:19 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:20 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2992,9 +2983,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -3436,7 +3425,6 @@ declare function f(): string; "size": 457 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time //// [/src/third/thirdjs/output/third-output.d.ts.map] {"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 5ed8b9986ea59..7494ef23f1472 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -5737,13 +5737,9 @@ Output:: [12:01:01 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:06 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed - -[12:01:12 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:17 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5764,12 +5760,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5787,8 +5778,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time -//// [/src/2/second-output.d.ts.map] file changed its modified time //// [/src/2/second-output.js] var s = "Hello, world"; console.log(s); @@ -8079,8 +8068,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -10093,26 +10080,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:27 AM] Projects in this build: +[12:01:19 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:28 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:29 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:37 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:38 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:29 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:42 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:30 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:48 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:49 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:54 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10132,13 +10115,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -10156,7 +10133,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} @@ -10968,8 +10944,6 @@ sourceFile:../second/second_part2.ts --- >>>//# sourceMappingURL=second-output.d.ts.map -//// [/src/2/second-output.js] file changed its modified time -//// [/src/2/second-output.js.map] file changed its modified time //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} @@ -11965,8 +11939,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 6e7dab39b52b6..379c62286cae4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -5448,8 +5448,6 @@ Output:: [12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:05 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -5468,10 +5466,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5746,8 +5741,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -7796,22 +7789,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:14 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:16 AM] Building project '/src/first/tsconfig.json'... +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -7830,10 +7821,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -8544,8 +8532,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index ebb6ffea2f725..92d425e2c106c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -6079,13 +6079,9 @@ Output:: [12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:09 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed - -[12:01:15 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:20 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:11 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6106,12 +6102,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -6129,8 +6120,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time -//// [/src/2/second-output.d.ts.map] file changed its modified time //// [/src/2/second-output.js] var s = "Hello, world"; console.log(s); @@ -8521,8 +8510,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 0840e81cdc113..ebcbbb6443d15 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -5784,8 +5784,6 @@ Output:: [12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:08 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -5804,10 +5802,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -6082,8 +6077,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 5f7a08447dcb9..ac0d2735ba66f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -11346,13 +11346,9 @@ Output:: [12:01:36 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:41 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:42 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed - -[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:52 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:43 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -11395,12 +11391,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -11418,8 +11409,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time -//// [/src/2/second-output.d.ts.map] file changed its modified time //// [/src/2/second-output.js] var s = "Hola, world"; console.log(s); @@ -13710,8 +13699,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hola, world"; console.log(s); @@ -15724,26 +15711,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:02:02 AM] Projects in this build: +[12:01:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:02:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:02:04 AM] Building project '/src/first/tsconfig.json'... +[12:01:56 AM] Building project '/src/first/tsconfig.json'... -[12:02:12 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:02:13 AM] Updating output of project '/src/second/tsconfig.json'... +[12:02:05 AM] Updating output of project '/src/second/tsconfig.json'... -[12:02:17 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:02:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:02:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed - -[12:02:24 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:02:29 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:02:11 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -15785,13 +15768,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -15809,7 +15786,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} @@ -16621,8 +16597,6 @@ sourceFile:../second/second_part2.ts --- >>>//# sourceMappingURL=second-output.d.ts.map -//// [/src/2/second-output.js] file changed its modified time -//// [/src/2/second-output.js.map] file changed its modified time //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"version":"FakeTSVersion"} @@ -17618,8 +17592,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 9562fcef65a35..a6f6198a198b1 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -5937,13 +5937,9 @@ Output:: [12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:09 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed - -[12:01:15 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:20 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:11 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5964,12 +5960,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5987,8 +5978,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time -//// [/src/2/second-output.d.ts.map] file changed its modified time //// [/src/2/second-output.js] var s = "Hello, world"; console.log(s); @@ -8379,8 +8368,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -10493,26 +10480,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:30 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:31 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:32 AM] Building project '/src/first/tsconfig.json'... +[12:01:23 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:40 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Building project '/src/first/tsconfig.json'... -[12:01:41 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:32 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:45 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:01:33 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:38 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:57 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:39 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10532,13 +10515,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -10556,7 +10533,6 @@ directoryExists:: { } -//// [/src/2/second-output.d.ts] file changed its modified time //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} @@ -11368,8 +11344,6 @@ sourceFile:../second/second_part2.ts --- >>>//# sourceMappingURL=second-output.d.ts.map -//// [/src/2/second-output.js] file changed its modified time -//// [/src/2/second-output.js.map] file changed its modified time //// [/src/2/second-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} @@ -12365,8 +12339,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index e8273512dd620..c01a9d6769f0e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -5648,8 +5648,6 @@ Output:: [12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:08 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -5668,10 +5666,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -5946,8 +5941,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -8096,22 +8089,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:17 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' - -[12:01:19 AM] Building project '/src/first/tsconfig.json'... +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:34 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8130,10 +8121,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -8844,8 +8832,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 9a72a9c6379b5..f8a47d64f4cfa 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -8211,8 +8211,6 @@ Output:: [12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:30 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -8253,10 +8251,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -8531,8 +8526,6 @@ declare function f(): string; "size": 290 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hola, world"; console.log(s); @@ -10581,22 +10574,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:35 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:37 AM] Building project '/src/first/tsconfig.json'... -[12:01:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... - -[12:01:56 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -10637,10 +10628,7 @@ getModifiedTime:: { "/src/third/tsconfig.json": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -11351,8 +11339,6 @@ sourceFile:../../third_part1.ts --- >>>//# sourceMappingURL=third-output.d.ts.map -//// [/src/third/thirdjs/output/third-output.js] file changed its modified time -//// [/src/third/thirdjs/output/third-output.js.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index a5813f5930d1a..1e39b69f7e285 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -3919,8 +3919,6 @@ Output:: [12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:33 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, @@ -3963,10 +3961,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -4274,8 +4269,6 @@ declare function f(): string; "size": 318 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hola, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 3c732fcbc5a66..f77a302ddefb3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -2067,8 +2067,6 @@ Output:: [12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:04 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -2088,10 +2086,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2359,8 +2354,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 21628720693f9..39ec9847ff985 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -1828,8 +1828,6 @@ Output:: [12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:03 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... - exitCode:: ExitStatus.Success getModifiedTime:: { @@ -1848,10 +1846,7 @@ getModifiedTime:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } -setModifiedTime:: { - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/first/bin/first-output.js": 1, @@ -2119,8 +2114,6 @@ declare function f(): string; "size": 252 } -//// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time -//// [/src/third/thirdjs/output/third-output.d.ts.map] file changed its modified time //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index c376b74a8c12c..dd529730264ea 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -537,15 +537,13 @@ Output:: [12:00:40 AM] Building project '/src/core/tsconfig.json'... -[12:00:46 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:46 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:51 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:47 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:53 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:50 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:58 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies - -[12:01:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:00:51 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -567,15 +565,7 @@ getModifiedTime:: { } setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -655,7 +645,6 @@ exports.multiply = multiply; } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time -//// [/src/tests/index.d.ts] file changed its modified time //// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -680,18 +669,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:05 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:06 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:56 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:07 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:57 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:08 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:00:58 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' -[12:01:09 AM] Building project '/src/tests/tsconfig.json'... +[12:00:59 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index ab2620d4e8bc5..c797e3d122ac8 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -489,8 +489,6 @@ Output:: [12:00:33 AM] Building project '/src/core/tsconfig.json'... -[12:00:39 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... - lib/lib.d.ts Default library for target 'es3' src/core/anotherModule.ts @@ -499,9 +497,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:44 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:39 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:45 AM] Building project '/src/logic/tsconfig.json'... +[12:00:40 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -513,9 +511,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:46 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:52 AM] Building project '/src/tests/tsconfig.json'... +[12:00:47 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -546,11 +544,7 @@ getModifiedTime:: { "/src/tests/index.d.ts": 1 } -setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/core/index.ts": 1, @@ -569,7 +563,6 @@ directoryExists:: { } -//// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] export declare const someString: string; export declare function leftPad(s: string, n: number): string; @@ -819,16 +812,14 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:00:58 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' - -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:00:54 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:01:06 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:55 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -838,13 +829,13 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:01:11 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:01 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:13 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:02 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:18 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:05 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:20 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:06 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -866,15 +857,7 @@ getModifiedTime:: { } setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -964,3 +947,45 @@ var someClass2 = /** @class */ (function () { //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time //// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/tests --explainFiles --v +[12:01:09 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:01:10 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' + +[12:01:11 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' + +[12:01:12 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + + diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 76ae330b1a386..4322b51c6ab3a 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -522,8 +522,6 @@ setModifiedTimes:: {} non Dts change to logic:: After building next project Output:: -//// [/user/username/projects/tests/index.js] file changed its modified time -//// [/user/username/projects/tests/index.d.ts] file changed its modified time //// [/user/username/projects/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -535,8 +533,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/tests/index.js": 1, - "/user/username/projects/tests/index.d.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 459bcc2058fe2..57fbcecf4480b 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -471,11 +471,7 @@ getModifiedTime:: { "/src/tests/index.d.ts": 1 } -setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/core/index.ts": 1, @@ -494,7 +490,6 @@ directoryExists:: { } -//// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] export declare const someString: string; export declare function leftPad(s: string, n: number): string; @@ -768,15 +763,7 @@ getModifiedTime:: { } setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -866,3 +853,34 @@ var someClass2 = /** @class */ (function () { //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time //// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/tests --listEmittedFiles +exitCode:: ExitStatus.Success + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + + diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index ac71e7b64060d..e18f2cce47659 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -472,11 +472,7 @@ getModifiedTime:: { "/src/tests/index.d.ts": 1 } -setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/core/index.ts": 1, @@ -495,7 +491,6 @@ directoryExists:: { } -//// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] export declare const someString: string; export declare function leftPad(s: string, n: number): string; @@ -769,15 +764,7 @@ getModifiedTime:: { } setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -867,3 +854,34 @@ var someClass2 = /** @class */ (function () { //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time //// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/tests --listFiles +exitCode:: ExitStatus.Success + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + + diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 4a3e461f8796d..f878640ca8df8 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -748,15 +748,13 @@ Output:: [12:00:36 AM] Building project '/src/core/tsconfig.json'... -[12:00:42 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:42 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:43 AM] Building project '/src/logic/tsconfig.json'... -[12:00:48 AM] Building project '/src/logic/tsconfig.json'... +[12:00:49 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' - -[12:00:55 AM] Building project '/src/tests/tsconfig.json'... +[12:00:50 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -789,11 +787,7 @@ getModifiedTime:: { "/src/tests/index.d.ts": 1 } -setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1 -} +setModifiedTime:: {} fileExists:: { "/src/core/index.ts": 1, @@ -812,7 +806,6 @@ directoryExists:: { } -//// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] export declare const someString: string; export declare function leftPad(s: string, n: number): string; @@ -1198,24 +1191,22 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --verbose -[12:01:03 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' - -[12:01:05 AM] Building project '/src/core/tsconfig.json'... +[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:01:11 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:01:00 AM] Building project '/src/core/tsconfig.json'... -[12:01:16 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:06 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:18 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:07 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:23 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:10 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:25 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:11 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1248,15 +1239,7 @@ getModifiedTime:: { } setModifiedTime:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -1269,7 +1252,6 @@ directoryExists:: { } -//// [/src/core/anotherModule.d.ts] file changed its modified time //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.d.ts.map.baseline.txt] file written with same contents @@ -1347,10 +1329,58 @@ var someClass2 = /** @class */ (function () { } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time -//// [/src/tests/index.d.ts] file changed its modified time //// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:01:15 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:01:16 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' + +[12:01:17 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' + +[12:01:18 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success +readFiles:: { + "/src/tests/tsconfig.json": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/tsconfig.json": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.tsbuildinfo": 1 +} +getModifiedTime:: { + "/src/core/anotherModule.ts": 1, + "/src/core/index.ts": 1, + "/src/core/some_decl.d.ts": 1, + "/src/core/tsconfig.tsbuildinfo": 1, + "/src/core/tsconfig.json": 1, + "/src/logic/index.ts": 1, + "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/tsconfig.json": 1, + "/src/tests/index.ts": 1, + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/tsconfig.json": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: {} + + + + Change:: when logic config changes declaration dir Input:: //// [/src/logic/tsconfig.json] @@ -1373,20 +1403,20 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:31 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' +[12:01:22 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' -[12:01:34 AM] Building project '/src/logic/tsconfig.json'... +[12:01:23 AM] Building project '/src/logic/tsconfig.json'... -[12:01:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' +[12:01:30 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' -[12:01:42 AM] Building project '/src/tests/tsconfig.json'... +[12:01:31 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1604,16 +1634,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:48 AM] Projects in this build: +[12:01:37 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:49 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:38 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:50 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:39 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:51 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:40 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index a18e5adb4a262..79380df5d6f42 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -861,8 +861,6 @@ File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:49 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... - Program root files: ["/user/username/projects/myproject/packages/pkg2/const.cts","/user/username/projects/myproject/packages/pkg2/index.cts"] @@ -913,8 +911,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/myproject/packages/pkg2/build/const.cjs] file changed its modified time -//// [/user/username/projects/myproject/packages/pkg2/build/const.d.cts] file changed its modified time //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} @@ -1013,7 +1009,4 @@ getModifiedTimes:: { "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/const.cjs": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 -} +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 482edc2608bc8..8735830d33bb2 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -639,9 +639,7 @@ Output:: [12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:43 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... - -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -678,14 +676,12 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] "use strict"; exports.__esModule = true; var a = "hello"; -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -761,10 +757,7 @@ getModifiedTimes:: { "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 -} +setModifiedTimes:: {} Change:: No change @@ -781,15 +774,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:51 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... -[12:01:52 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:50 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:53 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:51 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:55 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:52 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:56 AM] Found 0 errors. Watching for file changes. +[12:01:54 AM] Found 0 errors. Watching for file changes. @@ -824,9 +817,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file changed its modified time -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -847,8 +837,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/main.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/other.js": 1, "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index f3b03cc658d67..8caaccf9f0c9d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -507,7 +507,7 @@ Output:: [12:01:25 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:30 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:29 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... [12:01:31 AM] Found 0 errors. Watching for file changes. @@ -598,7 +598,7 @@ Output:: [12:01:37 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:39 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... [12:01:40 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 185c7d1663886..6e1468cb37d3f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -555,7 +555,7 @@ Output:: [12:01:49 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:51 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:50 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... [12:01:52 AM] Found 0 errors. Watching for file changes. @@ -688,8 +688,6 @@ function someFn() { } "size": 1493 } -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -714,8 +712,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 9c04defc44f6c..98daca3732b16 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -275,7 +275,7 @@ Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... -[12:01:01 AM] Found 0 errors. Watching for file changes. +[12:01:00 AM] Found 0 errors. Watching for file changes. @@ -311,8 +311,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/solution/app/fileWithError.js] file written with same contents //// [/user/username/projects/solution/app/fileWithError.d.ts] file written with same contents -//// [/user/username/projects/solution/app/fileWithoutError.js] file changed its modified time -//// [/user/username/projects/solution/app/fileWithoutError.d.ts] file changed its modified time //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents @@ -333,7 +331,4 @@ getModifiedTimes:: { "/user/username/projects/solution/app/filewithouterror.d.ts": 1 } -setModifiedTimes:: { - "/user/username/projects/solution/app/filewithouterror.js": 1, - "/user/username/projects/solution/app/filewithouterror.d.ts": 1 -} +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 321cdca85234c..58c63f5c55249 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -238,9 +238,7 @@ Output:: [12:00:51 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:00 AM] Updating unchanged output timestamps of project '/user/username/projects/sample1/core/tsconfig.json'... - -[12:01:04 AM] Found 0 errors. Watching for file changes. +[12:01:02 AM] Found 0 errors. Watching for file changes. @@ -277,10 +275,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/outDir/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/outDir/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/outDir/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/outDir/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -357,12 +351,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/outdir/anothermodule.js": 1, - "/user/username/projects/sample1/core/outdir/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/outdir/index.js": 1, - "/user/username/projects/sample1/core/outdir/index.d.ts": 1 -} +setModifiedTimes:: {} Change:: No change diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 77019e7445842..340165ecb7766 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -251,9 +251,7 @@ Output:: [12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:03 AM] Updating unchanged output timestamps of project '/user/username/projects/sample1/core/tsconfig.json'... - -[12:01:07 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -290,12 +288,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -377,14 +369,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: No change diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 1ee48dc99bb5f..5677bf16c417e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -720,7 +720,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:58 AM] Found 0 errors. Watching for file changes. +[12:01:57 AM] Found 0 errors. Watching for file changes. @@ -751,7 +751,6 @@ function bar() { return foo() + 1; } ; -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/index.tsbuildinfo] {"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"version":"FakeTSVersion"} @@ -854,6 +853,4 @@ getModifiedTimes:: { "/user/username/projects/sample1/logic/index.d.ts": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 35ebb2b9582c4..63a72fee30a5e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -531,10 +531,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -613,12 +609,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -675,9 +666,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -700,9 +688,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -719,7 +704,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -765,8 +750,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -789,8 +772,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -812,7 +793,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:31 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... @@ -859,10 +840,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -946,12 +923,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1008,9 +980,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -1033,9 +1002,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -1052,7 +1018,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -1098,8 +1064,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -1122,7 +1086,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index e2544d4a54616..33b6e11d93e5c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -532,8 +532,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -618,10 +616,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -786,7 +781,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:55 AM] Found 0 errors. Watching for file changes. +[12:01:54 AM] Found 0 errors. Watching for file changes. @@ -959,7 +954,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... +[12:01:58 AM] File change detected. Starting incremental compilation... @@ -1003,8 +998,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -1080,10 +1073,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1248,7 +1238,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:40 AM] Found 0 errors. Watching for file changes. +[12:02:38 AM] Found 0 errors. Watching for file changes. @@ -1423,7 +1413,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:47 AM] File change detected. Starting incremental compilation... +[12:02:45 AM] File change detected. Starting incremental compilation... @@ -1467,8 +1457,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -1560,10 +1548,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1728,7 +1713,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:28 AM] Found 0 errors. Watching for file changes. +[12:03:25 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 00189f1ca666a..d4a3287444e0c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -532,8 +532,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -608,10 +606,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -653,9 +648,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -667,9 +659,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -686,7 +675,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:30 AM] Found 0 errors. Watching for file changes. +[12:01:29 AM] Found 0 errors. Watching for file changes. @@ -716,8 +705,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -729,7 +716,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 9ab2e06c2285b..22fec06da2377 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -570,12 +570,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -657,14 +651,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -721,9 +708,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -746,9 +730,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -765,7 +746,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:39 AM] Found 0 errors. Watching for file changes. +[12:01:38 AM] Found 0 errors. Watching for file changes. @@ -811,8 +792,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -835,8 +814,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -858,7 +835,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... @@ -905,12 +882,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time -//// [/user/username/projects/sample1/core/index.js] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -999,14 +970,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1, - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/index.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1063,9 +1027,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -1088,9 +1049,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -1107,7 +1065,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:02 AM] Found 0 errors. Watching for file changes. +[12:02:00 AM] Found 0 errors. Watching for file changes. @@ -1153,8 +1111,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -1177,7 +1133,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 8c8b91fb91f12..a38c9a4a491b7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -571,9 +571,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -662,11 +659,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -831,7 +824,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:08 AM] Found 0 errors. Watching for file changes. +[12:02:07 AM] Found 0 errors. Watching for file changes. @@ -1004,7 +997,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:12 AM] File change detected. Starting incremental compilation... +[12:02:11 AM] File change detected. Starting incremental compilation... @@ -1048,9 +1041,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -1131,11 +1121,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1300,7 +1286,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:56 AM] Found 0 errors. Watching for file changes. +[12:02:54 AM] Found 0 errors. Watching for file changes. @@ -1475,7 +1461,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:03:03 AM] File change detected. Starting incremental compilation... +[12:03:01 AM] File change detected. Starting incremental compilation... @@ -1519,9 +1505,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -1618,11 +1601,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -1787,7 +1766,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:47 AM] Found 0 errors. Watching for file changes. +[12:03:44 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 55d21981619fa..84f7b18f6a72e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -571,9 +571,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/core/anotherModule.js] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] file changed its modified time -//// [/user/username/projects/sample1/core/anotherModule.d.ts] file changed its modified time //// [/user/username/projects/sample1/core/index.js] "use strict"; exports.__esModule = true; @@ -650,11 +647,7 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } -setModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.js": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts.map": 1 -} +setModifiedTimes:: {} Change:: Build logic or update time stamps @@ -696,9 +689,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file changed its modified time -//// [/user/username/projects/sample1/logic/index.js] file changed its modified time -//// [/user/username/projects/sample1/logic/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -710,9 +700,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.js.map": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -729,7 +716,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:43 AM] Found 0 errors. Watching for file changes. +[12:01:42 AM] Found 0 errors. Watching for file changes. @@ -759,8 +746,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/tests/index.js] file changed its modified time -//// [/user/username/projects/sample1/tests/index.d.ts] file changed its modified time //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -772,7 +757,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/sample1/tests/index.js": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 467fe1a8bce01..68ad798357287 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -266,7 +266,7 @@ Output:: [12:00:57 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:59 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:00:58 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -307,10 +307,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/commonFile1.js] file changed its modified time -//// [/a/b/commonFile1.d.ts] file changed its modified time -//// [/a/b/commonFile2.js] file changed its modified time -//// [/a/b/commonFile2.d.ts] file changed its modified time //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -332,10 +328,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 1, "/a/b/project1.tsconfig.tsbuildinfo": 1 } @@ -356,7 +348,7 @@ Output:: [12:01:01 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:03 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:02 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... [12:01:04 AM] Found 0 errors. Watching for file changes. @@ -397,8 +389,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/other.js] file changed its modified time -//// [/a/b/other.d.ts] file changed its modified time //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -417,8 +407,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1, "/a/b/project2.tsconfig.tsbuildinfo": 1 } @@ -445,7 +433,7 @@ Output:: [12:01:10 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:12 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:11 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... [12:01:13 AM] Found 0 errors. Watching for file changes. @@ -486,8 +474,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/other.js] file changed its modified time -//// [/a/b/other.d.ts] file changed its modified time //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -507,8 +493,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/a/b/other.js": 1, - "/a/b/other.d.ts": 1, "/a/b/project2.tsconfig.tsbuildinfo": 1 } @@ -638,7 +622,7 @@ Output:: [12:01:35 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:37 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:36 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -679,10 +663,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/commonFile1.js] file changed its modified time -//// [/a/b/commonFile1.d.ts] file changed its modified time -//// [/a/b/commonFile2.js] file changed its modified time -//// [/a/b/commonFile2.d.ts] file changed its modified time //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time fileExists:: { @@ -702,10 +682,6 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.js": 1, - "/a/b/commonfile2.d.ts": 1, "/a/b/project1.tsconfig.tsbuildinfo": 1 } @@ -722,11 +698,11 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:38 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'other.js' is older than newest input 'alpha.tsconfig.json' +[12:01:38 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' [12:01:39 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:41 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:40 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... [12:01:42 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index d5ab23a85bd52..df047dcdac01f 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -304,7 +304,7 @@ Output:: [12:01:11 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... [12:01:14 AM] Found 0 errors. Watching for file changes. @@ -428,8 +428,6 @@ export declare function f2(): void; "size": 983 } -//// [/user/username/projects/myproject/webpack/index.js] file changed its modified time -//// [/user/username/projects/myproject/webpack/index.d.ts] file changed its modified time //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] file changed its modified time fileExists:: {} @@ -450,7 +448,5 @@ getModifiedTimes:: { } setModifiedTimes:: { - "/user/username/projects/myproject/webpack/index.js": 1, - "/user/username/projects/myproject/webpack/index.d.ts": 1, "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 1fe799b1e8e3b..b78570757c684 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -528,7 +528,7 @@ Output:: [12:01:56 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:58 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:57 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... [12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index cff360aaff23b..37c55757d1d76 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -271,25 +271,25 @@ Output:: [12:01:11 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:17 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:21 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:25 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -505,19 +505,19 @@ Output:: [12:01:37 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:39 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:43 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:47 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:48 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index cff360aaff23b..37c55757d1d76 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -271,25 +271,25 @@ Output:: [12:01:11 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:17 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:21 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:25 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -505,19 +505,19 @@ Output:: [12:01:37 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:39 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:43 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:47 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:48 AM] Found 0 errors. Watching for file changes. From 59f2b5c078f249a856f1e83c17e36f84a1b0812b Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 5 Apr 2022 11:46:51 -0700 Subject: [PATCH 27/64] Store change file set instead of hasPendingChange to be able to reuse the information --- src/compiler/builder.ts | 23 ++- src/compiler/tsbuildPublic.ts | 4 +- .../unittests/tsbuild/configFileErrors.ts | 15 +- src/testRunner/unittests/tsbuild/helpers.ts | 4 +- .../unittests/tsbuild/noEmitOnError.ts | 3 +- .../unittests/tscWatch/incremental.ts | 2 +- ...tax-errors-in-config-file-discrepancies.js | 177 ++++++++++++++++++ .../reports-syntax-errors-in-config-file.js | 38 ++++ ...x-errors-with-incremental-discrepancies.js | 20 -- .../syntax-errors-with-incremental.js | 75 ++++++-- ...iles-belong-to-rootDir-and-is-composite.js | 46 ++++- .../reports-syntax-errors-in-config-file.js | 104 ++++++---- ...mit-any-files-on-error-with-incremental.js | 162 ++++++++++------ 13 files changed, 533 insertions(+), 140 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js delete mode 100644 tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index ec75d3aa1a345..ee77c843487d2 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -28,7 +28,7 @@ namespace ts { /** * The map has key by source file's path that has been changed */ - changedFilesSet?: ReadonlySet; + changedFilesSet: ReadonlySet; /** * Set of affected files being iterated */ @@ -196,11 +196,11 @@ namespace ts { } const changedFilesSet = oldState!.changedFilesSet; if (canCopySemanticDiagnostics) { - Debug.assert(!changedFilesSet || !forEachKey(changedFilesSet, path => oldState!.semanticDiagnosticsPerFile!.has(path)), "Semantic diagnostics shouldnt be available for changed files"); + Debug.assert(!changedFilesSet.size || !forEachKey(changedFilesSet, path => oldState!.semanticDiagnosticsPerFile!.has(path)), "Semantic diagnostics shouldnt be available for changed files"); } // Copy old state's changed files set - changedFilesSet?.forEach(value => state.changedFilesSet.add(value)); + changedFilesSet.forEach(value => state.changedFilesSet.add(value)); if (!outFile(compilerOptions) && oldState!.affectedFilesPendingEmit) { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); @@ -269,7 +269,7 @@ namespace ts { }); } - state.buildInfoEmitPending = !!state.changedFilesSet.size; + state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== oldState!.changedFilesSet.size; return state; } @@ -704,12 +704,13 @@ namespace ts { } else { state.seenAffectedFiles!.add((affected as SourceFile).resolvedPath); + // Change in changeSet/affectedFilesPendingEmit, buildInfo needs to be emitted + state.buildInfoEmitPending = true; if (emitKind !== undefined) { (state.seenEmittedFiles || (state.seenEmittedFiles = new Map())).set((affected as SourceFile).resolvedPath, emitKind); } if (isPendingEmit) { state.affectedFilesPendingEmitIndex!++; - state.buildInfoEmitPending = true; } else { state.affectedFilesIndex!++; @@ -800,7 +801,7 @@ namespace ts { exportedModulesMap?: ProgramBuildInfoReferencedMap; semanticDiagnosticsPerFile?: ProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[]; - hasPendingChange?: boolean; + changeFileSet?: readonly ProgramBuildInfoFileId[]; } /** @@ -890,6 +891,13 @@ namespace ts { } } + let changeFileSet: ProgramBuildInfoFileId[] | undefined; + if (state.changedFilesSet.size) { + for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { + (changeFileSet ||= []).push(toFileId(path)); + } + } + return { fileNames, fileInfos, @@ -899,7 +907,7 @@ namespace ts { exportedModulesMap, semanticDiagnosticsPerFile, affectedFilesPendingEmit, - hasPendingChange: state.changedFilesSet?.size ? true : undefined, + changeFileSet, }; function relativeToBuildInfoEnsuringAbsolutePath(path: string) { @@ -1380,6 +1388,7 @@ namespace ts { affectedFilesPendingEmit: map(program.affectedFilesPendingEmit, value => toFilePath(value[0])), affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(value[0]), value => value[1]), affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0, + changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), }; return { getState: () => state, diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 3da9248e24d82..e22c003cd3161 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1336,7 +1336,7 @@ namespace ts { buildResult: BuildResultFlags, errorType: string, ) { - const canEmitBuildInfo = !(buildResult & BuildResultFlags.SyntaxErrors) && program && !outFile(program.getCompilerOptions()); + const canEmitBuildInfo = program && !outFile(program.getCompilerOptions()); reportAndStoreErrors(state, resolvedPath, diagnostics); state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.Unbuildable, reason: `${errorType} errors` }); @@ -1529,7 +1529,7 @@ namespace ts { } if (buildInfo.program) { - if (buildInfo.program.hasPendingChange || + if (buildInfo.program.changeFileSet?.length || (!buildInfo.program.options?.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { return { type: UpToDateStatusType.OutOfDateBuildInfo, diff --git a/src/testRunner/unittests/tsbuild/configFileErrors.ts b/src/testRunner/unittests/tsbuild/configFileErrors.ts index 594c8e07cadd8..79a92d4278b39 100644 --- a/src/testRunner/unittests/tsbuild/configFileErrors.ts +++ b/src/testRunner/unittests/tsbuild/configFileErrors.ts @@ -9,6 +9,13 @@ namespace ts { }); describe("unittests:: tsbuild:: configFileErrors:: reports syntax errors in config file", () => { + function descripencyExplaination() { + return [ + "During incremental build, tsbuildinfo is not emitted, so declaration option is not present", + "Clean build has declaration option in tsbuildinfo", + ]; + } + verifyTscWithEdits({ scenario: "configFileErrors", subScenario: "reports syntax errors in config file", @@ -31,13 +38,15 @@ namespace ts { { modifyFs: fs => replaceText(fs, "/src/tsconfig.json", ",", `, "declaration": true,`), - subScenario: "reports syntax errors after change to config file" + subScenario: "reports syntax errors after change to config file", + descripencyExplaination }, { modifyFs: fs => appendText(fs, "/src/a.ts", "export function fooBar() { }"), - subScenario: "reports syntax errors after change to ts file" + subScenario: "reports syntax errors after change to ts file", + descripencyExplaination, }, - noChangeRun, + { ...noChangeRun, descripencyExplaination }, { modifyFs: fs => fs.writeFileSync( "/src/tsconfig.json", diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index 04aa069800a48..be68c74baf702 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -207,7 +207,7 @@ interface Symbol { exportedModulesMap?: MapLike; semanticDiagnosticsPerFile?: readonly ReadableProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; - hasPendingChange?: boolean + changeFileSet?: readonly string[]; } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { @@ -232,7 +232,7 @@ interface Symbol { emitKind === BuilderFileEmit.Full ? "Full" : Debug.assertNever(emitKind) ]), - hasPendingChange: buildInfo.program.hasPendingChange, + changeFileSet: buildInfo.program.changeFileSet?.map(toFileName), }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { diff --git a/src/testRunner/unittests/tsbuild/noEmitOnError.ts b/src/testRunner/unittests/tsbuild/noEmitOnError.ts index c0dac4513faa3..3e732c7f089e6 100644 --- a/src/testRunner/unittests/tsbuild/noEmitOnError.ts +++ b/src/testRunner/unittests/tsbuild/noEmitOnError.ts @@ -40,9 +40,8 @@ const a = { const a = { lastName: 'sdsd' };`, "utf-8"), - descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, }, - noChangeWithExportsDescripencyRun, + noChangeRun, ], baselinePrograms: true, }); diff --git a/src/testRunner/unittests/tscWatch/incremental.ts b/src/testRunner/unittests/tscWatch/incremental.ts index 1af240764fea7..c038a7e6d4dd5 100644 --- a/src/testRunner/unittests/tscWatch/incremental.ts +++ b/src/testRunner/unittests/tscWatch/incremental.ts @@ -155,7 +155,7 @@ namespace ts.tscWatch { }); const state = builderProgram.getState(); - assert.equal(state.changedFilesSet!.size, 0, "changes"); + assert.equal(state.changedFilesSet.size, 0, "changes"); assert.equal(state.fileInfos.size, 3, "FileInfo size"); assert.deepEqual(state.fileInfos.get(libFile.path as Path), { diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js new file mode 100644 index 0000000000000..234d52caa041e --- /dev/null +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js @@ -0,0 +1,177 @@ +0:: reports syntax errors after change to config file +During incremental build, tsbuildinfo is not emitted, so declaration option is not present +Clean build has declaration option in tsbuildinfo +TsBuild info text without affectedFilesPendingEmit:: /src/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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion" +} +1:: reports syntax errors after change to ts file +During incremental build, tsbuildinfo is not emitted, so declaration option is not present +Clean build has declaration option in tsbuildinfo +TsBuild info text without affectedFilesPendingEmit:: /src/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 + }, + "./a.ts": { + "version": "9819159940-export function foo() { }export function fooBar() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion" +} +2:: no-change-run +During incremental build, tsbuildinfo is not emitted, so declaration option is not present +Clean build has declaration option in tsbuildinfo +TsBuild info text without affectedFilesPendingEmit:: /src/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 + }, + "./a.ts": { + "version": "9819159940-export function foo() { }export function fooBar() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 1a7c5db3bb80c..8b38dfa06e992 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -61,6 +61,44 @@ directoryExists:: { } +//// [/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 834 +} + Change:: reports syntax errors after change to config file diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js deleted file mode 100644 index 1b74571fe5ab5..0000000000000 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental-discrepancies.js +++ /dev/null @@ -1,20 +0,0 @@ -1:: Fix error -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "../src/main.ts": [ - "../shared/types/db.ts" - ] -} -Clean: {} -2:: no-change-run -Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files -Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "../src/main.ts": [ - "../shared/types/db.ts" - ] -} -Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index a85c38064ed13..34eb9bc5d7390 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -84,6 +84,59 @@ directoryExists:: { } +//// [/src/dev-build/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":false},{"version":"2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","signature":false},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":false}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} + +//// [/src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../shared/types/db.ts", + "../src/main.ts", + "../src/other.ts" + ], + "fileNamesList": [ + [ + "../shared/types/db.ts" + ] + ], + "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 + }, + "../shared/types/db.ts": { + "version": "-9621097780-export interface A {\r\n name: string;\r\n}" + }, + "../src/main.ts": { + "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" + }, + "../src/other.ts": { + "version": "11373096570-console.log(\"hi\");\r\nexport { }" + } + }, + "options": { + "noEmitOnError": true, + "outDir": "./" + }, + "referencedMap": { + "../src/main.ts": [ + "../shared/types/db.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../lib/lib.d.ts", + "../shared/types/db.ts", + "../src/main.ts", + "../src/other.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1084 +} + Change:: no-change-run @@ -166,9 +219,9 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /lib/lib.d.ts (used version) -/src/shared/types/db.ts (used version) -/src/src/main.ts (used version) -/src/src/other.ts (used version) +/src/shared/types/db.ts (computed .d.ts) +/src/src/main.ts (computed .d.ts) +/src/src/other.ts (computed .d.ts) getModifiedTime:: { "/src/shared/types/db.ts": 1, @@ -210,7 +263,7 @@ console.log("hi"); //// [/src/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-6245214333-export interface A {\r\n name: string;\r\n}\r\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-4882119183-export {};\r\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-4882119183-export {};\r\n"}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} //// [/src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,15 +287,15 @@ console.log("hi"); }, "../shared/types/db.ts": { "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" + "signature": "-6245214333-export interface A {\r\n name: string;\r\n}\r\n" }, "../src/main.ts": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};" + "signature": "-4882119183-export {};\r\n" }, "../src/other.ts": { "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" + "signature": "-4882119183-export {};\r\n" } }, "options": { @@ -254,11 +307,7 @@ console.log("hi"); "../shared/types/db.ts" ] }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, + "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../shared/types/db.ts", @@ -267,7 +316,7 @@ console.log("hi"); ] }, "version": "FakeTSVersion", - "size": 990 + "size": 1180 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 9409e0be6ef10..a4e8800cc15f0 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -59,6 +59,46 @@ directoryExists:: { } +//// [/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":false},{"version":"-4885977236-export type t = string;","signature":false}],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./src/index.ts", + "./types/type.ts" + ], + "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 + }, + "./src/index.ts": { + "version": "-10726455937-export const x = 10;" + }, + "./types/type.ts": { + "version": "-4885977236-export type t = string;" + } + }, + "options": { + "composite": true, + "outDir": "./dist", + "rootDir": "./src" + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./src/index.ts", + "./types/type.ts" + ] + }, + "version": "FakeTSVersion", + "size": 883 +} + Change:: no-change-run @@ -67,12 +107,12 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:14 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is out of date because output file 'src/tsconfig.tsbuildinfo' does not exist +[12:00:17 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:16 AM] Building project '/src/tsconfig.json'... +[12:00:18 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 0f61c4040e3e2..bf39aa17767d4 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -48,7 +48,7 @@ Output:: 7 "b.ts"    ~~~~~~ -[12:00:24 AM] Found 1 error. Watching for file changes. +[12:00:28 AM] Found 1 error. Watching for file changes. @@ -78,6 +78,44 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"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; }","signature":false,"affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./a.ts": { + "version": "4646078106-export function foo() { }" + }, + "./b.ts": { + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 765 +} + fileExists:: {} @@ -123,14 +161,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:28 AM] File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:29 AM] Found 1 error. Watching for file changes. +[12:00:33 AM] Found 1 error. Watching for file changes. @@ -194,14 +232,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:37 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:34 AM] Found 1 error. Watching for file changes. +[12:00:38 AM] Found 1 error. Watching for file changes. @@ -263,14 +301,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:38 AM] File change detected. Starting incremental compilation... +[12:00:42 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:39 AM] Found 1 error. Watching for file changes. +[12:00:43 AM] Found 1 error. Watching for file changes. @@ -334,9 +372,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:47 AM] File change detected. Starting incremental compilation... -[12:00:56 AM] Found 0 errors. Watching for file changes. +[12:01:02 AM] Found 0 errors. Watching for file changes. @@ -372,30 +410,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/myproject/a.js] -"use strict"; -exports.__esModule = true; -exports.fooBar = void 0; -function fooBar() { } -exports.fooBar = fooBar; - - -//// [/user/username/projects/myproject/a.d.ts] -export declare function fooBar(): void; - - -//// [/user/username/projects/myproject/b.js] -"use strict"; -exports.__esModule = true; -exports.bar = void 0; -function bar() { } -exports.bar = bar; - - -//// [/user/username/projects/myproject/b.d.ts] -export declare function bar(): void; - - //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} @@ -438,6 +452,30 @@ export declare function bar(): void; "size": 880 } +//// [/user/username/projects/myproject/a.js] +"use strict"; +exports.__esModule = true; +exports.fooBar = void 0; +function fooBar() { } +exports.fooBar = fooBar; + + +//// [/user/username/projects/myproject/a.d.ts] +export declare function fooBar(): void; + + +//// [/user/username/projects/myproject/b.js] +"use strict"; +exports.__esModule = true; +exports.bar = void 0; +function bar() { } +exports.bar = bar; + + +//// [/user/username/projects/myproject/b.d.ts] +export declare function bar(): void; + + fileExists:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 8735830d33bb2..3b81583f5fee3 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -64,7 +64,7 @@ Output:: 4 ;   ~ -[12:00:35 AM] Found 1 error. Watching for file changes. +[12:00:42 AM] Found 1 error. Watching for file changes. @@ -99,6 +99,59 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":false},{"version":"2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","signature":false},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":false}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} + +//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../shared/types/db.ts", + "../src/main.ts", + "../src/other.ts" + ], + "fileNamesList": [ + [ + "../shared/types/db.ts" + ] + ], + "fileInfos": { + "../../../../../a/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 + }, + "../shared/types/db.ts": { + "version": "-9621097780-export interface A {\r\n name: string;\r\n}" + }, + "../src/main.ts": { + "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" + }, + "../src/other.ts": { + "version": "11373096570-console.log(\"hi\");\r\nexport { }" + } + }, + "options": { + "noEmitOnError": true, + "outDir": "./" + }, + "referencedMap": { + "../src/main.ts": [ + "../shared/types/db.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../../../a/lib/lib.d.ts", + "../shared/types/db.ts", + "../src/main.ts", + "../src/other.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1095 +} + fileExists:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1 @@ -110,7 +163,9 @@ directoryExists:: { "/user/username/projects/node_modules/@types": 1, "/user/username/node_modules/@types": 1, "/user/node_modules/@types": 1, - "/node_modules/@types": 1 + "/node_modules/@types": 1, + "/user/username/projects/noemitonerror/dev-build": 1, + "/user/username/projects/noemitonerror": 1 } getModifiedTimes:: { @@ -137,18 +192,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:39 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... -[12:00:40 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/tsconfig.tsbuildinfo' does not exist +[12:00:47 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:00:41 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:4:1 - error TS1005: ',' expected. 4 ;   ~ -[12:00:42 AM] Found 1 error. Watching for file changes. +[12:00:49 AM] Found 1 error. Watching for file changes. @@ -223,13 +278,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:46 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] File change detected. Starting incremental compilation... -[12:00:47 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/tsconfig.tsbuildinfo' does not exist +[12:00:54 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:55 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:09 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -272,25 +327,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -348,6 +384,25 @@ console.log("hi"); "size": 1181 } +//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] +"use strict"; +exports.__esModule = true; + + +//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] +"use strict"; +exports.__esModule = true; +var a = { + lastName: 'sdsd' +}; + + +//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] +"use strict"; +exports.__esModule = true; +console.log("hi"); + + fileExists:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1 @@ -362,8 +417,7 @@ directoryExists:: { "/node_modules/@types": 1, "/user/username/projects/noemitonerror/dev-build/shared/types": 1, "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, + "/user/username/projects/noemitonerror/dev-build": 1, "/user/username/projects/noemitonerror/dev-build/src": 1 } @@ -391,18 +445,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:21 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:15 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:22 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:22 AM] Found 1 error. Watching for file changes. +[12:01:29 AM] Found 1 error. Watching for file changes. @@ -549,18 +603,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:26 AM] File change detected. Starting incremental compilation... +[12:01:33 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:34 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:28 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:29 AM] Found 1 error. Watching for file changes. +[12:01:36 AM] Found 1 error. Watching for file changes. @@ -633,13 +687,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:33 AM] File change detected. Starting incremental compilation... +[12:01:40 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:41 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:42 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:52 AM] Found 0 errors. Watching for file changes. @@ -676,12 +730,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} @@ -739,6 +787,12 @@ var a = "hello"; "size": 1172 } +//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] +"use strict"; +exports.__esModule = true; +var a = "hello"; + + fileExists:: { "/user/username/projects/noemitonerror/shared/types/db.ts": 1 @@ -774,15 +828,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:50 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:57 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:51 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:58 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:52 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:59 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:54 AM] Found 0 errors. Watching for file changes. +[12:02:01 AM] Found 0 errors. Watching for file changes. From 5c12067d44d65d786b019a22620a041ce70ea0e3 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 7 Apr 2022 14:04:50 -0700 Subject: [PATCH 28/64] Add test that shows input file is not present --- src/testRunner/unittests/tsbuild/sample.ts | 28 +++ ...ror-if-input-file-is-missing-with-force.js | 187 ++++++++++++++++++ .../reports-error-if-input-file-is-missing.js | 187 ++++++++++++++++++ 3 files changed, 402 insertions(+) create mode 100644 tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js create mode 100644 tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index fffefb8103428..564ad4cfd9c81 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -509,6 +509,34 @@ class someClass2 { }`), modifyFs: fs => replaceText(fs, "/src/tests/tsconfig.json", `"esModuleInterop": false`, `"esModuleInterop": true`), }], }); + + verifyTsc({ + scenario: "sample1", + subScenario: "reports error if input file is missing", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tests", "--v"], + modifyFs: fs => { + fs.writeFileSync("/src/core/tsconfig.json", JSON.stringify({ + compilerOptions: { composite: true }, + files: ["anotherModule.ts", "index.ts", "some_decl.d.ts"] + })); + fs.unlinkSync("/src/core/anotherModule.ts"); + } + }); + + verifyTsc({ + scenario: "sample1", + subScenario: "reports error if input file is missing with force", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tests", "--v", "--f"], + modifyFs: fs => { + fs.writeFileSync("/src/core/tsconfig.json", JSON.stringify({ + compilerOptions: { composite: true }, + files: ["anotherModule.ts", "index.ts", "some_decl.d.ts"] + })); + fs.unlinkSync("/src/core/anotherModule.ts"); + } + }); }); }); } diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js new file mode 100644 index 0000000000000..c9c9fb0c690c2 --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -0,0 +1,187 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/src/core/some_decl.d.ts] +declare const dts: any; + + +//// [/src/core/tsconfig.json] +{"compilerOptions":{"composite":true},"files":["anotherModule.ts","index.ts","some_decl.d.ts"]} + +//// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} + + +//// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} + + +//// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} + + + + +Output:: +/lib/tsc --b /src/tests --v --f +[12:00:08 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:09 AM] Failed to parse file 'src/core/tsconfig.json': /src/core/anotherModule.ts does not exist. + +[12:00:10 AM] Building project '/src/core/tsconfig.json'... + +error TS6053: File '/src/core/anotherModule.ts' not found. + The file is in the program because: + Part of 'files' list in tsconfig.json + + src/core/tsconfig.json:1:48 + 1 {"compilerOptions":{"composite":true},"files":["anotherModule.ts","index.ts","some_decl.d.ts"]} +    ~~~~~~~~~~~~~~~~~~ + File is matched by 'files' list specified here. + +[12:00:13 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors + +[12:00:14 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors + +[12:00:15 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors + +[12:00:16 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + + +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":false},{"version":"-9253692965-declare const dts: any;\r\n","signature":false,"affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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 + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../lib/lib.d.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1046 +} + diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js new file mode 100644 index 0000000000000..2d8da6365c3b4 --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -0,0 +1,187 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/src/core/some_decl.d.ts] +declare const dts: any; + + +//// [/src/core/tsconfig.json] +{"compilerOptions":{"composite":true},"files":["anotherModule.ts","index.ts","some_decl.d.ts"]} + +//// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} + + +//// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} + + +//// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} + + + + +Output:: +/lib/tsc --b /src/tests --v +[12:00:08 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:09 AM] Failed to parse file 'src/core/tsconfig.json': /src/core/anotherModule.ts does not exist. + +[12:00:10 AM] Building project '/src/core/tsconfig.json'... + +error TS6053: File '/src/core/anotherModule.ts' not found. + The file is in the program because: + Part of 'files' list in tsconfig.json + + src/core/tsconfig.json:1:48 + 1 {"compilerOptions":{"composite":true},"files":["anotherModule.ts","index.ts","some_decl.d.ts"]} +    ~~~~~~~~~~~~~~~~~~ + File is matched by 'files' list specified here. + +[12:00:13 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors + +[12:00:14 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors + +[12:00:15 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors + +[12:00:16 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + +getModifiedTime:: { + "/src/core/anotherModule.ts": 1 +} + +setModifiedTime:: {} + +fileExists:: {} + +directoryExists:: { + "/src/core/node_modules/@types": 1, + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 +} + + +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":false},{"version":"-9253692965-declare const dts: any;\r\n","signature":false,"affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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 + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../lib/lib.d.ts", + "./index.ts", + "./some_decl.d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1046 +} + From 7734528cf8ae47e336ca678fa0a66b542d18adaf Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 7 Apr 2022 15:03:51 -0700 Subject: [PATCH 29/64] No need to check input time stamp before buildinfo --- src/compiler/tsbuildPublic.ts | 75 +++++++++---------- .../modules-and-globals-mixed-in-amd.js | 12 +-- .../multiple-emitHelpers-in-all-projects.js | 18 +---- .../multiple-prologues-in-all-projects.js | 18 +---- .../shebang-in-all-projects.js | 12 +-- .../amdModulesWithOut/stripInternal.js | 18 +---- .../triple-slash-refs-in-all-projects.js | 15 +--- ...e-resolution-finds-original-source-file.js | 6 -- .../reports-syntax-errors-in-config-file.js | 10 --- ...nce-and-both-extend-config-with-include.js | 3 - ...th-projects-extends-config-with-include.js | 3 - ...ter-initial-build-doesnt-build-anything.js | 9 +-- ...ugh-triple-slash-but-uses-no-references.js | 4 - ...file-is-referenced-through-triple-slash.js | 3 - ...d-inferred-type-from-referenced-project.js | 2 - ...s-not-in-rootDir-at-the-import-location.js | 1 - ...ng-setup-correctly-and-reports-no-error.js | 5 -- ...-emitDeclarationOnly-and-declarationMap.js | 9 +-- ...import-project-with-emitDeclarationOnly.js | 9 +-- ...mports-project-with-emitDeclarationOnly.js | 11 +-- ...es-is-empty-and-references-are-provided.js | 1 - ...-transitive-module-with-isolatedModules.js | 17 +---- .../inferred-type-from-transitive-module.js | 21 +----- ...hange-in-signature-with-isolatedModules.js | 35 ++------- ...based-projects-and-emits-them-correctly.js | 3 - ...ved-json-files-and-emits-them-correctly.js | 4 - ...rojects-and-concatenates-them-correctly.js | 9 +-- ...s-merged-and-contains-late-bound-member.js | 11 +-- ...project-correctly-with-preserveSymlinks.js | 2 - ...-file-from-referenced-project-correctly.js | 2 - ...t-resolution-options-referenced-project.js | 2 - ...fiers-across-projects-resolve-correctly.js | 7 -- ...zed-module-specifiers-resolve-correctly.js | 3 - .../semantic-errors-with-incremental.js | 11 +-- .../syntax-errors-with-incremental.js | 11 +-- .../non-module-projects-without-prepend.js | 6 -- ...al-flag-changes-between-non-dts-changes.js | 20 ++--- ...erated-when-incremental-is-set-to-false.js | 5 -- ...-buildInfo-absence-results-in-new-build.js | 7 +- .../baseline-sectioned-sourcemaps.js | 24 ++---- .../declarationMap-and-sourceMap-disabled.js | 5 -- .../emitHelpers-in-all-projects.js | 32 +++----- ...tHelpers-in-only-one-dependency-project.js | 22 ++---- .../tsbuild/outfile-concat/explainFiles.js | 24 ++---- .../multiple-emitHelpers-in-all-projects.js | 22 ++---- ...tiple-emitHelpers-in-different-projects.js | 22 ++---- .../multiple-prologues-in-all-projects.js | 32 +++----- ...ultiple-prologues-in-different-projects.js | 22 ++---- .../outfile-concat/shebang-in-all-projects.js | 24 ++---- .../shebang-in-only-one-dependency-project.js | 14 +--- .../outfile-concat/strict-in-all-projects.js | 32 +++----- .../strict-in-one-dependency.js | 22 ++---- ...hen-internal-is-inside-another-internal.js | 6 -- ...en-one-two-three-are-prepended-in-order.js | 22 ++---- .../stripInternal-jsdoc-style-comment.js | 22 ++---- ...en-one-two-three-are-prepended-in-order.js | 14 +--- ...-jsdoc-style-with-comments-emit-enabled.js | 14 +--- ...l-when-few-members-of-enum-are-internal.js | 6 -- ...en-one-two-three-are-prepended-in-order.js | 32 +++----- ...nal-when-prepend-is-completely-internal.js | 2 - ...en-one-two-three-are-prepended-in-order.js | 22 ++---- ...tripInternal-with-comments-emit-enabled.js | 22 ++---- .../tsbuild/outfile-concat/stripInternal.js | 32 +++----- .../triple-slash-refs-in-all-projects.js | 25 ++----- .../triple-slash-refs-in-one-project.js | 15 +--- ...roject-is-not-composite-but-incremental.js | 6 -- ...t-composite-but-uses-project-references.js | 11 +-- ...final-project-specifies-tsBuildInfoFile.js | 6 -- ...-source-files-are-empty-in-the-own-file.js | 14 +--- ...otDir-is-not-specified-and-is-composite.js | 3 +- ...iles-belong-to-rootDir-and-is-composite.js | 4 - .../builds-correctly.js | 3 - ...nfo-file-because-no-rootDir-in-the-base.js | 1 - ...reports-error-for-same-tsbuildinfo-file.js | 1 - ...eports-no-error-when-tsbuildinfo-differ.js | 3 - .../files-containing-json-file.js | 2 - ...ting-json-module-from-project-reference.js | 6 +- .../resolveJsonModule/include-and-files.js | 2 - ...r-include-and-file-name-matches-ts-file.js | 2 - ...nclude-of-json-along-with-other-include.js | 2 - .../tsbuild/resolveJsonModule/include-only.js | 1 - .../tsbuild/resolveJsonModule/sourcemap.js | 4 +- .../resolveJsonModule/without-outDir.js | 4 +- .../always-builds-under-with-force-option.js | 13 +--- ...uilding-using-getNextInvalidatedProject.js | 5 -- ...rectly-when-declarationDir-is-specified.js | 5 -- ...ilds-correctly-when-outDir-is-specified.js | 5 -- .../can-detect-when-and-what-to-rebuild.js | 27 ++++--- ...ojects-if-upstream-projects-have-errors.js | 7 +- ...does-not-write-any-files-in-a-dry-build.js | 3 - .../reference/tsbuild/sample1/explainFiles.js | 25 +++---- ...it-would-skip-builds-during-a-dry-build.js | 6 +- .../sample1/invalidates-projects-correctly.js | 11 +-- .../tsbuild/sample1/listEmittedFiles.js | 25 +++---- .../reference/tsbuild/sample1/listFiles.js | 25 +++---- ...uilds-from-start-if-force-option-is-set.js | 5 -- ...uilds-when-extended-config-file-changes.js | 11 +-- ...ror-if-input-file-is-missing-with-force.js | 6 +- .../reports-error-if-input-file-is-missing.js | 4 +- .../reference/tsbuild/sample1/sample.js | 37 ++++----- .../when-declaration-option-changes.js | 5 +- .../when-esModuleInterop-option-changes.js | 11 +-- .../when-logic-specifies-tsBuildInfoFile.js | 5 -- .../sample1/when-module-option-changes.js | 5 +- .../sample1/when-target-option-changes.js | 5 +- ...roject-uses-different-module-resolution.js | 2 - .../transitiveReferences/builds-correctly.js | 2 - ...de-resolution-with-external-module-name.js | 2 - .../reports-syntax-errors-in-config-file.js | 2 - .../demo/updates-with-bad-reference.js | 3 +- .../demo/updates-with-circular-reference.js | 5 -- ...for-changes-to-package-json-main-fields.js | 3 - ...t-correctly-with-cts-and-mts-extensions.js | 7 +- ...se-different-module-resolution-settings.js | 2 - ...n-no-files-are-emitted-with-incremental.js | 2 - ...mit-any-files-on-error-with-incremental.js | 14 ++-- .../creates-solution-in-watch-mode.js | 4 - .../incremental-updates-in-verbose-mode.js | 4 - .../when-file-with-no-error-changes.js | 2 - ...ing-errors-only-changed-file-is-emitted.js | 2 - .../when-file-with-no-error-changes.js | 2 - ...ixing-error-files-all-files-are-emitted.js | 2 - .../when-preserveWatchOutput-is-not-used.js | 7 +- ...veWatchOutput-is-passed-on-command-line.js | 7 +- ...e-of-program-emit-with-outDir-specified.js | 7 +- ...r-recompilation-because-of-program-emit.js | 7 +- ...-references-watches-only-those-projects.js | 3 - ...tches-config-files-that-are-not-present.js | 4 - ...e-down-stream-project-and-then-fixes-it.js | 1 - ...ncing-project-even-for-non-local-change.js | 2 - ...le-is-added,-and-its-subsequent-updates.js | 5 +- ...hanges-and-reports-found-errors-message.js | 5 +- ...not-start-build-of-referencing-projects.js | 3 +- ...le-is-added,-and-its-subsequent-updates.js | 10 +-- ...hanges-and-reports-found-errors-message.js | 7 +- ...not-start-build-of-referencing-projects.js | 5 +- ...project-with-extended-config-is-removed.js | 3 - .../works-with-extended-source-files.js | 6 +- .../publicApi/with-custom-transformers.js | 2 - .../reexport/Reports-errors-correctly.js | 5 +- .../on-sample-project.js | 19 ++--- ...-different-folders-with-no-files-clause.js | 8 +- ...nsitive-references-in-different-folders.js | 8 +- .../on-transitive-references.js | 8 +- ...roject-uses-different-module-resolution.js | 2 - ...es-field-when-solution-is-already-built.js | 3 - ...Symlinks-when-solution-is-already-built.js | 3 - ...-package-when-solution-is-already-built.js | 3 - ...Symlinks-when-solution-is-already-built.js | 3 - ...ubFolder-when-solution-is-already-built.js | 3 - ...Symlinks-when-solution-is-already-built.js | 3 - ...-package-when-solution-is-already-built.js | 3 - ...Symlinks-when-solution-is-already-built.js | 3 - ...-project-when-solution-is-already-built.js | 4 - 154 files changed, 373 insertions(+), 1126 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index e22c003cd3161..7a912d679ed90 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1469,39 +1469,18 @@ namespace ts { if (!force) (referenceStatuses ||= []).push({ ref, refStatus }); } } - - // Check output files - let newestInputFileName: string = undefined!; - let newestInputFileTime = minimumDate; - const { host } = state; - // Get timestamps of input files - for (const inputFile of project.fileNames) { - const inputTime = getModifiedTime(state, inputFile); - if (inputTime === missingFileModifiedTime) { - return { - type: UpToDateStatusType.Unbuildable, - reason: `${inputFile} does not exist` - }; - } - - if (!force) { - if (inputTime > newestInputFileTime) { - newestInputFileName = inputFile; - newestInputFileTime = inputTime; - } - } - } - if (force) return { type: UpToDateStatusType.ForceBuild }; + // Check buildinfo first + const { host } = state; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); - // Now see if all outputs are newer than the newest input let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; let newestDeclarationFileContentChangedTime; + let buildInfoTime: Date | undefined; if (buildInfoPath) { - const outputTime = ts.getModifiedTime(host, buildInfoPath); - if (outputTime === missingFileModifiedTime) { + buildInfoTime = ts.getModifiedTime(host, buildInfoPath); + if (buildInfoTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, missingOutputFileName: buildInfoPath @@ -1519,15 +1498,6 @@ namespace ts { } } - // If an output is older than the newest input, we can stop checking - if (outputTime < newestInputFileTime) { - return { - type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: buildInfoPath, - newerInputFileName: newestInputFileName - }; - } - if (buildInfo.program) { if (buildInfo.program.changeFileSet?.length || (!buildInfo.program.options?.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { @@ -1538,15 +1508,44 @@ namespace ts { } } - oldestOutputFileTime = outputTime; + oldestOutputFileTime = buildInfoTime; oldestOutputFileName = buildInfoPath; } + + // Check input files + let newestInputFileName: string = undefined!; + let newestInputFileTime = minimumDate; + // Get timestamps of input files + for (const inputFile of project.fileNames) { + const inputTime = getModifiedTime(state, inputFile); + if (inputTime === missingFileModifiedTime) { + return { + type: UpToDateStatusType.Unbuildable, + reason: `${inputFile} does not exist` + }; + } + + // If an buildInfo is older than the newest input, we can stop checking + if (buildInfoTime && buildInfoTime < inputTime) { + return { + type: UpToDateStatusType.OutOfDateWithSelf, + outOfDateOutputFileName: buildInfoPath!, + newerInputFileName: inputFile + }; + } + + if (inputTime > newestInputFileTime) { + newestInputFileName = inputFile; + newestInputFileTime = inputTime; + } + } + + // Now see if all outputs are newer than the newest input // Dont check output timestamps if we have buildinfo telling us output is uptodate - else { + if (!buildInfoPath) { // Collect the expected outputs of this project const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); for (const output of outputs) { - if (buildInfoPath === output) continue; // Output is missing; can stop checking const outputTime = ts.getModifiedTime(state.host, output); if (outputTime === missingFileModifiedTime) { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 4adc011af1ee2..1b8f47507e2a9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -84,13 +84,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -999,15 +993,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 33c496163c15a..41933036876a9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -96,13 +96,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -2176,15 +2170,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } @@ -3818,15 +3810,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index bc8f8afcb9dda..9e575f008382a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -89,13 +89,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -1285,15 +1279,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } @@ -2199,15 +2191,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index e78d91f2497dc..94fac06b3fbf0 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -87,13 +87,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -1021,15 +1015,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 769ddfcab5b5a..d956cefcb89c7 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -110,13 +110,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -4926,15 +4920,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } @@ -8759,15 +8751,13 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 919bca53e75f1..2e3cdfaa141c3 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -94,15 +94,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/tripleRef.d.ts": 1, "/src/lib/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tripleRef.d.ts": 1, "/src/app/module.tsbuildinfo": 1 } @@ -1236,17 +1228,14 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, - "/src/lib/tripleRef.d.ts": 1, - "/src/lib/module.tsbuildinfo": 1, "/src/lib/module.d.ts": 1, + "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, "/src/app/tripleRef.d.ts": 1, - "/src/app/module.tsbuildinfo": 1, "/src/app/tsconfig.json": 1, "/src/app/module.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index ebc4dbcf092e7..2c2b7d8577d51 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -84,13 +84,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/lib/file2.ts": 1, - "/src/lib/global.ts": 1, "/src/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, "/src/app/module.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 8b38dfa06e992..51c93e730ea2f 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -46,8 +46,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -130,8 +128,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -167,8 +163,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -201,8 +195,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -230,8 +222,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/a.ts": 1, - "/src/b.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index d92e865a8c128..75824fbd03fb3 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -60,10 +60,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/shared/index.ts": 1, - "/src/shared/typings-base/globals.d.ts": 2, "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, - "/src/webpack/index.ts": 1, "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index c4428564cb3e4..fcd25f2207894 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -61,10 +61,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/shared/index.ts": 1, - "/src/shared/typings-base/globals.d.ts": 2, "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, - "/src/webpack/index.ts": 1, "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index b09bba4a1e646..01725b99b83b7 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -100,11 +100,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/folder/index.ts": 1, "/src/src/folder/tsconfig.tsbuildinfo": 1, - "/src/src/folder2/index.ts": 1, "/src/src/folder2/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -284,14 +281,14 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/folder/index.ts": 1, "/src/src/folder/tsconfig.tsbuildinfo": 1, + "/src/src/folder/index.ts": 1, "/src/src/folder/tsconfig.json": 1, - "/src/src/folder2/index.ts": 1, "/src/src/folder2/tsconfig.tsbuildinfo": 1, + "/src/src/folder2/index.ts": 1, "/src/src/folder2/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 993f4d8a14497..b795e7acb7e98 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -68,10 +68,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/solution/src/common/nominal.ts": 1, - "/src/solution/src/common/types.d.ts": 1, - "/src/solution/src/subProject/index.ts": 1, - "/src/solution/src/subProject2/index.ts": 1, "/src/solution/lib/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 1923792da9c57..13b3e2530505e 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -80,11 +80,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/solution/src/common/nominal.ts": 1, "/src/solution/lib/src/common/tsconfig.tsbuildinfo": 1, - "/src/solution/src/subProject/index.ts": 1, "/src/solution/lib/src/subProject/tsconfig.tsbuildinfo": 1, - "/src/solution/src/subProject2/index.ts": 1, "/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 9f63946f6a0c5..4fa468d7098b9 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -57,9 +57,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/packages/pkg1/src/index.ts": 1, "/src/packages/pkg1/lib/tsconfig.tsbuildinfo": 1, - "/src/packages/pkg2/src/index.ts": 1, "/src/packages/pkg2/lib/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index b830768d1c2dd..784bddaa476e9 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -221,7 +221,6 @@ Found 7 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/core/utilities.ts": 1, "/src/lib/core/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index a406068de24fb..6f012cfaafec9 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -166,13 +166,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/utilities.ts": 1, "/src/lib/core/tsconfig.tsbuildinfo": 1, - "/src/animals/animal.ts": 1, - "/src/animals/dog.ts": 1, - "/src/animals/index.ts": 1, "/src/lib/animals/tsconfig.tsbuildinfo": 1, - "/src/zoo/zoo.ts": 1, "/src/lib/zoo/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index eac8920354950..12f8b2570a1f9 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -80,10 +80,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/index.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -276,11 +272,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/index.ts": 1, "/src/tsconfig.tsbuildinfo": 1, + "/src/src/a.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 7c58ccda7ca77..a40a5d2ea150a 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -80,10 +80,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/index.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -263,11 +259,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/index.ts": 1, "/src/tsconfig.tsbuildinfo": 1, + "/src/src/a.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1, "/src/lib/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 4e51304ea7639..87fe2b68ce93e 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -74,9 +74,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -232,10 +229,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, "/src/tsconfig.tsbuildinfo": 1, + "/src/src/a.ts": 1, "/src/lib/a.d.ts": 1, "/src/lib/b.d.ts": 1, "/src/lib/c.d.ts": 1 @@ -365,10 +360,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/a.ts": 1, - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, "/src/tsconfig.tsbuildinfo": 1, + "/src/src/a.ts": 1, "/src/lib/b.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 72437878281b1..2285647e66b89 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -64,7 +64,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/index.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index e8c4f5d97c37a..827f0e962be23 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -82,11 +82,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1 } @@ -290,12 +285,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1, "/src/obj/lazyIndex.d.ts": 1 } @@ -448,12 +439,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1, "/src/obj/lazyIndex.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 98486106c01cc..fe76fe0a9fbb1 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -82,11 +82,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1 } @@ -290,12 +285,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/obj/tsconfig.tsbuildinfo": 1 + "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1 } setModifiedTime:: {} @@ -448,12 +439,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/obj/tsconfig.tsbuildinfo": 1 + "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 8aa4328a8dc32..9991cf2e5bbd0 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -84,11 +84,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1 } @@ -302,12 +297,8 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/obj/tsconfig.tsbuildinfo": 1 + "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1 } setModifiedTime:: {} @@ -460,18 +451,13 @@ Output:: [12:00:29 AM] Projects in this build: * src/tsconfig.json -[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:30 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:00:31 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1, "/src/obj/bar.d.ts": 1, "/src/obj/index.d.ts": 1, @@ -622,12 +608,8 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/obj/tsconfig.tsbuildinfo": 1 + "/src/obj/tsconfig.tsbuildinfo": 1, + "/src/bar.ts": 1 } setModifiedTime:: {} @@ -775,18 +757,13 @@ Output:: [12:00:45 AM] Projects in this build: * src/tsconfig.json -[12:00:46 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/lazyIndex.ts' +[12:00:46 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:00:47 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/bar.ts": 1, - "/src/bundling.ts": 1, - "/src/global.d.ts": 1, - "/src/index.ts": 1, - "/src/lazyIndex.ts": 1, "/src/obj/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index 6ed2c3d94444a..c5762eb65b93f 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -118,11 +118,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/common/nominal.js": 1, "/lib/common/tsconfig.tsbuildinfo": 1, - "/src/sub-project/index.js": 1, "/lib/sub-project/tsconfig.tsbuildinfo": 1, - "/src/sub-project-2/index.js": 1, "/lib/sub-project-2/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index a2b558bfccc10..f199b39765325 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -118,12 +118,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/common/index.ts": 1, - "/src/common/obj.json": 1, "/src/common/tsconfig.tsbuildinfo": 1, - "/src/sub-project/index.js": 1, "/out/sub-project/tsconfig.tsbuildinfo": 1, - "/src/sub-project-2/index.js": 1, "/out/sub-project-2/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 84cba48041886..a597a5f010f6c 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -120,11 +120,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/common/nominal.js": 1, "/src/common/common.tsbuildinfo": 1, - "/src/sub-project/index.js": 1, "/src/sub-project/sub-project.tsbuildinfo": 1, - "/src/sub-project-2/index.js": 1, "/src/sub-project-2/sub-project-2.tsbuildinfo": 1 } @@ -508,15 +505,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/common/nominal.js": 1, "/src/common/common.tsbuildinfo": 1, + "/src/common/nominal.js": 1, "/src/common/tsconfig.json": 1, "/src/tsconfig.base.json": 2, - "/src/sub-project/index.js": 1, "/src/sub-project/sub-project.tsbuildinfo": 1, + "/src/sub-project/index.js": 1, "/src/sub-project/sub-project.d.ts": 1, - "/src/sub-project-2/index.js": 1, "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, + "/src/sub-project-2/index.js": 1, "/src/sub-project-2/tsconfig.json": 1, "/src/sub-project-2/sub-project-2.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 6693d7d80b1d9..5139cdc683021 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -58,9 +58,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -184,10 +181,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/tsconfig.tsbuildinfo": 1, "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, - "/src/tsconfig.tsbuildinfo": 1 + "/src/src/main.ts": 1 } setModifiedTime:: {} @@ -304,10 +301,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/tsconfig.tsbuildinfo": 1, "/src/src/globals.d.ts": 1, "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1, - "/src/tsconfig.tsbuildinfo": 1 + "/src/src/main.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index b439fb011b356..9a9bf0c70e164 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -260,8 +260,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 92663b57eddfe..dbdd230571361 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -262,8 +262,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index a5cb866f251a5..eec1494cb645d 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -63,9 +63,7 @@ Resolving real path for '/src/packages/typeroot2/sometype/index.d.ts', result '/ exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/packages/pkg1_index.ts": 1, "/src/packages/pkg1.tsconfig.tsbuildinfo": 1, - "/src/packages/pkg2_index.ts": 1, "/src/packages/pkg2.tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index c6b2cfee5adef..891baa3014c99 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -141,14 +141,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src-types/dogconfig.ts": 1, - "/src/src-types/index.ts": 1, "/src/src-types/tsconfig.tsbuildinfo": 1, - "/src/src-dogs/dog.ts": 1, - "/src/src-dogs/dogconfig.ts": 1, - "/src/src-dogs/index.ts": 1, - "/src/src-dogs/lassie/lassieconfig.ts": 1, - "/src/src-dogs/lassie/lassiedog.ts": 1, "/src/src-dogs/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 8703d18e9b5eb..f104d574d299a 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -138,11 +138,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/solution/common/nominal.ts": 1, "/src/lib/solution/common/tsconfig.tsbuildinfo": 1, - "/src/solution/sub-project/index.ts": 1, "/src/lib/solution/sub-project/tsconfig.tsbuildinfo": 1, - "/src/solution/sub-project-2/index.ts": 1, "/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index 14d2920b9a748..368f3e45760be 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -71,9 +71,6 @@ Shape signatures in builder refreshed for:: /src/src/other.ts (used version) getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -208,9 +205,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -256,9 +250,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -360,10 +351,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index 34eb9bc5d7390..47cb11bf276fa 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -65,9 +65,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -168,9 +165,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -224,9 +218,6 @@ Shape signatures in builder refreshed for:: /src/src/other.ts (computed .d.ts) getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, "/src/dev-build/tsconfig.tsbuildinfo": 1 } @@ -330,10 +321,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/shared/types/db.ts": 1, "/src/src/main.ts": 1, "/src/src/other.ts": 1, - "/src/dev-build/tsconfig.tsbuildinfo": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 0ae8cdc1e9e8c..2ecf798cf27c4 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -151,14 +151,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/tsconfig.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/second/tsconfig.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 344a0cdb0f41e..d4f8a694b2ba9 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -151,14 +151,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -624,14 +618,12 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -808,17 +800,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index c6703a127019b..52cd83d5b02fd 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -151,12 +151,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index aff30e52f7dcd..71e496875d6d7 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -548,17 +548,14 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index cbfc44ff956ca..1323617c179c4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -172,14 +172,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1974,16 +1968,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3322,17 +3314,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 4982975687baa..98494ccfde31b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -149,12 +149,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index a1df6243fc0a1..cea921d059a4d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -178,14 +178,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2755,16 +2749,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -4706,17 +4698,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -6232,17 +6222,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index aedc5eac5f793..2b26d0f9c23c2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -153,14 +153,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2352,17 +2346,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -3525,17 +3517,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index c142403407292..b8ae472549978 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -173,14 +173,8 @@ src/third/third_part1.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1971,16 +1965,14 @@ src/third/third_part1.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3305,17 +3297,15 @@ src/first/first_part3.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 1bc3ee0647cd7..f34bad25adaa4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -169,14 +169,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -3951,17 +3945,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -6182,17 +6174,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 6a06162009cbb..7f3b79064195c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -159,14 +159,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2986,17 +2980,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -4609,17 +4601,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 7c64af54c42a7..bd0bb9525898e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -177,14 +177,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2288,16 +2282,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3836,17 +3828,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -5035,17 +5025,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 9c0b5c15fe3e3..e39737dcbfb1f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -153,14 +153,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2140,17 +2134,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -3237,17 +3229,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 3164e0e7b948d..f6a11e655c94b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -176,14 +176,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2003,16 +1997,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3370,17 +3362,15 @@ readFiles:: { "/src/2/second-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 41e115ffef129..4edcbdd7f80bd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -152,14 +152,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1946,17 +1940,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index a3fe6cab2aaca..03bd9e60efff6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -172,14 +172,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2064,16 +2058,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3472,17 +3464,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -4537,17 +4527,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 80f50c3398435..7322dd3889b93 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -151,14 +151,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1974,17 +1968,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -2968,17 +2960,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index c06a279b30ebd..997943f7ad306 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -179,14 +179,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 7494ef23f1472..73017006b262b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -178,14 +178,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5744,18 +5738,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -10100,18 +10092,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 379c62286cae4..af93456123f07 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -177,14 +177,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5451,17 +5445,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -7807,17 +7799,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 92d425e2c106c..dcb1e76ab3de0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -178,14 +178,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -6086,18 +6080,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index ebcbbb6443d15..ae1b60ed5d13e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -177,14 +177,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5787,17 +5781,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 3828fcdf91073..c3bb8c7ec73b7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -174,14 +174,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index ac0d2735ba66f..40ff934bc5e64 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -199,14 +199,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5787,15 +5781,13 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -11375,18 +11367,16 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -15753,18 +15743,16 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 85ffc05f2d226..312e290474c0f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -94,9 +94,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index a6f6198a198b1..233c09516dffa 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -178,14 +178,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5944,18 +5938,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -10500,18 +10492,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/2/second-output.d.ts": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index c01a9d6769f0e..78aded1abb07a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -177,14 +177,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5651,17 +5645,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -8107,17 +8099,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index f8a47d64f4cfa..257550137be3c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -198,14 +198,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -5492,16 +5486,14 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -8236,17 +8228,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } @@ -10614,17 +10604,15 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 1e39b69f7e285..b50d79f3cbff3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -190,15 +190,8 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2328,17 +2321,15 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} @@ -3945,18 +3936,16 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index f77a302ddefb3..fba1070a98799 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -156,15 +156,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -2070,18 +2063,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tripleRef.d.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 0126df1eeb1af..174a5f5e92754 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -151,14 +151,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 18f5b2bd45dcd..a888c39234153 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -151,12 +151,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1 @@ -1773,14 +1768,12 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 26cb9aa49f730..ae715da070d53 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -152,14 +152,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 39ec9847ff985..d1e13d1186519 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -149,14 +149,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 } @@ -1831,17 +1825,15 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/first/first_PART1.ts": 1, - "/src/first/first_part2.ts": 1, - "/src/first/first_part3.ts": 1, "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/first/first_PART1.ts": 1, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index f88d973ba4db3..1f1d9ade0c9ac 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -34,7 +34,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 1 } @@ -111,8 +110,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 1, + "/src/src/index.ts": 1, "/src/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index a4e8800cc15f0..59c9f8e51c43d 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -44,8 +44,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } @@ -124,8 +122,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, "/src/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 085680c012e4d..ffde588c65f93 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -60,10 +60,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/other/other.ts": 1, "/src/dist/other/tsconfig.tsbuildinfo": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, "/src/dist/main/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 89294b2262e67..8cdd18c6cc52b 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -80,7 +80,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { - "/src/src/other/other.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 2, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1 diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 5c6082a7e9385..a11be4e18ff6f 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -73,7 +73,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { - "/src/src/other/other.ts": 1, "/src/dist/tsconfig.tsbuildinfo": 2, "/src/src/main/a.ts": 1, "/src/src/main/b.ts": 1 diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index a5e08b5d24f22..ed4be565dc28c 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -65,10 +65,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/other/other.ts": 1, "/src/dist/tsconfig.other.tsbuildinfo": 1, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1, "/src/dist/tsconfig.main.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 577424378ced5..8cf9631be67d1 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -116,8 +116,6 @@ src/src/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index b39a0933cb7c0..1679ba1198d57 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -97,9 +97,7 @@ src/main/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/strings/foo.json": 1, "/src/strings/tsconfig.tsbuildinfo": 1, - "/src/main/index.ts": 1, "/src/main/tsconfig.tsbuildinfo": 1 } @@ -251,12 +249,12 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/strings/foo.json": 1, "/src/strings/tsconfig.tsbuildinfo": 1, + "/src/strings/foo.json": 1, "/src/strings/tsconfig.json": 1, "/src/tsconfig.json": 2, - "/src/main/index.ts": 1, "/src/main/tsconfig.tsbuildinfo": 1, + "/src/main/index.ts": 1, "/src/main/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 4648cd3d5b995..5e97a265619ab 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -116,8 +116,6 @@ src/src/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/hello.json": 1, - "/src/src/index.ts": 1, "/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index b0cab2c90b163..7979185ec067e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -114,8 +114,6 @@ src/src/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/src/index.json": 1, "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 81548bb45f29e..ab7cc0a745c14 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -116,8 +116,6 @@ src/src/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index ae6a9446ac799..041c19a19df59 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -123,7 +123,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/src/index.ts": 1, "/src/dist/tsconfig_withInclude.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 9e7d3a72cee5f..01267f8103f34 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -116,8 +116,6 @@ src/src/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 } @@ -236,9 +234,9 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index a1454676af3cb..3c03f785ff019 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -109,8 +109,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, "/src/tsconfig_withFiles.tsbuildinfo": 1 } @@ -218,9 +216,9 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/tsconfig_withFiles.tsbuildinfo": 1, "/src/src/index.ts": 1, "/src/src/hello.json": 1, - "/src/tsconfig_withFiles.tsbuildinfo": 1, "/src/tsconfig_withFiles.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 57313be87b3fc..7b9becdacad56 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -113,13 +113,7 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/logic/index.ts": 1, - "/src/tests/index.ts": 1 -} +getModifiedTime:: {} setModifiedTime:: {} @@ -424,14 +418,9 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index e7514dcfc33d1..fd59c318a6756 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -199,9 +199,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/some_decl.d.ts": 1, "/user/username/projects/core/tsconfig.tsbuildinfo": 1 } @@ -317,7 +314,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 } @@ -441,7 +437,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/tests/index.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 44c98bb205f31..f482a5febc99f 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -102,13 +102,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 69fb44ed1fc0b..bff0850892f3b 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -102,13 +102,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/outDir/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index dd529730264ea..52186faf13f07 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -398,16 +398,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } @@ -445,16 +445,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 + "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -548,18 +548,17 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -685,16 +684,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index f4924ad6355b8..bb8c738105391 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -139,11 +139,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1 } @@ -374,12 +370,11 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index a46a68722785c..a04fa180c578e 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -120,9 +120,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index c797e3d122ac8..58d2cd4704b10 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -163,13 +163,8 @@ src/tests/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -532,15 +527,14 @@ src/tests/index.ts exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } @@ -840,18 +834,17 @@ src/core/some_decl.d.ts exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -969,16 +962,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index bdf7c1e5888d7..4dc338b24eaa4 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -393,16 +393,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 4322b51c6ab3a..9fb7071335d14 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -384,13 +384,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/some_decl.d.ts": 1, "/user/username/projects/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/tests/index.ts": 1, "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 } @@ -512,8 +507,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/index.d.ts": 1 } @@ -664,8 +659,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 + "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/logic/index.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 57fbcecf4480b..8db6cdcc94dec 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -128,13 +128,8 @@ TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -459,15 +454,14 @@ TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } @@ -746,18 +740,17 @@ TSFILE: /src/core/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -864,16 +857,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index e18f2cce47659..1af9fa26e7a5d 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -127,13 +127,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -460,15 +455,14 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } @@ -747,18 +741,17 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -865,16 +858,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 770c5bbeb82b7..ab0009e7b57f0 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -404,14 +404,9 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/anotherModule.d.ts": 1, "/src/core/index.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 315365c105496..58d36720133e3 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -134,13 +134,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -465,16 +460,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/tsconfig.base.json": 1, "/src/tests/index.d.ts": 1 diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index c9c9fb0c690c2..3d0a3bf0792f8 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -105,7 +105,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:09 AM] Failed to parse file 'src/core/tsconfig.json': /src/core/anotherModule.ts does not exist. +[12:00:09 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt [12:00:10 AM] Building project '/src/core/tsconfig.json'... @@ -131,9 +131,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/core/anotherModule.ts": 1 -} +getModifiedTime:: {} setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index 2d8da6365c3b4..5fb6c3b096fc7 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -105,7 +105,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:09 AM] Failed to parse file 'src/core/tsconfig.json': /src/core/anotherModule.ts does not exist. +[12:00:09 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist [12:00:10 AM] Building project '/src/core/tsconfig.json'... @@ -132,7 +132,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped getModifiedTime:: { - "/src/core/anotherModule.ts": 1 + "/src/core/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index f878640ca8df8..2f64daa10955a 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -147,13 +147,8 @@ readFiles:: { "/src/tests/index.d.ts": 1 } getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -775,15 +770,14 @@ readFiles:: { "/src/tests/index.d.ts": 1 } getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } @@ -1222,18 +1216,17 @@ readFiles:: { "/src/tests/tsconfig.tsbuildinfo": 1 } getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/logic/index.d.ts": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } @@ -1359,16 +1352,16 @@ readFiles:: { "/src/tests/tsconfig.tsbuildinfo": 1 } getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } @@ -1434,16 +1427,16 @@ readFiles:: { "/src/tests/index.d.ts": 1 } getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/index.d.ts": 1 } @@ -1655,16 +1648,16 @@ readFiles:: { "/src/tests/tsconfig.tsbuildinfo": 1 } getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 697b2d8b7d74a..08b0958171d07 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -119,9 +119,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1 } @@ -228,10 +225,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 05256a910a809..ca79349ff2d32 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -132,13 +132,8 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -475,16 +470,16 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1, - "/src/logic/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, + "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, + "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, "/src/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 306fd23defb30..f008aa4ecad20 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -148,13 +148,8 @@ readFiles:: { "/src/tests/index.d.ts": 1 } getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, "/src/logic/ownFile.tsbuildinfo": 1, - "/src/tests/index.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 9a888390b531b..20a2fac9d71ac 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -119,9 +119,6 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1 } @@ -228,10 +225,10 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 038edacf6497d..37ed0de63b249 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -137,9 +137,6 @@ TSFILE: /src/core/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, "/src/core/tsconfig.tsbuildinfo": 1 } @@ -255,10 +252,10 @@ TSFILE: /src/core/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success getModifiedTime:: { + "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 0770182800c15..ab4f717f1bbfa 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -70,9 +70,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/a.ts": 1, "/src/tsconfig.a.tsbuildinfo": 1, - "/src/b.ts": 1, "/src/tsconfig.b.tsbuildinfo": 1, "/src/c.ts": 1, "/src/c.js": 1 diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 6c7eacc639fdf..a3aecd1addc4a 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -82,9 +82,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/a.ts": 1, "/src/tsconfig.a.tsbuildinfo": 1, - "/src/b.ts": 1, "/src/tsconfig.b.tsbuildinfo": 1, "/src/c.ts": 1, "/src/c.js": 1 diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index aeb073933c813..5890045d64fc4 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -72,9 +72,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated getModifiedTime:: { - "/src/a.ts": 1, "/src/tsconfig.a.tsbuildinfo": 1, - "/src/b.ts": 1, "/src/tsconfig.b.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index bf39aa17767d4..125b3c92ae93d 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -128,8 +128,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index e341ea0d614c1..c83645757f91a 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -448,7 +448,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1 } @@ -485,7 +484,7 @@ Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... -[12:01:08 AM] Project 'core/tsconfig.json' is out of date because oldest output 'lib/core/tsconfig.tsbuildinfo' is older than newest input 'core/utilities.ts' +[12:01:08 AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'lib/core/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:01:09 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 0ca84a28e6818..82e0dd827d0c4 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -711,13 +711,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/zoo/zoo.ts": 1, "/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index e9ee7ca9a96d8..893e23dfdce03 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -324,9 +324,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, - "/user/username/projects/myproject/packages/pkg2/other.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 79380df5d6f42..e2393df64f3b7 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -307,8 +307,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/index.ts": 1, "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg1/index.ts": 1, "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 @@ -1005,8 +1003,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/index.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1 + "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, + "/user/username/projects/myproject/packages/pkg2/const.cts": 1, + "/user/username/projects/myproject/packages/pkg2/index.cts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index e3836125db210..2cf0413636d6f 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -309,9 +309,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/project1/index.ts": 1, "/user/username/projects/myproject/project1/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/project2/index.ts": 1, "/user/username/projects/myproject/project2/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index a28fd56521efe..c1b2bdbf60c09 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -145,8 +145,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.ts": 1, "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 3b81583f5fee3..592df90bd3781 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -169,9 +169,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 } @@ -194,7 +191,7 @@ Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... -[12:00:47 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:00:47 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -280,7 +277,7 @@ Output:: >> Screen clear [12:00:53 AM] File change detected. Starting incremental compilation... -[12:00:54 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:00:54 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:00:55 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -583,7 +580,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 + "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1, + "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } setModifiedTimes:: {} @@ -605,7 +603,7 @@ Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:34 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -689,7 +687,7 @@ Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... -[12:01:41 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:41 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted [12:01:42 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 4436644419afd..1bf6d6b27044d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -495,12 +495,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 6e1468cb37d3f..4ff4cca83790e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -512,12 +512,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 4af8c2bdd2f71..7d4c2f0b31b65 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -167,8 +167,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 98daca3732b16..c1e4d499bdff6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -167,8 +167,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 8642d1f7ea769..7e4a92585cd37 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -94,8 +94,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 9f51c5bc0f07b..5f18a745bab97 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -94,8 +94,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.ts": 1, - "/user/username/projects/solution/app/filewithouterror.ts": 1, "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 521fb73bd3bcc..c6b2c8bc5bf62 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -495,12 +495,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -842,7 +838,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index a725a2f39188b..d85c484f97783 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -494,12 +494,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -839,7 +835,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 58c63f5c55249..def3794bcdf89 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -169,8 +169,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 } @@ -347,8 +345,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 340165ecb7766..1413bf5436426 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -182,8 +182,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } @@ -365,8 +363,9 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/file3.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/file3.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 7e19c90d85805..4e7bcb2b03a46 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -366,10 +366,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 089adc794eb84..84118ed8676b5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -218,8 +218,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 } @@ -412,7 +410,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -600,7 +597,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index b8c70fdfebd82..2f15b137415f0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -186,7 +186,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/library/library.ts": 1, "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/app/app.ts": 1, "/user/username/projects/sample1/app/app.js": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 5677bf16c417e..ce3876a025015 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -260,9 +260,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/index.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 63a72fee30a5e..3f3de3aa5180d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -461,7 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -603,10 +602,10 @@ directoryExists:: { } getModifiedTimes:: { + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/newfile.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 33b6e11d93e5c..88bce287b696a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -461,7 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -612,8 +611,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index d4a3287444e0c..68bb85bc06014 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -461,7 +461,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 } @@ -600,8 +599,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 22fec06da2377..f007403b35633 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -495,12 +495,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -647,8 +643,10 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/newfile.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, + "/user/username/projects/sample1/core/index.ts": 1, + "/user/username/projects/sample1/core/newfile.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index a38c9a4a491b7..2b206b13a86c1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -495,12 +495,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -656,7 +652,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 84f7b18f6a72e..c3b65e68580e0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -495,12 +495,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -643,6 +639,7 @@ directoryExists:: { getModifiedTimes:: { "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 72205f4bc3c45..6e2d9122dce92 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -245,10 +245,7 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/other.ts": 1, "/a/b/project2.tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 68ad798357287..f365f4444996b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -234,10 +234,7 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/other.ts": 1, "/a/b/project2.tsconfig.tsbuildinfo": 1 } @@ -322,6 +319,8 @@ directoryExists:: { getModifiedTimes:: { "/a/b/project1.tsconfig.tsbuildinfo": 1, + "/a/b/commonfile1.ts": 1, + "/a/b/commonfile2.ts": 1, "/a/b/project1.tsconfig.json": 1, "/a/b/commonfile1.d.ts": 1, "/a/b/commonfile2.d.ts": 1 @@ -401,6 +400,7 @@ directoryExists:: { getModifiedTimes:: { "/a/b/project2.tsconfig.tsbuildinfo": 1, + "/a/b/other.ts": 1, "/a/b/project2.tsconfig.json": 1, "/a/b/bravo.tsconfig.json": 1, "/a/b/other.d.ts": 1 diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index df047dcdac01f..7c7854e4fcdc4 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -265,9 +265,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/shared/index.ts": 1, "/user/username/projects/myproject/shared/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/webpack/index.ts": 1, "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index b78570757c684..5cfd693ec6a45 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -287,8 +287,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/src/pure/index.ts": 1, - "/user/username/projects/reexport/src/pure/session.ts": 1, "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1, "/user/username/projects/reexport/src/main/index.ts": 1, "/user/username/projects/reexport/out/main/index.js": 1 @@ -492,7 +490,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1 + "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1, + "/user/username/projects/reexport/src/pure/index.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index d79407e2bd2fb..1c16fecd62a98 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -383,13 +383,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/index.ts": 1, "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 } @@ -605,13 +600,13 @@ directoryExists:: { } getModifiedTimes:: { + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/index.d.ts": 1 } @@ -824,13 +819,13 @@ directoryExists:: { } getModifiedTimes:: { + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 + "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1 } setModifiedTimes:: {} @@ -1122,13 +1117,13 @@ directoryExists:: { } getModifiedTimes:: { + "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, + "/user/username/projects/sample1/logic/index.ts": 1, "/user/username/projects/sample1/logic/tsconfig.json": 1 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 745f2cb254844..867843d087f5c 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -202,9 +202,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 @@ -441,11 +439,11 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 0f5423b767629..2e5feefb749f9 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -202,9 +202,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c/index.ts": 1, "/user/username/projects/transitivereferences/c/index.js": 1 @@ -441,11 +439,11 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/a/index.ts": 1, "/user/username/projects/transitivereferences/a/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 + "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b/index.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index fb17745c6635f..bff148741046b 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -213,9 +213,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 @@ -424,11 +422,11 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.json": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1 + "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, + "/user/username/projects/transitivereferences/b.ts": 1 } setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index d1c187fa02f47..425d82a098e0d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -200,9 +200,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/transitivereferences/a.ts": 1, "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, "/user/username/projects/transitivereferences/c.ts": 1, "/user/username/projects/transitivereferences/c.js": 1 diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index d51635a0d98b0..75481f4c8440d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -214,10 +214,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 659e074ccaf6c..75ba8e16529c4 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -212,10 +212,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index b5e25633125ad..3671eab33b8d8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -215,10 +215,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 251967a44386c..702f9e293e28e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -213,10 +213,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/bar.ts": 1, - "/user/username/projects/myproject/packages/b/src/index.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/index.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 4f1a5cdcf6a7d..dd2487ae47f3d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -216,10 +216,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 862c6ae669491..be48093afad60 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -214,10 +214,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index d3a59865595a1..cfca32c1d82e3 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -216,10 +216,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 7cbac8592c75e..2929b0e623cb5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -214,10 +214,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/src/foo.ts": 1, - "/user/username/projects/myproject/packages/b/src/bar/foo.ts": 1, "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/src/test.ts": 1, "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 279657db56323..9bfbb64bd4c5b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -341,11 +341,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/demo/core/utilities.ts": 1, "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/animals/index.ts": 1, "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 } From 6198fa38778a89b179f3f62d99c7931895bf6f3e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 8 Apr 2022 09:23:55 -0700 Subject: [PATCH 30/64] Keep buildinfos for lifetime of the solution builder and project --- src/compiler/tsbuildPublic.ts | 35 ++++++++++++++++++++++++----------- src/compiler/watchPublic.ts | 4 ++-- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 7a912d679ed90..bdff6c419816a 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -210,7 +210,6 @@ namespace ts { originalWriteFile: CompilerHost["writeFile"] | undefined; originalReadFileWithCache: CompilerHost["readFile"]; originalGetSourceFile: CompilerHost["getSourceFile"]; - buildInfoCache: ESMap; } interface FileWatcherWithModifiedTime { @@ -219,6 +218,11 @@ namespace ts { modifiedTime: Date | undefined; } + interface BuildInfoCacheEntry { + path: Path; + buildInfo: BuildInfo | false | string; + } + interface SolutionBuilderState extends WatchFactory { readonly host: SolutionBuilderHost; readonly hostWithWatch: SolutionBuilderWithWatchHost; @@ -239,6 +243,7 @@ namespace ts { readonly projectStatus: ESMap; readonly buildInfoChecked: ESMap; readonly extendedConfigCache: ESMap; + readonly buildInfoCache: ESMap; readonly builderPrograms: ESMap; readonly diagnostics: ESMap; @@ -301,7 +306,7 @@ namespace ts { compilerHost.resolveTypeReferenceDirectives = (typeReferenceDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) => loadWithTypeDirectiveCache(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader); } - compilerHost.getBuildInfo = fileName => getBuildInfo(state, fileName); + compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo(state, fileName, toResolvedConfigFilePath(state, configFilePath as ResolvedConfigFileName)); const { watchFile, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options); @@ -324,6 +329,7 @@ namespace ts { projectStatus: new Map(), buildInfoChecked: new Map(), extendedConfigCache: new Map(), + buildInfoCache: new Map(), builderPrograms: new Map(), diagnostics: new Map(), @@ -487,6 +493,7 @@ namespace ts { mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete); // Remove watches for the program no longer in the solution if (state.watch) { @@ -575,7 +582,6 @@ namespace ts { originalWriteFile, originalReadFileWithCache, originalGetSourceFile, - buildInfoCache: new Map(), }; } @@ -978,6 +984,7 @@ namespace ts { let newestDeclarationFileContentChangedTime: Date | undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); + const buildInfo = state.buildInfoCache.get(projectPath); outputFiles.forEach(({ name, text, writeByteOrderMark }) => { if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files @@ -991,7 +998,7 @@ namespace ts { const path = toPath(state, name); emittedOutputs.set(path, name); - state.cache?.buildInfoCache.delete(path); + if (buildInfo?.path === path) buildInfo.buildInfo = text; writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1010,7 +1017,8 @@ namespace ts { Debug.assert(step === BuildStep.EmitBuildInfo); const emitResult = program.emitBuildInfo((name, data, writeByteOrderMark, onError, sourceFiles) => { const path = toPath(state, name); - state.cache?.buildInfoCache.delete(path); + const buildInfo = state.buildInfoCache.get(projectPath); + if (buildInfo?.path === path) buildInfo.buildInfo = data; if (writeFileCallback) writeFileCallback(name, data, writeByteOrderMark, onError, sourceFiles); else state.compilerHost.writeFile(name, data, writeByteOrderMark, onError, sourceFiles); }, cancellationToken); @@ -1110,10 +1118,11 @@ namespace ts { Debug.assert(!!outputFiles.length); const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); + const buildInfo = state.buildInfoCache.get(projectPath); outputFiles.forEach(({ name, text, writeByteOrderMark }) => { const path = toPath(state, name); emittedOutputs.set(path, name); - state.cache?.buildInfoCache.delete(path); + if (buildInfo?.path === path) buildInfo.buildInfo = text; writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1402,13 +1411,17 @@ namespace ts { }; } - function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string): BuildInfo | undefined { + function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string, resolvedConfigPath: ResolvedConfigFilePath): BuildInfo | undefined { const path = toPath(state, buildInfoPath); - const existing = state.cache?.buildInfoCache.get(path); - if (existing !== undefined) return existing || undefined; + const existing = state.buildInfoCache.get(resolvedConfigPath); + if (existing !== undefined && existing.path === path) { + return isString(existing.buildInfo) ? + existing.buildInfo = ts.getBuildInfo(existing.buildInfo) : + existing.buildInfo || undefined; + } const value = state.readFileWithCache(buildInfoPath); const buildInfo = value ? ts.getBuildInfo(value) : undefined; - state.cache?.buildInfoCache.set(path, buildInfo || false); + state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false }); return buildInfo; } @@ -1487,7 +1500,7 @@ namespace ts { }; } - const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath)); + const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath, resolvedPath)); if (!state.buildInfoChecked.has(resolvedPath)) { state.buildInfoChecked.set(resolvedPath, true); if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 70e8869633c86..1b78df29590f0 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -4,7 +4,7 @@ namespace ts { getCurrentDirectory(): string; readFile(fileName: string): string | undefined; /*@internal*/ - getBuildInfo?(fileName: string): BuildInfo | undefined; + getBuildInfo?(fileName: string, configFilePath: string | undefined): BuildInfo | undefined; } export function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost) { if (outFile(compilerOptions)) return undefined; @@ -12,7 +12,7 @@ namespace ts { if (!buildInfoPath) return undefined; let buildInfo; if (host.getBuildInfo) { - buildInfo = host.getBuildInfo(buildInfoPath); + buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath); if (!buildInfo) return undefined; } else { From fcf07f81beb14219a132d5c58970a1a0d3ef1699 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 8 Apr 2022 09:48:35 -0700 Subject: [PATCH 31/64] Store modified time along with text of buildinfo --- src/compiler/tsbuildPublic.ts | 40 +++++++--- .../modules-and-globals-mixed-in-amd.js | 4 +- .../multiple-emitHelpers-in-all-projects.js | 14 ++-- .../multiple-prologues-in-all-projects.js | 14 ++-- .../shebang-in-all-projects.js | 4 +- .../amdModulesWithOut/stripInternal.js | 14 ++-- .../triple-slash-refs-in-all-projects.js | 4 +- ...nce-and-both-extend-config-with-include.js | 4 +- ...th-projects-extends-config-with-include.js | 4 +- ...ter-initial-build-doesnt-build-anything.js | 16 ++-- ...file-is-referenced-through-triple-slash.js | 8 +- ...d-inferred-type-from-referenced-project.js | 4 +- ...s-not-in-rootDir-at-the-import-location.js | 8 +- ...ng-setup-correctly-and-reports-no-error.js | 8 +- ...-emitDeclarationOnly-and-declarationMap.js | 6 +- ...import-project-with-emitDeclarationOnly.js | 6 +- ...mports-project-with-emitDeclarationOnly.js | 12 +-- ...-transitive-module-with-isolatedModules.js | 12 +-- .../inferred-type-from-transitive-module.js | 12 +-- ...hange-in-signature-with-isolatedModules.js | 24 +++--- ...s-merged-and-contains-late-bound-member.js | 12 +-- ...project-correctly-with-preserveSymlinks.js | 4 +- ...-file-from-referenced-project-correctly.js | 4 +- ...t-resolution-options-referenced-project.js | 4 +- ...fiers-across-projects-resolve-correctly.js | 4 +- ...zed-module-specifiers-resolve-correctly.js | 8 +- .../non-module-projects-without-prepend.js | 8 +- ...al-flag-changes-between-non-dts-changes.js | 18 ++--- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 8 +- .../baseline-sectioned-sourcemaps.js | 18 ++--- .../emitHelpers-in-all-projects.js | 30 ++++---- ...tHelpers-in-only-one-dependency-project.js | 18 ++--- .../tsbuild/outfile-concat/explainFiles.js | 18 ++--- .../multiple-emitHelpers-in-all-projects.js | 18 ++--- ...tiple-emitHelpers-in-different-projects.js | 18 ++--- .../multiple-prologues-in-all-projects.js | 30 ++++---- ...ultiple-prologues-in-different-projects.js | 18 ++--- .../outfile-concat/shebang-in-all-projects.js | 18 ++--- .../shebang-in-only-one-dependency-project.js | 6 +- .../outfile-concat/strict-in-all-projects.js | 30 ++++---- .../strict-in-one-dependency.js | 18 ++--- ...en-one-two-three-are-prepended-in-order.js | 22 +++--- .../stripInternal-jsdoc-style-comment.js | 18 ++--- ...en-one-two-three-are-prepended-in-order.js | 8 +- ...-jsdoc-style-with-comments-emit-enabled.js | 6 +- ...en-one-two-three-are-prepended-in-order.js | 36 ++++----- ...en-one-two-three-are-prepended-in-order.js | 22 +++--- ...tripInternal-with-comments-emit-enabled.js | 18 ++--- .../tsbuild/outfile-concat/stripInternal.js | 30 ++++---- .../triple-slash-refs-in-all-projects.js | 18 ++--- .../triple-slash-refs-in-one-project.js | 6 +- ...t-composite-but-uses-project-references.js | 6 +- ...-source-files-are-empty-in-the-own-file.js | 6 +- ...otDir-is-not-specified-and-is-composite.js | 4 +- ...iles-belong-to-rootDir-and-is-composite.js | 6 +- ...nfo-file-because-no-rootDir-in-the-base.js | 4 +- ...reports-error-for-same-tsbuildinfo-file.js | 4 +- ...eports-no-error-when-tsbuildinfo-differ.js | 4 +- .../build-with-custom-transformers.js | 4 +- ...ting-json-module-from-project-reference.js | 10 +-- .../tsbuild/resolveJsonModule/sourcemap.js | 4 +- .../resolveJsonModule/without-outDir.js | 4 +- .../building-using-buildReferencedProject.js | 4 +- .../can-detect-when-and-what-to-rebuild.js | 42 +++++------ ...ojects-if-upstream-projects-have-errors.js | 20 ++--- ...vent-if-version-doesnt-match-ts-version.js | 8 +- .../reference/tsbuild/sample1/explainFiles.js | 44 +++++------ ...it-would-skip-builds-during-a-dry-build.js | 6 +- .../sample1/invalidates-projects-correctly.js | 2 - ...-in-tsbuildinfo-doesnt-match-ts-version.js | 14 ++-- ...uilds-from-start-if-force-option-is-set.js | 14 ++-- ...uilds-when-extended-config-file-changes.js | 18 ++--- .../reports-error-if-input-file-is-missing.js | 8 +- .../reference/tsbuild/sample1/sample.js | 64 ++++++++-------- .../when-declaration-option-changes.js | 6 +- .../when-esModuleInterop-option-changes.js | 18 ++--- .../when-logic-specifies-tsBuildInfoFile.js | 8 +- .../sample1/when-module-option-changes.js | 6 +- .../sample1/when-target-option-changes.js | 6 +- .../reports-syntax-errors-in-config-file.js | 34 ++++----- .../demo/updates-with-bad-reference.js | 22 +++--- .../demo/updates-with-circular-reference.js | 10 +-- ...for-changes-to-package-json-main-fields.js | 22 +++--- ...t-correctly-with-cts-and-mts-extensions.js | 37 +++++----- ...se-different-module-resolution-settings.js | 15 ++-- ...n-no-files-are-emitted-with-incremental.js | 26 +++---- ...mit-any-files-on-error-with-incremental.js | 73 ++++++++----------- .../creates-solution-in-watch-mode.js | 2 +- .../incremental-updates-in-verbose-mode.js | 36 +++++---- .../when-file-with-no-error-changes.js | 18 ++--- ...ing-errors-only-changed-file-is-emitted.js | 15 ++-- .../when-file-with-no-error-changes.js | 4 +- ...ixing-error-files-all-files-are-emitted.js | 6 +- .../when-preserveWatchOutput-is-not-used.js | 15 ++-- ...veWatchOutput-is-passed-on-command-line.js | 15 ++-- ...e-of-program-emit-with-outDir-specified.js | 11 ++- ...r-recompilation-because-of-program-emit.js | 11 ++- ...-references-watches-only-those-projects.js | 2 +- ...tches-config-files-that-are-not-present.js | 6 +- ...e-down-stream-project-and-then-fixes-it.js | 18 ++--- ...ncing-project-even-for-non-local-change.js | 7 +- ...le-is-added,-and-its-subsequent-updates.js | 15 ++-- ...hanges-and-reports-found-errors-message.js | 23 +++--- ...not-start-build-of-referencing-projects.js | 7 +- ...le-is-added,-and-its-subsequent-updates.js | 15 ++-- ...hanges-and-reports-found-errors-message.js | 23 +++--- ...not-start-build-of-referencing-projects.js | 7 +- ...project-with-extended-config-is-removed.js | 10 +-- .../works-with-extended-source-files.js | 60 +++++++-------- .../publicApi/with-custom-transformers.js | 21 +++--- .../reexport/Reports-errors-correctly.js | 37 +++++----- .../on-sample-project.js | 16 ++-- ...-different-folders-with-no-files-clause.js | 40 +++++----- ...nsitive-references-in-different-folders.js | 40 +++++----- .../on-transitive-references.js | 40 +++++----- ...roject-uses-different-module-resolution.js | 4 +- ...es-field-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-package-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...ubFolder-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-package-when-solution-is-already-built.js | 4 +- ...Symlinks-when-solution-is-already-built.js | 4 +- ...-project-when-solution-is-already-built.js | 4 +- 125 files changed, 898 insertions(+), 957 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index bdff6c419816a..cba1b832cb123 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -221,6 +221,7 @@ namespace ts { interface BuildInfoCacheEntry { path: Path; buildInfo: BuildInfo | false | string; + modifiedTime: Date; } interface SolutionBuilderState extends WatchFactory { @@ -306,7 +307,7 @@ namespace ts { compilerHost.resolveTypeReferenceDirectives = (typeReferenceDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) => loadWithTypeDirectiveCache(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader); } - compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo(state, fileName, toResolvedConfigFilePath(state, configFilePath as ResolvedConfigFileName)); + compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo(state, fileName, toResolvedConfigFilePath(state, configFilePath as ResolvedConfigFileName), /*modifiedTime*/ undefined); const { watchFile, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options); @@ -998,7 +999,10 @@ namespace ts { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfo?.path === path) buildInfo.buildInfo = text; + if (buildInfo?.path === path) { + buildInfo.buildInfo = text; + buildInfo.modifiedTime = getCurrentTime(state); + } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1018,7 +1022,10 @@ namespace ts { const emitResult = program.emitBuildInfo((name, data, writeByteOrderMark, onError, sourceFiles) => { const path = toPath(state, name); const buildInfo = state.buildInfoCache.get(projectPath); - if (buildInfo?.path === path) buildInfo.buildInfo = data; + if (buildInfo?.path === path) { + buildInfo.buildInfo = data; + buildInfo.modifiedTime = getCurrentTime(state); + } if (writeFileCallback) writeFileCallback(name, data, writeByteOrderMark, onError, sourceFiles); else state.compilerHost.writeFile(name, data, writeByteOrderMark, onError, sourceFiles); }, cancellationToken); @@ -1122,7 +1129,10 @@ namespace ts { outputFiles.forEach(({ name, text, writeByteOrderMark }) => { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfo?.path === path) buildInfo.buildInfo = text; + if (buildInfo?.path === path) { + buildInfo.buildInfo = text; + buildInfo.modifiedTime = getCurrentTime(state); + } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1411,7 +1421,13 @@ namespace ts { }; } - function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string, resolvedConfigPath: ResolvedConfigFilePath): BuildInfo | undefined { + function getBuildInfoCacheEntry(state: SolutionBuilderState, buildInfoPath: string, resolvedConfigPath: ResolvedConfigFilePath) { + const path = toPath(state, buildInfoPath); + const existing = state.buildInfoCache.get(resolvedConfigPath); + return existing?.path === path ? existing : undefined; + } + + function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string, resolvedConfigPath: ResolvedConfigFilePath, modifiedTime: Date | undefined): BuildInfo | undefined { const path = toPath(state, buildInfoPath); const existing = state.buildInfoCache.get(resolvedConfigPath); if (existing !== undefined && existing.path === path) { @@ -1421,7 +1437,8 @@ namespace ts { } const value = state.readFileWithCache(buildInfoPath); const buildInfo = value ? ts.getBuildInfo(value) : undefined; - state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false }); + Debug.assert(modifiedTime || !buildInfo); + state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime }); return buildInfo; } @@ -1492,7 +1509,8 @@ namespace ts { let newestDeclarationFileContentChangedTime; let buildInfoTime: Date | undefined; if (buildInfoPath) { - buildInfoTime = ts.getModifiedTime(host, buildInfoPath); + const buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); + buildInfoTime = buildInfoCacheEntry?.modifiedTime || ts.getModifiedTime(host, buildInfoPath); if (buildInfoTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, @@ -1500,7 +1518,7 @@ namespace ts { }; } - const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath, resolvedPath)); + const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath, resolvedPath, buildInfoTime)); if (!state.buildInfoChecked.has(resolvedPath)) { state.buildInfoChecked.set(resolvedPath, true); if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { @@ -1670,6 +1688,10 @@ namespace ts { return actual; } + function getCurrentTime(state: SolutionBuilderState) { + return state.host.now ? state.host.now() : new Date(); + } + function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, anyDtsChange: boolean, verboseMessage: DiagnosticMessage, newestDeclarationFileContentChangedTime?: Date, skipOutputs?: ESMap) { if (proj.options.noEmit) return undefined; @@ -1694,7 +1716,7 @@ namespace ts { reportStatus(state, verboseMessage, proj.options.configFilePath!); } - host.setModifiedTime(file, now ||= host.now ? host.now() : new Date()); + host.setModifiedTime(file, now ||= getCurrentTime(state)); } } } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 1b8f47507e2a9..5eb3e0d63bf31 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -986,9 +986,9 @@ Output:: [12:00:32 AM] Building project '/src/lib/tsconfig.json'... -[12:00:40 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:41 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:41 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:42 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 41933036876a9..2ce222716a82f 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -2163,9 +2163,9 @@ Output:: [12:00:38 AM] Building project '/src/lib/tsconfig.json'... -[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3795,17 +3795,17 @@ export const x = 10;function forlibfile1Rest() { }console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:57 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:58 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:59 AM] Building project '/src/lib/tsconfig.json'... +[12:01:01 AM] Building project '/src/lib/tsconfig.json'... -[12:01:07 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:10 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:08 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:11 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 9e575f008382a..e970c25a3a3b7 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -1272,9 +1272,9 @@ Output:: [12:00:39 AM] Building project '/src/lib/tsconfig.json'... -[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:48 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:49 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2176,17 +2176,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:58 AM] Projects in this build: +[12:01:00 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:01 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:01:02 AM] Building project '/src/lib/tsconfig.json'... -[12:01:08 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:11 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:09 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:12 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 94fac06b3fbf0..de5421f733c8e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -1008,9 +1008,9 @@ Output:: [12:00:35 AM] Building project '/src/lib/tsconfig.json'... -[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index d956cefcb89c7..98ee8dbecd6d4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -4913,9 +4913,9 @@ Output:: [12:00:35 AM] Building project '/src/lib/tsconfig.json'... -[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8736,17 +8736,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:54 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:55 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:57 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:56 AM] Building project '/src/lib/tsconfig.json'... +[12:00:58 AM] Building project '/src/lib/tsconfig.json'... -[12:01:04 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:07 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:05 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 2e3cdfaa141c3..f57c943632ee4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -1221,9 +1221,9 @@ Output:: [12:00:36 AM] Building project '/src/lib/tsconfig.json'... -[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:45 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:46 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 75824fbd03fb3..8dd91a0487314 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -50,9 +50,9 @@ Output:: /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:27 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index fcd25f2207894..b7c08706b899f 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -51,9 +51,9 @@ Output:: /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:25 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:27 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 01725b99b83b7..01bd53b5e2f16 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -89,13 +89,13 @@ Output:: [12:00:08 AM] Building project '/src/src/folder/tsconfig.json'... -[12:00:13 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/tsconfig.tsbuildinfo' does not exist +[12:00:14 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/tsconfig.tsbuildinfo' does not exist -[12:00:14 AM] Building project '/src/src/folder2/tsconfig.json'... +[12:00:15 AM] Building project '/src/src/folder2/tsconfig.json'... -[12:00:19 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/tests/tsconfig.json'... +[12:00:22 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -265,18 +265,18 @@ Input:: Output:: /lib/tsc --b /src --verbose -[12:00:25 AM] Projects in this build: +[12:00:28 AM] Projects in this build: * src/src/folder/tsconfig.json * src/src/folder2/tsconfig.json * src/src/tsconfig.json * src/tests/tsconfig.json * src/tsconfig.json -[12:00:26 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' +[12:00:29 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' -[12:00:27 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' +[12:00:30 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' -[12:00:28 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:31 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 13b3e2530505e..630ec058f5fd7 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -69,13 +69,13 @@ Output:: [12:00:23 AM] Building project '/src/solution/src/common/tsconfig.json'... -[12:00:31 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/tsconfig.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/tsconfig.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/solution/src/subProject/tsconfig.json'... +[12:00:33 AM] Building project '/src/solution/src/subProject/tsconfig.json'... -[12:00:38 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/tsconfig.tsbuildinfo' does not exist +[12:00:40 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/tsconfig.tsbuildinfo' does not exist -[12:00:39 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... +[12:00:41 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 4fa468d7098b9..2f9561487c23b 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -50,9 +50,9 @@ Output:: [12:00:18 AM] Building project '/src/packages/pkg1/tsconfig.json'... -[12:00:25 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/packages/pkg2/tsconfig.json'... +[12:00:27 AM] Building project '/src/packages/pkg2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 784bddaa476e9..19995ffde9ff6 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -207,13 +207,13 @@ Output::    ~~~ File is included via import here. -[12:00:14 AM] Project 'src/animals/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:15 AM] Project 'src/animals/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:15 AM] Skipping build of project '/src/animals/tsconfig.json' because its dependency '/src/core' has errors +[12:00:16 AM] Skipping build of project '/src/animals/tsconfig.json' because its dependency '/src/core' has errors -[12:00:16 AM] Project 'src/zoo/tsconfig.json' can't be built because its dependency 'src/animals' was not built +[12:00:17 AM] Project 'src/zoo/tsconfig.json' can't be built because its dependency 'src/animals' was not built -[12:00:17 AM] Skipping build of project '/src/zoo/tsconfig.json' because its dependency '/src/animals' was not built +[12:00:18 AM] Skipping build of project '/src/zoo/tsconfig.json' because its dependency '/src/animals' was not built Found 7 errors. diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 6f012cfaafec9..d2aa225bafce7 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -155,13 +155,13 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:15 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/tsconfig.tsbuildinfo' does not exist +[12:00:16 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/tsconfig.tsbuildinfo' does not exist -[12:00:16 AM] Building project '/src/animals/tsconfig.json'... +[12:00:17 AM] Building project '/src/animals/tsconfig.json'... -[12:00:26 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/tsconfig.tsbuildinfo' does not exist +[12:00:28 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/zoo/tsconfig.json'... +[12:00:29 AM] Building project '/src/zoo/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 12f8b2570a1f9..b3660913da53a 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -262,12 +262,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:21 AM] Projects in this build: +[12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:23 AM] Building project '/src/tsconfig.json'... +[12:00:24 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index a40a5d2ea150a..a528353254fed 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -249,12 +249,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:18 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/tsconfig.json -[12:00:19 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:20 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:20 AM] Building project '/src/tsconfig.json'... +[12:00:21 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 87fe2b68ce93e..3a5fa9a43820d 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -219,12 +219,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:21 AM] Projects in this build: +[12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:23 AM] Building project '/src/tsconfig.json'... +[12:00:24 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -350,12 +350,12 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:29 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/tsconfig.json -[12:00:30 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:32 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:31 AM] Building project '/src/tsconfig.json'... +[12:00:33 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 827f0e962be23..e0ff73a4aecdc 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -275,12 +275,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:00:22 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:24 AM] Building project '/src/tsconfig.json'... +[12:00:25 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -429,12 +429,12 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:00:32 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/tsconfig.json -[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:35 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:34 AM] Building project '/src/tsconfig.json'... +[12:00:36 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index fe76fe0a9fbb1..e5be721bf1675 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -275,12 +275,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:00:21 AM] Projects in this build: +[12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:23 AM] Building project '/src/tsconfig.json'... +[12:00:24 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -429,12 +429,12 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:00:32 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/tsconfig.json -[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:35 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:34 AM] Building project '/src/tsconfig.json'... +[12:00:36 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 9991cf2e5bbd0..e2d8bec62381b 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -279,12 +279,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:00:23 AM] Projects in this build: +[12:00:24 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:25 AM] Building project '/src/tsconfig.json'... +[12:00:26 AM] Building project '/src/tsconfig.json'... src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. @@ -448,12 +448,12 @@ export default foo()(function foobar(param: string): void { Output:: /lib/tsc --b /src --verbose -[12:00:29 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/tsconfig.json -[12:00:30 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:32 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:31 AM] Building project '/src/tsconfig.json'... +[12:00:33 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -590,12 +590,12 @@ export default foo()(function foobar(): void { Output:: /lib/tsc --b /src --verbose -[12:00:39 AM] Projects in this build: +[12:00:42 AM] Projects in this build: * src/tsconfig.json -[12:00:40 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:43 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' -[12:00:41 AM] Building project '/src/tsconfig.json'... +[12:00:44 AM] Building project '/src/tsconfig.json'... src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. @@ -754,12 +754,12 @@ bar(); Output:: /lib/tsc --b /src --verbose -[12:00:45 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/tsconfig.json -[12:00:46 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:50 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:47 AM] Building project '/src/tsconfig.json'... +[12:00:51 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 5139cdc683021..d277ad95bb25f 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -171,12 +171,12 @@ type A = HKT[typeof sym]; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:14 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' +[12:00:16 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' -[12:00:16 AM] Building project '/src/tsconfig.json'... +[12:00:17 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success @@ -291,12 +291,12 @@ type A = HKT[typeof sym];const x = 10; Output:: /lib/tsc --b /src/tsconfig.json --verbose -[12:00:21 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:22 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' -[12:00:23 AM] Building project '/src/tsconfig.json'... +[12:00:25 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index 9a9bf0c70e164..d67eb5a0335f1 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -58,9 +58,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file type 'TypeScript'. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:00:57 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:00:58 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:00:59 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index dbdd230571361..4c51a4dc9a042 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -58,9 +58,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file type 'TypeScript'. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:00:57 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:00:58 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:00:59 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index eec1494cb645d..e6886e8172223 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -50,9 +50,9 @@ File '/src/packages/typeroot1/sometype/package.json' does not exist. File '/src/packages/typeroot1/sometype/index.d.ts' exist - use it as a name resolution result. Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/src/packages/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot1/sometype/index.d.ts', primary: true. ======== -[12:00:24 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist +[12:00:25 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/packages/pkg2.tsconfig.json'... +[12:00:26 AM] Building project '/src/packages/pkg2.tsconfig.json'... ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot2'. ======== Resolving with primary search path '/src/packages/typeroot2'. diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 891baa3014c99..ccdd95b6df631 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -134,9 +134,9 @@ Output:: [12:00:26 AM] Building project '/src/src-types/tsconfig.json'... -[12:00:33 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/tsconfig.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/tsconfig.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/src-dogs/tsconfig.json'... +[12:00:35 AM] Building project '/src/src-dogs/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index f104d574d299a..5c8b116c7bb39 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -127,13 +127,13 @@ Output:: [12:00:21 AM] Building project '/src/solution/common/tsconfig.json'... -[12:00:29 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/solution/sub-project/tsconfig.json'... +[12:00:31 AM] Building project '/src/solution/sub-project/tsconfig.json'... -[12:00:36 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/tsconfig.tsbuildinfo' does not exist +[12:00:38 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/tsconfig.tsbuildinfo' does not exist -[12:00:37 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... +[12:00:39 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 2ecf798cf27c4..4852e9f86e4ec 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -140,13 +140,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:31 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/tsconfig.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/tsconfig.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/second/tsconfig.json'... +[12:00:33 AM] Building project '/src/second/tsconfig.json'... -[12:00:43 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/tsconfig.tsbuildinfo' does not exist +[12:00:45 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/tsconfig.tsbuildinfo' does not exist -[12:00:44 AM] Building project '/src/third/tsconfig.json'... +[12:00:46 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index d4f8a694b2ba9..4775b8d003a7a 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -609,11 +609,11 @@ Output:: [12:00:42 AM] Building project '/src/first/tsconfig.json'... -[12:00:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:51 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:52 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:52 AM] Building project '/src/third/tsconfig.json'... +[12:00:53 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -782,20 +782,20 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:00:58 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:59 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:00 AM] Building project '/src/first/tsconfig.json'... +[12:01:01 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:10 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:10 AM] Building project '/src/third/tsconfig.json'... +[12:01:12 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index eba378c659560..eb82f771a1cfc 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -542,13 +542,13 @@ Output:: [12:00:40 AM] Building project '/src/first/tsconfig.json'... -[12:00:48 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:49 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:49 AM] Building project '/src/second/tsconfig.json'... +[12:00:50 AM] Building project '/src/second/tsconfig.json'... -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:58 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 1323617c179c4..6a6b0169a28c4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -1939,11 +1939,11 @@ Output:: [12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:00:57 AM] Building project '/src/third/tsconfig.json'... +[12:00:58 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3274,20 +3274,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:10 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:12 AM] Building project '/src/first/tsconfig.json'... +[12:01:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index cea921d059a4d..6ee8eb0e34d8f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -2720,11 +2720,11 @@ Output:: [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4658,20 +4658,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -6182,20 +6182,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:35 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:37 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 2b26d0f9c23c2..5795387ba89ba 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -2337,11 +2337,11 @@ Output:: [12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3499,20 +3499,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:09 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:10 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:11 AM] Building project '/src/first/tsconfig.json'... +[12:01:13 AM] Building project '/src/first/tsconfig.json'... -[12:01:19 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:20 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:21 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:24 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index b8ae472549978..c1c1541fdff63 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -1948,11 +1948,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:56 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:00:57 AM] Building project '/src/third/tsconfig.json'... +[12:00:58 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3271,14 +3271,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:01:10 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:12 AM] Building project '/src/first/tsconfig.json'... +[12:01:14 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3288,11 +3288,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index f34bad25adaa4..12f8979660aa3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -3936,11 +3936,11 @@ Output:: [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:06 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6156,20 +6156,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:16 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:18 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 7f3b79064195c..cb391ec7af34c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -2971,11 +2971,11 @@ Output:: [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4583,20 +4583,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:11 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:13 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index bd0bb9525898e..32210ad716474 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -2253,11 +2253,11 @@ Output:: [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:05 AM] Building project '/src/third/tsconfig.json'... +[12:01:06 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3788,20 +3788,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:22 AM] Building project '/src/first/tsconfig.json'... -[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:29 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:30 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4985,20 +4985,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:40 AM] Projects in this build: +[12:01:44 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:42 AM] Building project '/src/first/tsconfig.json'... +[12:01:46 AM] Building project '/src/first/tsconfig.json'... -[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:56 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:57 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index e39737dcbfb1f..3b15de9deb4dc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -2125,11 +2125,11 @@ Output:: [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3211,20 +3211,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:11 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:13 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index f6a11e655c94b..e8931caa605b8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -1968,11 +1968,11 @@ Output:: [12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:02 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3322,20 +3322,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:14 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:16 AM] Building project '/src/first/tsconfig.json'... +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 4edcbdd7f80bd..ca73762511f4f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -1931,11 +1931,11 @@ Output:: [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 03bd9e60efff6..733fd6b1b5acf 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -2029,11 +2029,11 @@ Output:: [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3424,20 +3424,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4487,20 +4487,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:35 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:37 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 7322dd3889b93..0b24d27130fb6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -1959,11 +1959,11 @@ Output:: [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2942,20 +2942,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:08 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:09 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:10 AM] Building project '/src/first/tsconfig.json'... +[12:01:12 AM] Building project '/src/first/tsconfig.json'... -[12:01:18 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:19 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:20 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 73017006b262b..05fc2c759eb1e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -5727,13 +5727,13 @@ Output:: [12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:01 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:08 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10072,22 +10072,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:19 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:23 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:21 AM] Building project '/src/first/tsconfig.json'... +[12:01:24 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:33 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:30 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:34 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:40 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:41 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index af93456123f07..24016ab89dc43 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -5436,11 +5436,11 @@ Output:: [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -7781,20 +7781,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:10 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:12 AM] Building project '/src/first/tsconfig.json'... +[12:01:14 AM] Building project '/src/first/tsconfig.json'... -[12:01:20 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:22 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index dcb1e76ab3de0..a532d224800ca 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -6069,13 +6069,13 @@ Output:: [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:11 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index ae1b60ed5d13e..2cb2ab2012c4f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -5772,11 +5772,11 @@ Output:: [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 40ff934bc5e64..975941a3d4375 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -5748,13 +5748,13 @@ Output:: [12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:01 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/second/tsconfig.json'... +[12:01:02 AM] Building project '/src/second/tsconfig.json'... -[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' +[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' -[12:01:10 AM] Building project '/src/third/tsconfig.json'... +[12:01:12 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -11325,22 +11325,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:25 AM] Projects in this build: +[12:01:28 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:27 AM] Building project '/src/first/tsconfig.json'... +[12:01:30 AM] Building project '/src/first/tsconfig.json'... -[12:01:35 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:39 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:36 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:40 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:42 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:47 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:43 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:48 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -15701,22 +15701,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:54 AM] Projects in this build: +[12:02:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:02:01 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:56 AM] Building project '/src/first/tsconfig.json'... +[12:02:02 AM] Building project '/src/first/tsconfig.json'... -[12:02:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:11 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:02:05 AM] Updating output of project '/src/second/tsconfig.json'... +[12:02:12 AM] Updating output of project '/src/second/tsconfig.json'... -[12:02:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:02:18 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:02:11 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:19 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 233c09516dffa..0e1ceb3a172c7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -5927,13 +5927,13 @@ Output:: [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:04 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:11 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10472,22 +10472,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:22 AM] Projects in this build: +[12:01:25 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:23 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:24 AM] Building project '/src/first/tsconfig.json'... +[12:01:27 AM] Building project '/src/first/tsconfig.json'... -[12:01:32 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:36 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:33 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:37 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:38 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:43 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:39 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:44 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 78aded1abb07a..72e34cb95efa6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -5636,11 +5636,11 @@ Output:: [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8081,20 +8081,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 257550137be3c..9495a4e334878 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -5457,11 +5457,11 @@ Output:: [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -8188,20 +8188,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -10564,20 +10564,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:35 AM] Projects in this build: +[12:01:39 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:36 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:37 AM] Building project '/src/first/tsconfig.json'... +[12:01:41 AM] Building project '/src/first/tsconfig.json'... -[12:01:45 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index b50d79f3cbff3..22cdfaf2abea0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -2289,11 +2289,11 @@ Output:: [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:03 AM] Building project '/src/third/tsconfig.json'... +[12:01:04 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3895,20 +3895,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:16 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:18 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index fba1070a98799..fb8b0762975ac 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -2054,11 +2054,11 @@ Output:: [12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index a888c39234153..38cb87c6c087a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1759,11 +1759,11 @@ Output:: [12:00:45 AM] Building project '/src/first/tsconfig.json'... -[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:55 AM] Building project '/src/third/tsconfig.json'... +[12:00:56 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index d1e13d1186519..b147d6640a4cd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -1816,11 +1816,11 @@ Output:: [12:00:48 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:58 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 1f1d9ade0c9ac..0c2c8de15abbc 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -102,10 +102,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:18 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/tsconfig.json -[12:00:19 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' +[12:00:20 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 59c9f8e51c43d..3617655734845 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -105,12 +105,12 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:16 AM] Projects in this build: +[12:00:17 AM] Projects in this build: * src/tsconfig.json -[12:00:17 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:18 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:18 AM] Building project '/src/tsconfig.json'... +[12:00:19 AM] Building project '/src/tsconfig.json'... error TS6059: File '/src/types/type.ts' is not under 'rootDir' '/src/src'. 'rootDir' is expected to contain all source files. The file is in the program because: diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 8cdd18c6cc52b..00ec17a39347d 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -65,9 +65,9 @@ Output:: [12:00:09 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:15 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' -[12:00:16 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:17 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:4:5 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index a11be4e18ff6f..3b705c836bb33 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -58,9 +58,9 @@ Output:: [12:00:10 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:17 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' -[12:00:17 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:18 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:1:76 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index ed4be565dc28c..809aaa3bf2e98 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -58,9 +58,9 @@ Output:: [12:00:12 AM] Building project '/src/src/other/tsconfig.other.json'... -[12:00:18 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/tsconfig.main.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/tsconfig.main.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/src/main/tsconfig.main.json'... +[12:00:20 AM] Building project '/src/src/main/tsconfig.main.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index c55a35221696e..ead865a95cada 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -50,9 +50,9 @@ Output:: [12:00:15 AM] Building project '/src/shared/tsconfig.json'... -[12:00:20 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:22 AM] Building project '/src/webpack/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/shared/index.ts"] diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 1679ba1198d57..3646f3db61818 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -84,9 +84,9 @@ lib/lib.d.ts Default library for target 'es5' src/strings/foo.json Matched by include pattern 'foo.json' in 'src/strings/tsconfig.json' -[12:00:11 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/tsconfig.tsbuildinfo' does not exist +[12:00:12 AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/tsconfig.tsbuildinfo' does not exist -[12:00:12 AM] Building project '/src/main/tsconfig.json'... +[12:00:13 AM] Building project '/src/main/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -237,14 +237,14 @@ Input:: Output:: /lib/tsc --b src/tsconfig.json --verbose --explainFiles -[12:00:17 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/strings/tsconfig.json * src/main/tsconfig.json * src/tsconfig.json -[12:00:18 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' +[12:00:20 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' -[12:00:19 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' +[12:00:21 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 01267f8103f34..d039841573077 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -226,10 +226,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose --explainFiles -[12:00:18 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:19 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' +[12:00:20 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 3c03f785ff019..0010265347c34 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -208,10 +208,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose -[12:00:14 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:15 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' +[12:00:16 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 4d097118467af..07776984c6fda 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -119,9 +119,9 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 52186faf13f07..8fe0f14f833aa 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -384,16 +384,16 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose -[12:00:23 AM] Projects in this build: +[12:00:26 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:28 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:29 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -429,18 +429,18 @@ const m = 10; Output:: /lib/tsc --b /src/tests --verbose -[12:00:28 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:29 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:30 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:33 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:31 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' +[12:00:34 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' -[12:00:32 AM] Building project '/src/tests/tsconfig.json'... +[12:00:35 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -528,22 +528,22 @@ export function multiply(a: number, b: number) { return a * b; } Output:: /lib/tsc --b /src/tests --verbose -[12:00:38 AM] Projects in this build: +[12:00:42 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:43 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:40 AM] Building project '/src/core/tsconfig.json'... +[12:00:44 AM] Building project '/src/core/tsconfig.json'... -[12:00:46 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:51 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:47 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:52 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:50 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:55 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:51 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:00:56 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -668,18 +668,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:55 AM] Projects in this build: +[12:01:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:56 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:01 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:57 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:02 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:58 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:01:03 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' -[12:00:59 AM] Building project '/src/tests/tsconfig.json'... +[12:01:04 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index bb8c738105391..c56de7ab29f59 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -120,18 +120,18 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. 3 return c.muitply();    ~~~~~~~ -[12:00:22 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +[12:00:24 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors -[12:00:23 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +[12:00:25 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors Found 1 error. @@ -344,25 +344,25 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:24 AM] Projects in this build: +[12:00:26 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:25 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:26 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:28 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:27 AM] Building project '/src/logic/tsconfig.json'... +[12:00:29 AM] Building project '/src/logic/tsconfig.json'... src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. 3 return c.muitply();    ~~~~~~~ -[12:00:28 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +[12:00:30 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors -[12:00:29 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +[12:00:31 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors Found 1 error. diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index 8df0b7a310abc..c6169b8ad99d0 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -193,16 +193,16 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose -[12:00:20 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 58d2cd4704b10..51bf427a4f270 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -128,9 +128,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -142,9 +142,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/tests/tsconfig.json'... +[12:00:27 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -475,14 +475,14 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:00:31 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:32 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:33 AM] Building project '/src/core/tsconfig.json'... +[12:00:36 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -492,9 +492,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:39 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:43 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:40 AM] Building project '/src/logic/tsconfig.json'... +[12:00:44 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -506,9 +506,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:46 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:47 AM] Building project '/src/tests/tsconfig.json'... +[12:00:52 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -806,14 +806,14 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:00:53 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:54 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:55 AM] Building project '/src/core/tsconfig.json'... +[12:01:01 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -823,13 +823,13 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:01:01 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:08 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:02 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:09 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:05 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:12 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:06 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:13 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -948,16 +948,16 @@ Input:: Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:01:09 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:10 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:17 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:11 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:18 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:12 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:19 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 4dc338b24eaa4..edf0e15cf63cc 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -384,11 +384,11 @@ export function run() { Output:: /lib/tsc --b /src/tests --dry -[12:00:23 AM] Project '/src/core/tsconfig.json' is up to date +[12:00:26 AM] Project '/src/core/tsconfig.json' is up to date -[12:00:24 AM] Project '/src/logic/tsconfig.json' is up to date +[12:00:27 AM] Project '/src/logic/tsconfig.json' is up to date -[12:00:25 AM] Project '/src/tests/tsconfig.json' is up to date +[12:00:28 AM] Project '/src/tests/tsconfig.json' is up to date exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 9fb7071335d14..7e4ce6135ce90 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -507,7 +507,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/logic/index.ts": 1, "/user/username/projects/logic/index.d.ts": 1 } @@ -659,7 +658,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/logic/index.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 9815aec4bd243..7fabdc4d18901 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -384,22 +384,22 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose -[12:00:23 AM] Projects in this build: +[12:00:26 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:24 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:27 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:25 AM] Building project '/src/core/tsconfig.json'... +[12:00:28 AM] Building project '/src/core/tsconfig.json'... -[12:00:34 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:38 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:35 AM] Building project '/src/logic/tsconfig.json'... +[12:00:39 AM] Building project '/src/logic/tsconfig.json'... -[12:00:41 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:46 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:42 AM] Building project '/src/tests/tsconfig.json'... +[12:00:47 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index ab0009e7b57f0..25a770495031f 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -384,22 +384,22 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose --force -[12:00:23 AM] Projects in this build: +[12:00:26 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:24 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt +[12:00:27 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt -[12:00:25 AM] Building project '/src/core/tsconfig.json'... +[12:00:28 AM] Building project '/src/core/tsconfig.json'... -[12:00:34 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt +[12:00:37 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt -[12:00:35 AM] Building project '/src/logic/tsconfig.json'... +[12:00:38 AM] Building project '/src/logic/tsconfig.json'... -[12:00:41 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt +[12:00:44 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt -[12:00:42 AM] Building project '/src/tests/tsconfig.json'... +[12:00:45 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 58d36720133e3..16bce202e2594 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -123,13 +123,13 @@ Output:: [12:00:10 AM] Building project '/src/core/tsconfig.json'... -[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/logic/tsconfig.json'... +[12:00:21 AM] Building project '/src/logic/tsconfig.json'... -[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/tests/tsconfig.json'... +[12:00:29 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -444,18 +444,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:33 AM] Projects in this build: +[12:00:36 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:34 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:37 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:35 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:38 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:36 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' +[12:00:39 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' -[12:00:37 AM] Building project '/src/tests/tsconfig.json'... +[12:00:40 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index 5fb6c3b096fc7..59d9791d0cce0 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -118,13 +118,13 @@ Output::    ~~~~~~~~~~~~~~~~~~ File is matched by 'files' list specified here. -[12:00:13 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:14 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:14 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors +[12:00:15 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors -[12:00:15 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:16 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:16 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors +[12:00:17 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors Found 1 error. diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 2f64daa10955a..df92fff444427 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -120,13 +120,13 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:17 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/logic/tsconfig.json'... +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... -[12:00:24 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/tests/tsconfig.json'... +[12:00:27 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -734,22 +734,22 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --verbose -[12:00:34 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:38 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:36 AM] Building project '/src/core/tsconfig.json'... +[12:00:39 AM] Building project '/src/core/tsconfig.json'... -[12:00:42 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:46 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:43 AM] Building project '/src/logic/tsconfig.json'... +[12:00:47 AM] Building project '/src/logic/tsconfig.json'... -[12:00:49 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:50 AM] Building project '/src/tests/tsconfig.json'... +[12:00:55 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1185,22 +1185,22 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --verbose -[12:00:58 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:59 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:05 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:01:00 AM] Building project '/src/core/tsconfig.json'... +[12:01:06 AM] Building project '/src/core/tsconfig.json'... -[12:01:06 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:13 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:07 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:14 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:10 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:17 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:11 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:18 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1331,16 +1331,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:15 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:16 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:23 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:17 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:24 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:18 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:25 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { @@ -1396,20 +1396,20 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:20 AM] Projects in this build: +[12:01:27 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:22 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' +[12:01:29 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' -[12:01:23 AM] Building project '/src/logic/tsconfig.json'... +[12:01:30 AM] Building project '/src/logic/tsconfig.json'... -[12:01:30 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' +[12:01:38 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' -[12:01:31 AM] Building project '/src/tests/tsconfig.json'... +[12:01:39 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1627,16 +1627,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:37 AM] Projects in this build: +[12:01:46 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:38 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:47 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:39 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:48 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:40 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:49 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 08b0958171d07..34b5a1368ef7c 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -215,12 +215,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:00:15 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/core/tsconfig.json -[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' -[12:00:17 AM] Building project '/src/core/tsconfig.json'... +[12:00:18 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index ca79349ff2d32..365e27fce763b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -121,13 +121,13 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... -[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/tests/tsconfig.json'... +[12:00:28 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -454,18 +454,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:32 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:33 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:36 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:34 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:37 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:35 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:00:38 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' -[12:00:36 AM] Building project '/src/tests/tsconfig.json'... +[12:00:39 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index f008aa4ecad20..0091147e3babf 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -121,13 +121,13 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/ownFile.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/ownFile.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... -[12:00:25 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/tests/tsconfig.json'... +[12:00:28 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 20a2fac9d71ac..4003591cc8460 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -215,12 +215,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:00:15 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/core/tsconfig.json -[12:00:16 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' -[12:00:17 AM] Building project '/src/core/tsconfig.json'... +[12:00:18 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 37ed0de63b249..1c42ee0ec37c6 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -234,12 +234,12 @@ Input:: Output:: /lib/tsc --b /src/core --verbose -[12:00:18 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/core/tsconfig.json -[12:00:19 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:20 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' -[12:00:20 AM] Building project '/src/core/tsconfig.json'... +[12:00:21 AM] Building project '/src/core/tsconfig.json'... TSFILE: /src/core/anotherModule.js TSFILE: /src/core/index.js diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 125b3c92ae93d..0aee45da3914a 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -48,7 +48,7 @@ Output:: 7 "b.ts"    ~~~~~~ -[12:00:28 AM] Found 1 error. Watching for file changes. +[12:00:29 AM] Found 1 error. Watching for file changes. @@ -159,14 +159,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:32 AM] File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:33 AM] Found 1 error. Watching for file changes. +[12:00:34 AM] Found 1 error. Watching for file changes. @@ -207,9 +207,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -230,14 +228,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:37 AM] File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:38 AM] Found 1 error. Watching for file changes. +[12:00:39 AM] Found 1 error. Watching for file changes. @@ -278,9 +276,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -299,14 +295,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:42 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:43 AM] Found 1 error. Watching for file changes. +[12:00:44 AM] Found 1 error. Watching for file changes. @@ -347,9 +343,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -370,9 +364,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:47 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] File change detected. Starting incremental compilation... -[12:01:02 AM] Found 0 errors. Watching for file changes. +[12:01:04 AM] Found 0 errors. Watching for file changes. @@ -485,8 +479,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index c83645757f91a..cc17484c13441 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -217,15 +217,15 @@ Output::    ~~~ File is included via import here. -[12:00:59 AM] Project 'animals/tsconfig.json' can't be built because its dependency 'core' has errors +[12:01:00 AM] Project 'animals/tsconfig.json' can't be built because its dependency 'core' has errors -[12:01:00 AM] Skipping build of project '/user/username/projects/demo/animals/tsconfig.json' because its dependency '/user/username/projects/demo/core' has errors +[12:01:01 AM] Skipping build of project '/user/username/projects/demo/animals/tsconfig.json' because its dependency '/user/username/projects/demo/core' has errors -[12:01:01 AM] Project 'zoo/tsconfig.json' can't be built because its dependency 'animals' was not built +[12:01:02 AM] Project 'zoo/tsconfig.json' can't be built because its dependency 'animals' was not built -[12:01:02 AM] Skipping build of project '/user/username/projects/demo/zoo/tsconfig.json' because its dependency '/user/username/projects/demo/animals' was not built +[12:01:03 AM] Skipping build of project '/user/username/projects/demo/zoo/tsconfig.json' because its dependency '/user/username/projects/demo/animals' was not built -[12:01:03 AM] Found 7 errors. Watching for file changes. +[12:01:04 AM] Found 7 errors. Watching for file changes. @@ -482,11 +482,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:07 AM] File change detected. Starting incremental compilation... +[12:01:08 AM] File change detected. Starting incremental compilation... -[12:01:08 AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'lib/core/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:09 AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'lib/core/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:01:09 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... +[12:01:10 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... animals/index.ts:1:20 - error TS6059: File '/user/username/projects/demo/animals/animal.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. @@ -539,7 +539,7 @@ Output::    ~~~ File is included via import here. -[12:01:16 AM] Found 7 errors. Watching for file changes. +[12:01:18 AM] Found 7 errors. Watching for file changes. @@ -750,8 +750,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 82e0dd827d0c4..b82f5a4be6239 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -249,15 +249,15 @@ Output:: [12:00:54 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... -[12:01:08 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/tsconfig.tsbuildinfo' does not exist +[12:01:09 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/tsconfig.tsbuildinfo' does not exist -[12:01:09 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... +[12:01:10 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... -[12:01:29 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/tsconfig.tsbuildinfo' does not exist +[12:01:31 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/tsconfig.tsbuildinfo' does not exist -[12:01:30 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... +[12:01:32 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... -[12:01:42 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 893e23dfdce03..4ee468f1fe243 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -69,9 +69,9 @@ File '/user/username/projects/myproject/packages/pkg2/const.js.d.ts' does not ex File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:01:06 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:01:07 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:01:07 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:08 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -110,7 +110,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:14 AM] Found 0 errors. Watching for file changes. @@ -348,11 +348,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:17 AM] File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... -[12:01:18 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:19 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' -[12:01:19 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:20 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -384,7 +384,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:20 AM] Found 1 error. Watching for file changes. +[12:01:21 AM] Found 1 error. Watching for file changes. @@ -484,11 +484,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:25 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:26 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' -[12:01:26 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:27 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -527,7 +527,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:30 AM] Found 0 errors. Watching for file changes. +[12:01:31 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index e2393df64f3b7..71c0c863547e8 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -68,9 +68,9 @@ File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:00 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:01:01 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:01:01 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:02 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -107,7 +107,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -[12:01:07 AM] Found 0 errors. Watching for file changes. +[12:01:08 AM] Found 0 errors. Watching for file changes. @@ -331,11 +331,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:11 AM] File change detected. Starting incremental compilation... +[12:01:12 AM] File change detected. Starting incremental compilation... -[12:01:12 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:13 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' -[12:01:13 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:14 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -384,7 +384,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:14 AM] Found 1 error. Watching for file changes. +[12:01:15 AM] Found 1 error. Watching for file changes. @@ -505,11 +505,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:18 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... -[12:01:19 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:20 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' -[12:01:20 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:21 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -547,7 +547,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:24 AM] Found 0 errors. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -663,11 +663,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:28 AM] File change detected. Starting incremental compilation... +[12:01:29 AM] File change detected. Starting incremental compilation... -[12:01:29 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:30 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' -[12:01:30 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:31 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -716,7 +716,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:31 AM] Found 1 error. Watching for file changes. +[12:01:32 AM] Found 1 error. Watching for file changes. @@ -841,11 +841,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:38 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' +[12:01:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' -[12:01:40 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +[12:01:41 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module './const.cjs' from '/user/username/projects/myproject/packages/pkg2/index.cts'. ======== Module resolution kind is not specified, using 'Node12'. @@ -1003,7 +1003,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/packages/pkg2/const.cts": 1, "/user/username/projects/myproject/packages/pkg2/index.cts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 2cf0413636d6f..ecd49c959a6a1 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -62,11 +62,11 @@ Output:: [12:00:54 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... -[12:01:03 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist +[12:01:04 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist -[12:01:04 AM] Building project '/user/username/projects/myproject/project2/tsconfig.json'... +[12:01:05 AM] Building project '/user/username/projects/myproject/project2/tsconfig.json'... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:15 AM] Found 0 errors. Watching for file changes. @@ -332,13 +332,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... -[12:01:17 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' +[12:01:19 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' -[12:01:18 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... +[12:01:20 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:34 AM] Found 0 errors. Watching for file changes. @@ -480,7 +480,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/project1/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/project1/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index c1b2bdbf60c09..d4755936c5a60 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -44,7 +44,7 @@ Output:: [12:00:28 AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[12:00:33 AM] Found 0 errors. Watching for file changes. +[12:00:34 AM] Found 0 errors. Watching for file changes. @@ -165,13 +165,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:37 AM] File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -[12:00:38 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' +[12:00:39 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' -[12:00:39 AM] Building project '/user/username/projects/myproject/tsconfig.json'... +[12:00:40 AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. @@ -214,9 +214,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -237,13 +235,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:44 AM] File change detected. Starting incremental compilation... +[12:00:45 AM] File change detected. Starting incremental compilation... -[12:00:45 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' +[12:00:46 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' -[12:00:46 AM] Building project '/user/username/projects/myproject/tsconfig.json'... +[12:00:47 AM] Building project '/user/username/projects/myproject/tsconfig.json'... -[12:00:53 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -343,8 +341,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 592df90bd3781..4d154684eab1b 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -64,7 +64,7 @@ Output:: 4 ;   ~ -[12:00:42 AM] Found 1 error. Watching for file changes. +[12:00:43 AM] Found 1 error. Watching for file changes. @@ -189,18 +189,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:46 AM] File change detected. Starting incremental compilation... +[12:00:47 AM] File change detected. Starting incremental compilation... -[12:00:47 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:48 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:49 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:4:1 - error TS1005: ',' expected. 4 ;   ~ -[12:00:49 AM] Found 1 error. Watching for file changes. +[12:00:50 AM] Found 1 error. Watching for file changes. @@ -249,9 +249,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -275,13 +273,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:53 AM] File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... -[12:00:54 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:55 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:55 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:56 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:16 AM] Found 0 errors. Watching for file changes. +[12:01:18 AM] Found 0 errors. Watching for file changes. @@ -418,9 +416,7 @@ directoryExists:: { "/user/username/projects/noemitonerror/dev-build/src": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -442,18 +438,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:20 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:23 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:22 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:24 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:29 AM] Found 1 error. Watching for file changes. +[12:01:32 AM] Found 1 error. Watching for file changes. @@ -580,7 +576,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1, "/user/username/projects/noemitonerror/shared/types/db.ts": 1 } @@ -601,18 +596,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:33 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:37 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:01:35 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:38 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:36 AM] Found 1 error. Watching for file changes. +[12:01:39 AM] Found 1 error. Watching for file changes. @@ -661,9 +656,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -685,13 +678,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:40 AM] File change detected. Starting incremental compilation... +[12:01:43 AM] File change detected. Starting incremental compilation... -[12:01:41 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:44 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:01:42 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:45 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:52 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -805,9 +798,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -826,15 +817,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:02:00 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:02:01 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' -[12:01:58 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:02:02 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:59 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:02:03 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:02:01 AM] Found 0 errors. Watching for file changes. +[12:02:05 AM] Found 0 errors. Watching for file changes. @@ -884,9 +875,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 1bf6d6b27044d..02ed41f2ac0fc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 4ff4cca83790e..e10a856010657 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -124,15 +124,15 @@ Output:: [12:00:48 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:05 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/tsconfig.tsbuildinfo' does not exist +[12:01:06 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/tsconfig.tsbuildinfo' does not exist -[12:01:06 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:07 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:01:17 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/tsconfig.tsbuildinfo' does not exist +[12:01:19 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/tsconfig.tsbuildinfo' does not exist -[12:01:18 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:20 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -543,17 +543,17 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:31 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:01:35 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' -[12:01:33 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:36 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:01:49 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:53 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:50 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:54 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:01:52 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -702,7 +702,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/logic/index.d.ts": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } @@ -735,17 +734,17 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:02:00 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:02:01 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' -[12:01:58 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:02:02 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:02:14 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' +[12:02:19 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' -[12:02:15 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:02:20 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:02:28 AM] Found 0 errors. Watching for file changes. +[12:02:34 AM] Found 0 errors. Watching for file changes. @@ -1004,7 +1003,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/tests/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 7d4c2f0b31b65..6d736ed5dd3af 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... -[12:00:38 AM] Found 0 errors. Watching for file changes. +[12:00:39 AM] Found 0 errors. Watching for file changes. @@ -192,14 +192,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:42 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:43 AM] Found 1 error. Watching for file changes. +[12:00:44 AM] Found 1 error. Watching for file changes. @@ -245,9 +245,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -268,14 +266,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:47 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:48 AM] Found 1 error. Watching for file changes. +[12:00:49 AM] Found 1 error. Watching for file changes. @@ -321,8 +319,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index c1e4d499bdff6..d279e9db89a30 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... -[12:00:38 AM] Found 0 errors. Watching for file changes. +[12:00:39 AM] Found 0 errors. Watching for file changes. @@ -192,14 +192,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:42 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:43 AM] Found 1 error. Watching for file changes. +[12:00:44 AM] Found 1 error. Watching for file changes. @@ -245,9 +245,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -271,9 +269,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:47 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] File change detected. Starting incremental compilation... -[12:01:00 AM] Found 0 errors. Watching for file changes. +[12:01:02 AM] Found 0 errors. Watching for file changes. @@ -324,7 +322,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1, "/user/username/projects/solution/app/filewitherror.d.ts": 1, "/user/username/projects/solution/app/filewithouterror.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 7e4a92585cd37..3b9f3083a7830 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -169,8 +169,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 5f18a745bab97..2024870bea1b9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -121,7 +121,7 @@ Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... -[12:00:43 AM] Found 0 errors. Watching for file changes. +[12:00:44 AM] Found 0 errors. Watching for file changes. @@ -245,8 +245,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index c6b2c8bc5bf62..689720b546dce 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -526,14 +526,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10;    ~ -[12:01:31 AM] Found 1 error. Watching for file changes. +[12:01:35 AM] Found 1 error. Watching for file changes. @@ -680,9 +680,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -707,7 +705,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... sample1/core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -719,7 +717,7 @@ Output:: 8 let y: string = 10;    ~ -[12:01:42 AM] Found 2 errors. Watching for file changes. +[12:01:47 AM] Found 2 errors. Watching for file changes. @@ -838,7 +836,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index d85c484f97783..d41e76865ef63 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -114,7 +114,7 @@ setModifiedTimes:: {} Output:: [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -524,14 +524,14 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10;    ~ -[12:01:31 AM] Found 1 error. Watching for file changes. +[12:01:35 AM] Found 1 error. Watching for file changes. @@ -678,9 +678,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -704,7 +702,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... sample1/core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -716,7 +714,7 @@ Output:: 8 let y: string = 10;    ~ -[12:01:42 AM] Found 2 errors. Watching for file changes. +[12:01:47 AM] Found 2 errors. Watching for file changes. @@ -835,7 +833,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index def3794bcdf89..1d09c80ca19a1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -46,7 +46,7 @@ Output:: [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:00:46 AM] Found 0 errors. Watching for file changes. +[12:00:47 AM] Found 0 errors. Watching for file changes. @@ -230,13 +230,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:49 AM] File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... -[12:00:50 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:51 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' -[12:00:51 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +[12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:02 AM] Found 0 errors. Watching for file changes. +[12:01:04 AM] Found 0 errors. Watching for file changes. @@ -345,7 +345,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 1413bf5436426..a589a81970300 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -53,7 +53,7 @@ Output:: [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:00:47 AM] Found 0 errors. Watching for file changes. +[12:00:48 AM] Found 0 errors. Watching for file changes. @@ -243,13 +243,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:50 AM] File change detected. Starting incremental compilation... +[12:00:51 AM] File change detected. Starting incremental compilation... -[12:00:51 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:52 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' -[12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +[12:00:53 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:07 AM] Found 0 errors. Watching for file changes. @@ -363,7 +363,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/file3.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 4e7bcb2b03a46..78b21a906f132 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:12 AM] Found 0 errors. Watching for file changes. +[12:01:14 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 84118ed8676b5..9fd7200c078c8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -83,7 +83,7 @@ Output:: error TS5083: Cannot read file '/user/username/projects/sample1/logic/tsconfig.json'. -[12:00:54 AM] Found 1 error. Watching for file changes. +[12:00:55 AM] Found 1 error. Watching for file changes. @@ -252,7 +252,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:57 AM] File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... @@ -428,7 +428,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:16 AM] Found 0 errors. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 2f15b137415f0..857417e30f818 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -50,7 +50,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. @@ -221,7 +221,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:44 AM] File change detected. Starting incremental compilation... +[12:00:45 AM] File change detected. Starting incremental compilation... App/app.ts:2:20 - error TS2551: Property 'message' does not exist on type 'SomeObject'. Did you mean 'message2'? @@ -233,7 +233,7 @@ Output::    ~~~~~~~~ 'message2' is declared here. -[12:00:57 AM] Found 1 error. Watching for file changes. +[12:00:59 AM] Found 1 error. Watching for file changes. @@ -357,9 +357,7 @@ directoryExists:: { "/user/username/projects/sample1/app/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -391,9 +389,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:01 AM] File change detected. Starting incremental compilation... +[12:01:03 AM] File change detected. Starting incremental compilation... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -518,8 +516,6 @@ directoryExists:: { "/user/username/projects/sample1/app/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index ce3876a025015..6c7f0fac05d18 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -414,7 +414,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:25 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -591,7 +591,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... @@ -699,7 +699,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/index.tsbuildinfo": 1, "/user/username/projects/sample1/core/index.d.ts": 1 } @@ -718,7 +717,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:57 AM] Found 0 errors. Watching for file changes. +[12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 3f3de3aa5180d..54eb1997ab202 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:10 AM] Found 0 errors. Watching for file changes. +[12:01:13 AM] Found 0 errors. Watching for file changes. @@ -483,7 +483,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... +[12:01:16 AM] File change detected. Starting incremental compilation... @@ -602,7 +602,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1 @@ -703,7 +702,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -792,7 +791,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... @@ -918,9 +917,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1017,7 +1014,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:50 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 88bce287b696a..fef2bd2a728bd 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:10 AM] Found 0 errors. Watching for file changes. +[12:01:13 AM] Found 0 errors. Watching for file changes. @@ -487,7 +487,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:14 AM] File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... @@ -611,7 +611,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } @@ -780,7 +779,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:54 AM] Found 0 errors. Watching for file changes. +[12:02:00 AM] Found 0 errors. Watching for file changes. @@ -953,7 +952,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:58 AM] File change detected. Starting incremental compilation... +[12:02:04 AM] File change detected. Starting incremental compilation... @@ -1068,9 +1067,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1237,7 +1234,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:38 AM] Found 0 errors. Watching for file changes. +[12:02:47 AM] Found 0 errors. Watching for file changes. @@ -1412,7 +1409,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:45 AM] File change detected. Starting incremental compilation... +[12:02:54 AM] File change detected. Starting incremental compilation... @@ -1543,9 +1540,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1712,7 +1707,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:25 AM] Found 0 errors. Watching for file changes. +[12:03:37 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 68bb85bc06014..0439b0b290a8f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:10 AM] Found 0 errors. Watching for file changes. +[12:01:13 AM] Found 0 errors. Watching for file changes. @@ -487,7 +487,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:14 AM] File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... @@ -599,7 +599,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 @@ -674,7 +673,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:29 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index f007403b35633..a52c6d1f81d9c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -519,7 +519,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:26 AM] File change detected. Starting incremental compilation... @@ -643,7 +643,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.ts": 1, "/user/username/projects/sample1/core/newfile.ts": 1 @@ -744,7 +743,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:38 AM] Found 0 errors. Watching for file changes. +[12:01:42 AM] Found 0 errors. Watching for file changes. @@ -833,7 +832,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:42 AM] File change detected. Starting incremental compilation... +[12:01:46 AM] File change detected. Starting incremental compilation... @@ -964,9 +963,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1063,7 +1060,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:00 AM] Found 0 errors. Watching for file changes. +[12:02:05 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 2b206b13a86c1..037893d3abeae 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -523,7 +523,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... @@ -652,7 +652,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1 } @@ -821,7 +820,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:07 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. @@ -994,7 +993,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:11 AM] File change detected. Starting incremental compilation... +[12:02:17 AM] File change detected. Starting incremental compilation... @@ -1114,9 +1113,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1283,7 +1280,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:54 AM] Found 0 errors. Watching for file changes. +[12:03:03 AM] Found 0 errors. Watching for file changes. @@ -1458,7 +1455,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:03:01 AM] File change detected. Starting incremental compilation... +[12:03:10 AM] File change detected. Starting incremental compilation... @@ -1594,9 +1591,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1763,7 +1758,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:44 AM] Found 0 errors. Watching for file changes. +[12:03:56 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index c3b65e68580e0..71936699eb804 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -523,7 +523,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... @@ -638,7 +638,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, "/user/username/projects/sample1/core/anothermodule.ts": 1, "/user/username/projects/sample1/core/index.d.ts": 1, "/user/username/projects/sample1/core/anothermodule.d.ts": 1 @@ -713,7 +712,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:42 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 6e2d9122dce92..adfb266021b03 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -59,11 +59,11 @@ Output:: [12:00:30 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:43 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist +[12:00:44 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist -[12:00:44 AM] Building project '/a/b/project2.tsconfig.json'... +[12:00:45 AM] Building project '/a/b/project2.tsconfig.json'... -[12:00:53 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -268,9 +268,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:56 AM] File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:00:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index f365f4444996b..8d4c5edb41a12 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -55,11 +55,11 @@ Output:: [12:00:28 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:41 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist +[12:00:42 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist -[12:00:42 AM] Building project '/a/b/project2.tsconfig.json'... +[12:00:43 AM] Building project '/a/b/project2.tsconfig.json'... -[12:00:51 AM] Found 0 errors. Watching for file changes. +[12:00:53 AM] Found 0 errors. Watching for file changes. @@ -257,13 +257,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:55 AM] File change detected. Starting incremental compilation... +[12:00:57 AM] File change detected. Starting incremental compilation... -[12:00:56 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:00:58 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:00:57 AM] Building project '/a/b/project1.tsconfig.json'... +[12:00:59 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:58 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:00 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -318,7 +318,6 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, "/a/b/project1.tsconfig.json": 1, @@ -343,13 +342,13 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:00 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:02 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:01:01 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:03 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:02 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:04 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:04 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -399,7 +398,6 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/other.ts": 1, "/a/b/project2.tsconfig.json": 1, "/a/b/bravo.tsconfig.json": 1, @@ -427,15 +425,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:08 AM] File change detected. Starting incremental compilation... +[12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:09 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' +[12:01:11 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' -[12:01:10 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:12 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:11 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:13 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:15 AM] Found 0 errors. Watching for file changes. @@ -488,7 +486,6 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/project2.tsconfig.tsbuildinfo": 1, "/a/b/other.d.ts": 1 } @@ -513,13 +510,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:17 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... -[12:01:18 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'project2.tsconfig.json' +[12:01:20 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'project2.tsconfig.json' -[12:01:19 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:21 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:29 AM] Found 0 errors. Watching for file changes. +[12:01:31 AM] Found 0 errors. Watching for file changes. @@ -616,13 +613,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:33 AM] File change detected. Starting incremental compilation... +[12:01:35 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:36 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:01:35 AM] Building project '/a/b/project1.tsconfig.json'... +[12:01:37 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:36 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:38 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -676,7 +673,6 @@ directoryExists:: { } getModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1, "/a/b/commonfile1.d.ts": 1, "/a/b/commonfile2.d.ts": 1 } @@ -698,13 +694,13 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:38 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' +[12:01:40 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' -[12:01:39 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:41 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:40 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:42 AM] Found 0 errors. Watching for file changes. +[12:01:44 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 7c7854e4fcdc4..f0220d1a50654 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -55,11 +55,11 @@ Output:: [12:00:33 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:00:42 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/tsconfig.tsbuildinfo' does not exist +[12:00:43 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/tsconfig.tsbuildinfo' does not exist -[12:00:43 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:00:44 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:00:52 AM] Found 0 errors. Watching for file changes. +[12:00:54 AM] Found 0 errors. Watching for file changes. @@ -292,19 +292,19 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:55 AM] File change detected. Starting incremental compilation... +[12:00:57 AM] File change detected. Starting incremental compilation... -[12:00:56 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' +[12:00:58 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' -[12:00:57 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... +[12:00:59 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:01:10 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' +[12:01:13 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' -[12:01:11 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:01:14 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:01:15 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:01:14 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -441,7 +441,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/shared/tsconfig.tsbuildinfo": 1, "/user/username/projects/myproject/webpack/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 5cfd693ec6a45..8f0a50a2637c5 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -86,11 +86,11 @@ Output:: [12:00:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:00:56 AM] Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist +[12:00:57 AM] Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist -[12:00:57 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:00:58 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:03 AM] Found 0 errors. Watching for file changes. +[12:01:04 AM] Found 0 errors. Watching for file changes. @@ -315,15 +315,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:07 AM] File change detected. Starting incremental compilation... +[12:01:08 AM] File change detected. Starting incremental compilation... -[12:01:08 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:09 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:09 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:10 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:28 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' +[12:01:30 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' -[12:01:29 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:31 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... src/main/index.ts:3:14 - error TS2741: Property 'bar' is missing in type '{ foo: number; }' but required in type 'Session'. @@ -335,7 +335,7 @@ Output::    ~~~ 'bar' is declared here. -[12:01:30 AM] Found 1 error. Watching for file changes. +[12:01:32 AM] Found 1 error. Watching for file changes. @@ -490,7 +490,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1, "/user/username/projects/reexport/src/pure/index.ts": 1 } @@ -517,19 +516,19 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:34 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:37 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:36 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:55 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. +[12:01:58 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. -[12:01:56 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:59 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:57 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:02:00 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:59 AM] Found 0 errors. Watching for file changes. +[12:02:02 AM] Found 0 errors. Watching for file changes. @@ -683,9 +682,7 @@ directoryExists:: { "/user/username/projects/reexport/src/main/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/reexport/out/main/index.js": 1 diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 1c16fecd62a98..aa87083c4f4f1 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -393,9 +393,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tests Output:: >> Screen clear -[12:01:13 AM] Starting compilation in watch mode... +[12:01:16 AM] Starting compilation in watch mode... -[12:01:14 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -614,9 +614,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:32 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:37 AM] Found 0 errors. Watching for file changes. @@ -832,9 +832,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:51 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:02:01 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -1131,9 +1131,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:22 AM] File change detected. Starting incremental compilation... +[12:02:28 AM] File change detected. Starting incremental compilation... -[12:02:32 AM] Found 0 errors. Watching for file changes. +[12:02:38 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 867843d087f5c..5bb06323e877b 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -213,9 +213,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:57 AM] Starting compilation in watch mode... +[12:00:59 AM] Starting compilation in watch mode... -[12:01:01 AM] Found 0 errors. Watching for file changes. +[12:01:03 AM] Found 0 errors. Watching for file changes. @@ -450,9 +450,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -566,9 +566,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:28 AM] File change detected. Starting incremental compilation... +[12:01:31 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -706,9 +706,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Found 0 errors. Watching for file changes. +[12:01:43 AM] Found 0 errors. Watching for file changes. @@ -846,9 +846,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:44 AM] File change detected. Starting incremental compilation... +[12:01:47 AM] File change detected. Starting incremental compilation... -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:48 AM] Found 0 errors. Watching for file changes. @@ -969,9 +969,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... -[12:01:50 AM] Found 0 errors. Watching for file changes. +[12:01:53 AM] Found 0 errors. Watching for file changes. @@ -1083,14 +1083,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:01:59 AM] Found 1 error. Watching for file changes. +[12:02:02 AM] Found 1 error. Watching for file changes. @@ -1203,9 +1203,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:02:05 AM] File change detected. Starting incremental compilation... -[12:02:06 AM] Found 0 errors. Watching for file changes. +[12:02:09 AM] Found 0 errors. Watching for file changes. @@ -1333,14 +1333,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:11 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:12 AM] Found 1 error. Watching for file changes. +[12:02:15 AM] Found 1 error. Watching for file changes. @@ -1459,9 +1459,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:15 AM] File change detected. Starting incremental compilation... +[12:02:18 AM] File change detected. Starting incremental compilation... -[12:02:16 AM] Found 0 errors. Watching for file changes. +[12:02:19 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 2e5feefb749f9..9fdd3c39bb009 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -213,9 +213,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:57 AM] Starting compilation in watch mode... +[12:00:59 AM] Starting compilation in watch mode... -[12:01:01 AM] Found 0 errors. Watching for file changes. +[12:01:03 AM] Found 0 errors. Watching for file changes. @@ -450,9 +450,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -562,9 +562,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:28 AM] File change detected. Starting incremental compilation... +[12:01:31 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -698,9 +698,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Found 0 errors. Watching for file changes. +[12:01:43 AM] Found 0 errors. Watching for file changes. @@ -834,9 +834,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:44 AM] File change detected. Starting incremental compilation... +[12:01:47 AM] File change detected. Starting incremental compilation... -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:48 AM] Found 0 errors. Watching for file changes. @@ -952,9 +952,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... -[12:01:50 AM] Found 0 errors. Watching for file changes. +[12:01:53 AM] Found 0 errors. Watching for file changes. @@ -1057,14 +1057,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:01:59 AM] Found 1 error. Watching for file changes. +[12:02:02 AM] Found 1 error. Watching for file changes. @@ -1171,9 +1171,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:02:05 AM] File change detected. Starting incremental compilation... -[12:02:06 AM] Found 0 errors. Watching for file changes. +[12:02:09 AM] Found 0 errors. Watching for file changes. @@ -1295,14 +1295,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:11 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:12 AM] Found 1 error. Watching for file changes. +[12:02:15 AM] Found 1 error. Watching for file changes. @@ -1414,9 +1414,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:15 AM] File change detected. Starting incremental compilation... +[12:02:18 AM] File change detected. Starting incremental compilation... -[12:02:16 AM] Found 0 errors. Watching for file changes. +[12:02:19 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index bff148741046b..f79a3764c1e9d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -224,9 +224,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:51 AM] Starting compilation in watch mode... +[12:00:53 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:57 AM] Found 0 errors. Watching for file changes. @@ -433,9 +433,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:10 AM] File change detected. Starting incremental compilation... +[12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -537,9 +537,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:22 AM] File change detected. Starting incremental compilation... +[12:01:25 AM] File change detected. Starting incremental compilation... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:29 AM] Found 0 errors. Watching for file changes. @@ -650,9 +650,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:33 AM] File change detected. Starting incremental compilation... -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:01:37 AM] Found 0 errors. Watching for file changes. @@ -763,9 +763,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:38 AM] File change detected. Starting incremental compilation... +[12:01:41 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Found 0 errors. Watching for file changes. +[12:01:42 AM] Found 0 errors. Watching for file changes. @@ -874,9 +874,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... +[12:01:46 AM] File change detected. Starting incremental compilation... -[12:01:44 AM] Found 0 errors. Watching for file changes. +[12:01:47 AM] Found 0 errors. Watching for file changes. @@ -972,14 +972,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:46 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 1 {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]}    ~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:01:53 AM] Found 1 error. Watching for file changes. +[12:01:56 AM] Found 1 error. Watching for file changes. @@ -1090,9 +1090,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:01:59 AM] File change detected. Starting incremental compilation... -[12:02:00 AM] Found 0 errors. Watching for file changes. +[12:02:03 AM] Found 0 errors. Watching for file changes. @@ -1198,14 +1198,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:02:05 AM] File change detected. Starting incremental compilation... tsconfig.b.json:10:21 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 10 "references": [ { "path": "tsconfig.a.json" } ]    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:02:06 AM] Found 1 error. Watching for file changes. +[12:02:09 AM] Found 1 error. Watching for file changes. @@ -1309,9 +1309,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... +[12:02:12 AM] File change detected. Starting incremental compilation... -[12:02:10 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 425d82a098e0d..cf0f0ad7a412a 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -211,9 +211,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:51 AM] Starting compilation in watch mode... +[12:00:53 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:57 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 75481f4c8440d..24c2f332a0065 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -223,9 +223,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:09 AM] Starting compilation in watch mode... +[12:01:11 AM] Starting compilation in watch mode... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 75ba8e16529c4..ab68382d0db86 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -221,9 +221,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:09 AM] Starting compilation in watch mode... +[12:01:11 AM] Starting compilation in watch mode... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 3671eab33b8d8..a47b96a08d48f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -224,9 +224,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:13 AM] Starting compilation in watch mode... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 702f9e293e28e..82d5befd9c668 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -222,9 +222,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:13 AM] Starting compilation in watch mode... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index dd2487ae47f3d..da5c09d21b444 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -225,9 +225,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:14 AM] Starting compilation in watch mode... +[12:01:16 AM] Starting compilation in watch mode... -[12:01:24 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index be48093afad60..0f00f70491ddc 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -223,9 +223,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:14 AM] Starting compilation in watch mode... +[12:01:16 AM] Starting compilation in watch mode... -[12:01:24 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index cfca32c1d82e3..e3cfa6c0c8e11 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -225,9 +225,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:16 AM] Starting compilation in watch mode... +[12:01:18 AM] Starting compilation in watch mode... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 2929b0e623cb5..b95585aeca8fe 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -223,9 +223,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:16 AM] Starting compilation in watch mode... +[12:01:18 AM] Starting compilation in watch mode... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 9bfbb64bd4c5b..fccb852b99e4c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -350,9 +350,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear -[12:01:07 AM] Starting compilation in watch mode... +[12:01:09 AM] Starting compilation in watch mode... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. From 2f2e370d6a7998d324fc63a44550a47e6b1470db Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 12 Apr 2022 11:15:26 -0700 Subject: [PATCH 32/64] Non composite projects dont need to track declaration change time --- src/compiler/tsbuildPublic.ts | 17 +++++------------ ...om-transitive-module-with-isolatedModules.js | 6 ++---- ...-change-in-signature-with-isolatedModules.js | 6 +----- ...ntal-flag-changes-between-non-dts-changes.js | 5 ++--- ...not-composite-but-uses-project-references.js | 2 +- 5 files changed, 11 insertions(+), 25 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index cba1b832cb123..b2444173c8c91 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -990,7 +990,9 @@ namespace ts { if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files if (state.readFileWithCache(name) === text) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, name)); + if (config.options.composite) { + newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, name)); + } } else { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; @@ -1506,7 +1508,6 @@ namespace ts { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; - let newestDeclarationFileContentChangedTime; let buildInfoTime: Date | undefined; if (buildInfoPath) { const buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); @@ -1599,14 +1600,6 @@ namespace ts { newerInputFileName: newestInputFileName }; } - - // Keep track of when the most recent time a .d.ts file was changed. - // In addition to file timestamps, we also keep track of when a .d.ts file - // had its file touched but not had its contents changed - this allows us - // to skip a downstream typecheck - if (isDeclarationFileName(output)) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime); - } } } @@ -1666,7 +1659,7 @@ namespace ts { // Up to date return { type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime, + newestDeclarationFileContentChangedTime: undefined, newestInputFileTime, newestInputFileName, oldestOutputFileName @@ -1706,7 +1699,7 @@ namespace ts { continue; } - if (!anyDtsChange && isDeclarationFileName(file)) { + if (proj.options.composite && !anyDtsChange && isDeclarationFileName(file)) { newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, file)); } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index e0ff73a4aecdc..e883e4fa5a9cd 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -286,8 +286,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1, - "/src/obj/lazyIndex.d.ts": 1 + "/src/bar.ts": 1 } setModifiedTime:: {} @@ -440,8 +439,7 @@ exitCode:: ExitStatus.Success getModifiedTime:: { "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1, - "/src/obj/lazyIndex.d.ts": 1 + "/src/bar.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index e2d8bec62381b..bab205d2a3a13 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -458,11 +458,7 @@ Output:: exitCode:: ExitStatus.Success getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/obj/bar.d.ts": 1, - "/src/obj/index.d.ts": 1, - "/src/obj/lazyIndex.d.ts": 1, - "/src/obj/bundling.d.ts": 1 + "/src/obj/tsconfig.tsbuildinfo": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 4775b8d003a7a..395c6e198ff9b 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -628,7 +628,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/tsconfig.json": 1 } @@ -808,8 +808,7 @@ getModifiedTime:: { "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 38cb87c6c087a..507c301babdc8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1778,7 +1778,7 @@ getModifiedTime:: { "/src/third/third_part1.ts": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1, "/src/third/tsconfig.json": 1 } From 15fe24e744faa476183111eba659573c7a7014f6 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 14 Apr 2022 15:34:46 -0700 Subject: [PATCH 33/64] Pass through buildInfo so we dont have to parse it back --- src/compiler/builderStatePublic.ts | 1 + src/compiler/emitter.ts | 9 ++++---- src/compiler/tsbuildPublic.ts | 36 ++++++++++++++---------------- src/compiler/types.ts | 1 + 4 files changed, 24 insertions(+), 23 deletions(-) diff --git a/src/compiler/builderStatePublic.ts b/src/compiler/builderStatePublic.ts index ce542b0825b80..6a9495d27d491 100644 --- a/src/compiler/builderStatePublic.ts +++ b/src/compiler/builderStatePublic.ts @@ -10,5 +10,6 @@ namespace ts { name: string; writeByteOrderMark: boolean; text: string; + /* @internal */ buildInfo?: BuildInfo } } diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 28f0d766f72ee..084e8cdb107cf 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -366,7 +366,8 @@ namespace ts { return; } const version = ts.version; // Extracted into a const so the form is stable between namespace and module - writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText({ bundle, program, version }), /*writeByteOrderMark*/ false); + const buildInfo: BuildInfo = { bundle, program, version }; + writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText(buildInfo), /*writeByteOrderMark*/ false, /*sourceFiles*/ undefined, { buildInfo }); } function emitJsFileOrBundle( @@ -794,7 +795,7 @@ namespace ts { getResolvedProjectReferenceToRedirect: returnUndefined, getProjectReferenceRedirect: returnUndefined, isSourceOfProjectReferenceRedirect: returnFalse, - writeFile: (name, text, writeByteOrderMark) => { + writeFile: (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => { switch (name) { case jsFilePath: if (jsFileText === text) return; @@ -803,7 +804,7 @@ namespace ts { if (sourceMapText === text) return; break; case buildInfoPath: - const newBuildInfo = getBuildInfo(text); + const newBuildInfo = data!.buildInfo!; newBuildInfo.program = buildInfo.program; // Update sourceFileInfo const { js, dts, sourceFiles } = buildInfo.bundle!; @@ -812,7 +813,7 @@ namespace ts { newBuildInfo.bundle!.dts!.sources = dts.sources; } newBuildInfo.bundle!.sourceFiles = sourceFiles; - outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark }); + outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark, buildInfo: newBuildInfo }); return; case declarationFilePath: if (declarationText === text) return; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index b2444173c8c91..8cc8b6a569e26 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -220,7 +220,7 @@ namespace ts { interface BuildInfoCacheEntry { path: Path; - buildInfo: BuildInfo | false | string; + buildInfo: BuildInfo | false; modifiedTime: Date; } @@ -956,7 +956,7 @@ namespace ts { reportDeclarationDiagnostics, /*write*/ undefined, /*reportSummary*/ undefined, - (name, text, writeByteOrderMark) => outputFiles.push({ name, text, writeByteOrderMark }), + (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => outputFiles.push({ name, text, writeByteOrderMark, buildInfo: data?.buildInfo }), cancellationToken, /*emitOnlyDts*/ false, customTransformers || state.host.getCustomTransformers?.(project) @@ -985,8 +985,8 @@ namespace ts { let newestDeclarationFileContentChangedTime: Date | undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); - const buildInfo = state.buildInfoCache.get(projectPath); - outputFiles.forEach(({ name, text, writeByteOrderMark }) => { + const buildInfoEntry = state.buildInfoCache.get(projectPath); + outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files if (state.readFileWithCache(name) === text) { @@ -1001,9 +1001,9 @@ namespace ts { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfo?.path === path) { - buildInfo.buildInfo = text; - buildInfo.modifiedTime = getCurrentTime(state); + if (buildInfoEntry?.path === path) { + buildInfoEntry.buildInfo = buildInfo!; + buildInfoEntry.modifiedTime = getCurrentTime(state); } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1021,15 +1021,15 @@ namespace ts { function emitBuildInfo(writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult { Debug.assertIsDefined(program); Debug.assert(step === BuildStep.EmitBuildInfo); - const emitResult = program.emitBuildInfo((name, data, writeByteOrderMark, onError, sourceFiles) => { + const emitResult = program.emitBuildInfo((name, text, writeByteOrderMark, onError, sourceFiles, data) => { const path = toPath(state, name); const buildInfo = state.buildInfoCache.get(projectPath); if (buildInfo?.path === path) { - buildInfo.buildInfo = data; + buildInfo.buildInfo = data!.buildInfo!; buildInfo.modifiedTime = getCurrentTime(state); } - if (writeFileCallback) writeFileCallback(name, data, writeByteOrderMark, onError, sourceFiles); - else state.compilerHost.writeFile(name, data, writeByteOrderMark, onError, sourceFiles); + if (writeFileCallback) writeFileCallback(name, text, writeByteOrderMark, onError, sourceFiles, data); + else state.compilerHost.writeFile(name, text, writeByteOrderMark, onError, sourceFiles, data); }, cancellationToken); if (emitResult.diagnostics.length) { reportErrors(state, emitResult.diagnostics); @@ -1127,13 +1127,13 @@ namespace ts { Debug.assert(!!outputFiles.length); const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); - const buildInfo = state.buildInfoCache.get(projectPath); - outputFiles.forEach(({ name, text, writeByteOrderMark }) => { + const buildInfoEntry = state.buildInfoCache.get(projectPath); + outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfo?.path === path) { - buildInfo.buildInfo = text; - buildInfo.modifiedTime = getCurrentTime(state); + if (buildInfoEntry?.path === path) { + buildInfoEntry.buildInfo = buildInfo!; + buildInfoEntry.modifiedTime = getCurrentTime(state); } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1433,9 +1433,7 @@ namespace ts { const path = toPath(state, buildInfoPath); const existing = state.buildInfoCache.get(resolvedConfigPath); if (existing !== undefined && existing.path === path) { - return isString(existing.buildInfo) ? - existing.buildInfo = ts.getBuildInfo(existing.buildInfo) : - existing.buildInfo || undefined; + return existing.buildInfo || undefined; } const value = state.readFileWithCache(buildInfoPath); const buildInfo = value ? ts.getBuildInfo(value) : undefined; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 1a221cc3932d2..c42a89ecf9db1 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -3858,6 +3858,7 @@ namespace ts { export interface WriteFileCallbackData { /*@internal*/ sourceMapUrlPos?: number; + /*@internal*/ buildInfo?: BuildInfo; } export type WriteFileCallback = ( fileName: string, From dc21283cac5690db49ed1699778266ebd182abba Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 12 Apr 2022 11:33:25 -0700 Subject: [PATCH 34/64] Save dts change time in buildinfo itself --- src/compiler/builder.ts | 121 +- src/compiler/builderPublic.ts | 5 + src/compiler/builderState.ts | 8 +- src/compiler/commandLineParser.ts | 9 + src/compiler/tsbuildPublic.ts | 101 +- src/compiler/types.ts | 2 + src/compiler/utilities.ts | 4 + src/compiler/watch.ts | 2 + src/compiler/watchPublic.ts | 2 + src/testRunner/unittests/tsbuild/helpers.ts | 10 + src/testRunner/unittests/tsc/incremental.ts | 26 +- .../modules-and-globals-mixed-in-amd.js | 14 +- .../multiple-emitHelpers-in-all-projects.js | 24 +- .../multiple-prologues-in-all-projects.js | 24 +- .../shebang-in-all-projects.js | 14 +- .../amdModulesWithOut/stripInternal.js | 24 +- .../triple-slash-refs-in-all-projects.js | 14 +- ...e-resolution-finds-original-source-file.js | 4 +- .../reports-syntax-errors-in-config-file.js | 7 +- ...nce-and-both-extend-config-with-include.js | 18 +- ...th-projects-extends-config-with-include.js | 18 +- ...ter-initial-build-doesnt-build-anything.js | 37 +- ...ugh-triple-slash-but-uses-no-references.js | 7 +- ...file-is-referenced-through-triple-slash.js | 29 +- ...d-inferred-type-from-referenced-project.js | 18 +- ...s-not-in-rootDir-at-the-import-location.js | 10 +- ...ng-setup-correctly-and-reports-no-error.js | 29 +- ...-emitDeclarationOnly-and-declarationMap.js | 25 +- ...import-project-with-emitDeclarationOnly.js | 25 +- ...mports-project-with-emitDeclarationOnly.js | 41 +- ...es-is-empty-and-references-are-provided.js | 7 +- ...based-projects-and-emits-them-correctly.js | 21 +- ...ved-json-files-and-emits-them-correctly.js | 21 +- ...project-correctly-with-preserveSymlinks.js | 11 +- ...-file-from-referenced-project-correctly.js | 11 +- ...t-resolution-options-referenced-project.js | 18 +- ...fiers-across-projects-resolve-correctly.js | 18 +- ...zed-module-specifiers-resolve-correctly.js | 29 +- .../non-module-projects-without-prepend.js | 29 +- ...al-flag-changes-between-non-dts-changes.js | 32 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 14 +- ...erated-when-incremental-is-set-to-false.js | 8 +- ...-buildInfo-absence-results-in-new-build.js | 12 +- .../baseline-sectioned-sourcemaps.js | 32 +- .../declarationMap-and-sourceMap-disabled.js | 8 +- .../emitHelpers-in-all-projects.js | 44 +- ...tHelpers-in-only-one-dependency-project.js | 32 +- .../tsbuild/outfile-concat/explainFiles.js | 32 +- .../multiple-emitHelpers-in-all-projects.js | 32 +- ...tiple-emitHelpers-in-different-projects.js | 32 +- .../multiple-prologues-in-all-projects.js | 44 +- ...ultiple-prologues-in-different-projects.js | 32 +- .../outfile-concat/shebang-in-all-projects.js | 32 +- .../shebang-in-only-one-dependency-project.js | 20 +- .../outfile-concat/strict-in-all-projects.js | 44 +- .../strict-in-one-dependency.js | 32 +- ...hen-internal-is-inside-another-internal.js | 8 +- ...en-one-two-three-are-prepended-in-order.js | 36 +- .../stripInternal-jsdoc-style-comment.js | 32 +- ...en-one-two-three-are-prepended-in-order.js | 22 +- ...-jsdoc-style-with-comments-emit-enabled.js | 20 +- ...l-when-few-members-of-enum-are-internal.js | 8 +- ...en-one-two-three-are-prepended-in-order.js | 50 +- ...nal-when-prepend-is-completely-internal.js | 4 +- ...en-one-two-three-are-prepended-in-order.js | 36 +- ...tripInternal-with-comments-emit-enabled.js | 32 +- .../tsbuild/outfile-concat/stripInternal.js | 44 +- .../triple-slash-refs-in-all-projects.js | 32 +- .../triple-slash-refs-in-one-project.js | 20 +- ...roject-is-not-composite-but-incremental.js | 8 +- ...t-composite-but-uses-project-references.js | 20 +- ...final-project-specifies-tsBuildInfoFile.js | 8 +- ...-source-files-are-empty-in-the-own-file.js | 20 +- ...otDir-is-not-specified-and-is-composite.js | 11 +- ...iles-belong-to-rootDir-and-is-composite.js | 7 +- .../builds-correctly.js | 14 +- ...nfo-file-because-no-rootDir-in-the-base.js | 11 +- ...reports-error-for-same-tsbuildinfo-file.js | 11 +- ...eports-no-error-when-tsbuildinfo-differ.js | 18 +- .../build-with-custom-transformers.js | 30 +- .../files-containing-json-file.js | 7 +- ...ting-json-module-from-project-reference.js | 13 +- .../resolveJsonModule/include-and-files.js | 7 +- ...r-include-and-file-name-matches-ts-file.js | 7 +- ...nclude-of-json-along-with-other-include.js | 7 +- .../tsbuild/resolveJsonModule/include-only.js | 7 +- .../tsbuild/resolveJsonModule/sourcemap.js | 11 +- .../resolveJsonModule/without-outDir.js | 11 +- .../always-builds-under-with-force-option.js | 237 ++- .../building-using-buildReferencedProject.js | 18 +- ...uilding-using-getNextInvalidatedProject.js | 21 +- ...rectly-when-declarationDir-is-specified.js | 21 +- ...ilds-correctly-when-outDir-is-specified.js | 21 +- .../sample1/builds-till-project-specified.js | 14 +- .../can-detect-when-and-what-to-rebuild.js | 93 +- ...t-in-not-build-order-doesnt-throw-error.js | 21 +- .../sample1/cleans-till-project-specified.js | 21 +- ...ojects-if-upstream-projects-have-errors.js | 34 +- .../reference/tsbuild/sample1/explainFiles.js | 103 +- ...it-would-skip-builds-during-a-dry-build.js | 27 +- .../sample1/invalidates-projects-correctly.js | 53 +- .../tsbuild/sample1/listEmittedFiles.js | 59 +- .../reference/tsbuild/sample1/listFiles.js | 59 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 56 +- ...uilds-from-start-if-force-option-is-set.js | 251 ++- ...uilds-when-extended-config-file-changes.js | 49 +- .../sample1/removes-all-files-it-built.js | 21 +- ...ror-if-input-file-is-missing-with-force.js | 8 +- .../reference/tsbuild/sample1/sample.js | 140 +- .../when-esModuleInterop-option-changes.js | 49 +- .../when-logic-specifies-tsBuildInfoFile.js | 29 +- ...roject-uses-different-module-resolution.js | 14 +- .../transitiveReferences/builds-correctly.js | 14 +- ...de-resolution-with-external-module-name.js | 14 +- .../reports-syntax-errors-in-config-file.js | 9 +- .../demo/updates-with-bad-reference.js | 20 +- .../demo/updates-with-circular-reference.js | 31 +- ...for-changes-to-package-json-main-fields.js | 32 +- ...t-correctly-with-cts-and-mts-extensions.js | 57 +- ...se-different-module-resolution-settings.js | 39 +- .../creates-solution-in-watch-mode.js | 23 +- .../incremental-updates-in-verbose-mode.js | 85 +- .../when-file-with-no-error-changes.js | 17 +- ...ing-errors-only-changed-file-is-emitted.js | 22 +- .../when-file-with-no-error-changes.js | 6 +- ...ixing-error-files-all-files-are-emitted.js | 13 +- .../when-preserveWatchOutput-is-not-used.js | 45 +- ...veWatchOutput-is-passed-on-command-line.js | 45 +- ...e-of-program-emit-with-outDir-specified.js | 24 +- ...r-recompilation-because-of-program-emit.js | 24 +- ...-references-watches-only-those-projects.js | 16 +- ...tches-config-files-that-are-not-present.js | 27 +- ...e-down-stream-project-and-then-fixes-it.js | 31 +- ...ncing-project-even-for-non-local-change.js | 14 +- ...le-is-added,-and-its-subsequent-updates.js | 61 +- ...hanges-and-reports-found-errors-message.js | 122 +- ...not-start-build-of-referencing-projects.js | 46 +- ...le-is-added,-and-its-subsequent-updates.js | 61 +- ...hanges-and-reports-found-errors-message.js | 122 +- ...not-start-build-of-referencing-projects.js | 46 +- ...project-with-extended-config-is-removed.js | 24 +- .../works-with-extended-source-files.js | 86 +- .../publicApi/with-custom-transformers.js | 57 +- .../reexport/Reports-errors-correctly.js | 53 +- ...in-another-file-through-indirect-import.js | 14 +- ...s-global-through-export-in-another-file.js | 14 +- .../noEmit-changes-composite-discrepancies.js | 1776 +++++++++++++++++ .../incremental/noEmit-changes-composite.js | 70 +- ...-initial-noEmit-composite-discrepancies.js | 160 ++ ...t-changes-with-initial-noEmit-composite.js | 54 +- ...le-is-added,-the-signatures-are-updated.js | 42 +- ...to-the-referenced-project-discrepancies.js | 12 +- ...file-is-added-to-the-referenced-project.js | 28 +- ...file-is-added-to-the-referenced-project.js | 46 +- .../on-sample-project.js | 75 +- ...-different-folders-with-no-files-clause.js | 61 +- ...nsitive-references-in-different-folders.js | 61 +- .../on-transitive-references.js | 61 +- ...roject-uses-different-module-resolution.js | 18 +- ...es-field-when-solution-is-already-built.js | 25 +- ...Symlinks-when-solution-is-already-built.js | 25 +- ...n-has-types-field-with-preserveSymlinks.js | 9 +- ...-package-when-solution-is-already-built.js | 25 +- ...Symlinks-when-solution-is-already-built.js | 25 +- ...th-scoped-package-with-preserveSymlinks.js | 9 +- ...son-has-types-field-with-scoped-package.js | 9 +- .../when-packageJson-has-types-field.js | 9 +- ...ubFolder-when-solution-is-already-built.js | 25 +- ...Symlinks-when-solution-is-already-built.js | 25 +- ...le-from-subFolder-with-preserveSymlinks.js | 9 +- ...-package-when-solution-is-already-built.js | 25 +- ...Symlinks-when-solution-is-already-built.js | 25 +- ...th-scoped-package-with-preserveSymlinks.js | 9 +- ...file-from-subFolder-with-scoped-package.js | 9 +- .../when-referencing-file-from-subFolder.js | 9 +- ...-project-when-solution-is-already-built.js | 25 +- .../with-simple-project.js | 9 +- ...noEmit-with-composite-with-emit-builder.js | 50 +- ...it-with-composite-with-semantic-builder.js | 50 +- ...nError-with-composite-with-emit-builder.js | 25 +- ...or-with-composite-with-semantic-builder.js | 25 +- .../watchApi/semantic-builder-emitOnlyDts.js | 17 +- ...ing-useSourceOfProjectReferenceRedirect.js | 46 +- ...-host-implementing-getParsedCommandLine.js | 20 +- 184 files changed, 5243 insertions(+), 2384 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index ee77c843487d2..3a84d3ccc4b2f 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -74,6 +74,10 @@ namespace ts { * true if semantic diagnostics are ReusableDiagnostic instead of Diagnostic */ hasReusableDiagnostic?: true; + + emitSignatures?: ReadonlyESMap; + dtsChangeTime: number | undefined; + hasChangedEmitSignature?: boolean; } export const enum BuilderFileEmit { @@ -137,6 +141,9 @@ namespace ts { * compilerOptions for the program */ compilerOptions: CompilerOptions; + emitSignatures?: ESMap; + dtsChangeTime: number | undefined; + hasChangedEmitSignature?: boolean; /** * Files pending to be emitted */ @@ -178,16 +185,23 @@ namespace ts { state.program = newProgram; const compilerOptions = newProgram.getCompilerOptions(); state.compilerOptions = compilerOptions; + const isOutFile = !!outFile(compilerOptions); // With --out or --outFile, any change affects all semantic diagnostics so no need to cache them - if (!outFile(compilerOptions)) { + if (!isOutFile) { state.semanticDiagnosticsPerFile = new Map(); } state.changedFilesSet = new Set(); + state.dtsChangeTime = oldState?.dtsChangeTime; const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState); const oldCompilerOptions = useOldState ? oldState!.compilerOptions : undefined; const canCopySemanticDiagnostics = useOldState && oldState!.semanticDiagnosticsPerFile && !!state.semanticDiagnosticsPerFile && !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions!); + const canCopyEmitSignatures = compilerOptions.composite && + oldState?.emitSignatures && + oldCompilerOptions && + !isOutFile && + !compilerOptionsAffectDeclarationPath(compilerOptions, oldCompilerOptions); if (useOldState) { // Verify the sanity of old state if (!oldState!.currentChangedFilePath) { @@ -201,7 +215,7 @@ namespace ts { // Copy old state's changed files set changedFilesSet.forEach(value => state.changedFilesSet.add(value)); - if (!outFile(compilerOptions) && oldState!.affectedFilesPendingEmit) { + if (!isOutFile && oldState!.affectedFilesPendingEmit) { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); state.affectedFilesPendingEmitIndex = oldState!.affectedFilesPendingEmitIndex; @@ -247,6 +261,10 @@ namespace ts { state.semanticDiagnosticsFromOldState.add(sourceFilePath); } } + if (canCopyEmitSignatures) { + const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath); + if (oldEmitSignature) (state.emitSignatures ||= new Map()).set(sourceFilePath, oldEmitSignature); + } }); // If the global file is removed, add all files as changed @@ -254,7 +272,7 @@ namespace ts { BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, /*firstSourceFile*/ undefined) .forEach(file => state.changedFilesSet.add(file.resolvedPath)); } - else if (oldCompilerOptions && !outFile(compilerOptions) && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) { + else if (oldCompilerOptions && !isOutFile && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) { // Add all files to affectedFilesPendingEmit since emit changed newProgram.getSourceFiles().forEach(f => addToAffectedFilesPendingEmit(state, f.resolvedPath, BuilderFileEmit.Full)); Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); @@ -334,6 +352,10 @@ namespace ts { newState.affectedFilesPendingEmitIndex = state.affectedFilesPendingEmitIndex; newState.seenEmittedFiles = state.seenEmittedFiles && new Map(state.seenEmittedFiles); newState.programEmitComplete = state.programEmitComplete; + newState.filesChangingSignature = state.filesChangingSignature && new Set(state.filesChangingSignature); + newState.emitSignatures = state.emitSignatures && new Map(state.emitSignatures); + newState.dtsChangeTime = state.dtsChangeTime; + newState.hasChangedEmitSignature = state.hasChangedEmitSignature; return newState; } @@ -788,6 +810,12 @@ namespace ts { */ signature: string | false | undefined; }; + /** + * Signature if different from file's signature + * [fileId, signature] if different from file's signature + * fileId if file wasnt emitted + */ + export type ProgramBuildInfoEmitSignature = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId, signature: string]; /** * ProgramBuildInfoFileInfo is string if FileInfo.version === FileInfo.signature && !FileInfo.affectsGlobalScope otherwise encoded FileInfo */ @@ -802,12 +830,14 @@ namespace ts { semanticDiagnosticsPerFile?: ProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly ProgramBuildInfoFileId[]; + emitSignatures?: readonly ProgramBuildInfoEmitSignature[]; + dtsChangeTime?: number; } /** * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ - function getProgramBuildInfo(state: Readonly, getCanonicalFileName: GetCanonicalFileName): ProgramBuildInfo | undefined { + function getProgramBuildInfo(state: ReusableBuilderProgramState, getCanonicalFileName: GetCanonicalFileName, host: BuilderProgramHost): ProgramBuildInfo | undefined { if (outFile(state.compilerOptions)) return undefined; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); @@ -815,12 +845,22 @@ namespace ts { const fileNameToFileId = new Map(); let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; + let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { // Ensure fileId const fileId = toFileId(key); Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); const actualSignature = signature ?? value.signature; + if (state.compilerOptions.composite) { + const file = state.program!.getSourceFileByPath(key)!; + if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { + const emitSignature = state.emitSignatures?.get(key); + if (emitSignature !== actualSignature) { + (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); + } + } + } return value.version === actualSignature ? value.affectsGlobalScope || value.impliedFormat ? // If file version is same as signature, dont serialize signature @@ -908,6 +948,8 @@ namespace ts { semanticDiagnosticsPerFile, affectedFilesPendingEmit, changeFileSet, + emitSignatures, + dtsChangeTime: state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime, }; function relativeToBuildInfoEnsuringAbsolutePath(path: string) { @@ -1069,7 +1111,7 @@ namespace ts { const computeHash = maybeBind(host, host.createHash); let state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature); let backupState: BuilderProgramState | undefined; - newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName); + newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName, host); // To ensure that we arent storing any references to old program or new program without state newProgram = undefined!; // TODO: GH#18217 @@ -1163,8 +1205,8 @@ namespace ts { // Otherwise just affected file Debug.checkDefined(state.program).emit( affected === state.program ? undefined : affected as SourceFile, - affected !== state.program && getEmitDeclarations(state.compilerOptions) && !customTransformers ? - getWriteFileUpdatingSignatureCallback(writeFile) : + affected !== state.program && getEmitDeclarations(state.compilerOptions) ? + getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, emitOnlyDtsFiles || emitKind === BuilderFileEmit.DtsOnly, @@ -1176,27 +1218,40 @@ namespace ts { ); } - function getWriteFileUpdatingSignatureCallback(writeFile: WriteFileCallback | undefined): WriteFileCallback { + function getWriteFileCallback(writeFile: WriteFileCallback | undefined, customTransformers: CustomTransformers | undefined): WriteFileCallback { return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { if (isDeclarationFileName(fileName)) { Debug.assert(sourceFiles?.length === 1); - const file = sourceFiles[0]; - const info = state.fileInfos.get(file.resolvedPath)!; - const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; - if (signature === file.version) { - const newSignature = (computeHash || generateDjb2Hash)(data?.sourceMapUrlPos !== undefined ? text.substring(0, data.sourceMapUrlPos) : text); - if (newSignature !== file.version) { // Update it - if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); - if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); - if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { - state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); - } - else { - info.signature = newSignature; - if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + let newSignature; + if (!customTransformers) { + const file = sourceFiles[0]; + const info = state.fileInfos.get(file.resolvedPath)!; + const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; + if (signature === file.version) { + newSignature = computeSignature(text, data); + if (newSignature !== file.version) { // Update it + if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); + if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); + if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { + state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); + } + else { + info.signature = newSignature; + if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + } } } } + + if (state.compilerOptions.composite) { + const filePath = sourceFiles[0].resolvedPath; + const oldSignature = state.emitSignatures?.get(filePath); + newSignature ||= computeSignature(text, data); + if (newSignature !== oldSignature) { + (state.emitSignatures ||= new Map()).set(filePath, newSignature); + state.hasChangedEmitSignature = true; + } + } } if (writeFile) writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); else if (host.writeFile) host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); @@ -1204,6 +1259,10 @@ namespace ts { }; } + function computeSignature(text: string, data: WriteFileCallbackData | undefined) { + return BuilderState.computeSignature(data?.sourceMapUrlPos !== undefined ? text.substring(0, data.sourceMapUrlPos) : text, computeHash); + } + /** * Emits the JavaScript and declaration files. * When targetSource file is specified, emits the files corresponding to that source file, @@ -1260,8 +1319,8 @@ namespace ts { } return Debug.checkDefined(state.program).emit( targetSourceFile, - !outFile(state.compilerOptions) && getEmitDeclarations(state.compilerOptions) && !customTransformers ? - getWriteFileUpdatingSignatureCallback(writeFile) : + !outFile(state.compilerOptions) && getEmitDeclarations(state.compilerOptions) ? + getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, emitOnlyDtsFiles, @@ -1377,7 +1436,17 @@ namespace ts { const filePaths = program.fileNames.map(toPath); const filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); const fileInfos = new Map(); - program.fileInfos.forEach((fileInfo, index) => fileInfos.set(toFilePath(index + 1 as ProgramBuildInfoFileId), toBuilderStateFileInfo(fileInfo))); + const emitSignatures = program.options?.composite ? new Map() : undefined; + program.fileInfos.forEach((fileInfo, index) => { + const path = toFilePath(index + 1 as ProgramBuildInfoFileId); + const stateFileInfo = toBuilderStateFileInfo(fileInfo); + fileInfos.set(path, stateFileInfo); + if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); + }); + program.emitSignatures?.forEach(value => { + if (isNumber(value)) emitSignatures!.delete(toFilePath(value)); + else emitSignatures!.set(toFilePath(value[0]), value[1]); + }); const state: ReusableBuilderProgramState = { fileInfos, compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, @@ -1389,6 +1458,8 @@ namespace ts { affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(value[0]), value => value[1]), affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0, changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), + dtsChangeTime: program.dtsChangeTime, + emitSignatures: emitSignatures?.size ? emitSignatures : undefined, }; return { getState: () => state, diff --git a/src/compiler/builderPublic.ts b/src/compiler/builderPublic.ts index a3527a83f9fa2..23d07864ecf49 100644 --- a/src/compiler/builderPublic.ts +++ b/src/compiler/builderPublic.ts @@ -25,6 +25,11 @@ namespace ts { */ /*@internal*/ storeFilesChangingSignatureDuringEmit?: boolean; + /** + * Gets the current time + */ + /*@internal*/ + now?(): Date; } /** diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index f501eda66a1d1..34730786bdb25 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -29,7 +29,7 @@ namespace ts { readonly exportedModulesMap?: BuilderState.ReadonlyManyToManyPathMap | undefined; } - export interface BuilderState { + export interface BuilderState extends ReusableBuilderState { /** * Information of the file eg. its version, signature etc */ @@ -423,7 +423,7 @@ namespace ts { const firstDts = firstOrUndefined(emitOutput.outputFiles); if (firstDts) { Debug.assert(isDeclarationFileName(firstDts.name), "File extension for signature expected to be dts", () => `Found: ${getAnyExtensionFromPath(firstDts.name)} for ${firstDts.name}:: All output files: ${JSON.stringify(emitOutput.outputFiles.map(f => f.name))}`); - latestSignature = (computeHash || generateDjb2Hash)(firstDts.text); + latestSignature = computeSignature(firstDts.text, computeHash); if (exportedModulesMapCache && latestSignature !== prevSignature) { updateExportedModules(sourceFile, emitOutput.exportedModulesFromDeclarationEmit, exportedModulesMapCache); } @@ -447,6 +447,10 @@ namespace ts { return latestSignature !== prevSignature; } + export function computeSignature(text: string, computeHash: ComputeHash | undefined) { + return (computeHash || generateDjb2Hash)(text); + } + /** * Coverts the declaration emit result into exported modules map */ diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 6ed23d16e6b5a..4ba4182bc044c 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -522,6 +522,7 @@ namespace ts { name: "outFile", type: "string", affectsEmit: true, + affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.FILE, showInSimplifiedHelpView: true, @@ -533,6 +534,7 @@ namespace ts { name: "outDir", type: "string", affectsEmit: true, + affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, showInSimplifiedHelpView: true, @@ -543,6 +545,7 @@ namespace ts { name: "rootDir", type: "string", affectsEmit: true, + affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Modules, @@ -988,6 +991,7 @@ namespace ts { name: "out", type: "string", affectsEmit: true, + affectsDeclarationPath: true, isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files // for correct behaviour, please use outFile category: Diagnostics.Backwards_Compatibility, @@ -1144,6 +1148,7 @@ namespace ts { name: "declarationDir", type: "string", affectsEmit: true, + affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, category: Diagnostics.Emit, @@ -1281,6 +1286,10 @@ namespace ts { export const affectsEmitOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsEmit); + /* @internal */ + export const affectsDeclarationPathOptionDeclarations: readonly CommandLineOption[] = + optionDeclarations.filter(option => !!option.affectsDeclarationPath); + /* @internal */ export const moduleResolutionOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsModuleResolution); diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 8cc8b6a569e26..3dfc4462b2f23 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -72,6 +72,11 @@ namespace ts { return date1 ? date2 > date1 ? date2 : date1 : date2; } + /*@internal*/ + export function getCurrentTime(host: { now?(): Date; }) { + return host.now ? host.now() : new Date(); + } + export type ReportEmitErrorSummary = (errorCount: number, filesInError: (ReportFileInError | undefined)[]) => void; export interface ReportFileInError { @@ -985,12 +990,12 @@ namespace ts { let newestDeclarationFileContentChangedTime: Date | undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); - const buildInfoEntry = state.buildInfoCache.get(projectPath); + const isOutFile = outFile(config.options); outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { // Check for unchanged .d.ts files if (state.readFileWithCache(name) === text) { - if (config.options.composite) { + if (config.options.composite && isOutFile) { newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, name)); } } @@ -1001,10 +1006,7 @@ namespace ts { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfoEntry?.path === path) { - buildInfoEntry.buildInfo = buildInfo!; - buildInfoEntry.modifiedTime = getCurrentTime(state); - } + if (buildInfo) setBuildInfo(state, buildInfo, projectPath, program!.getCompilerOptions()); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1022,12 +1024,7 @@ namespace ts { Debug.assertIsDefined(program); Debug.assert(step === BuildStep.EmitBuildInfo); const emitResult = program.emitBuildInfo((name, text, writeByteOrderMark, onError, sourceFiles, data) => { - const path = toPath(state, name); - const buildInfo = state.buildInfoCache.get(projectPath); - if (buildInfo?.path === path) { - buildInfo.buildInfo = data!.buildInfo!; - buildInfo.modifiedTime = getCurrentTime(state); - } + if (data?.buildInfo) setBuildInfo(state, data.buildInfo, projectPath, program!.getCompilerOptions()); if (writeFileCallback) writeFileCallback(name, text, writeByteOrderMark, onError, sourceFiles, data); else state.compilerHost.writeFile(name, text, writeByteOrderMark, onError, sourceFiles, data); }, cancellationToken); @@ -1076,7 +1073,7 @@ namespace ts { state.diagnostics.delete(projectPath); state.projectStatus.set(projectPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: anyDtsChange ? undefined : newestDeclarationFileContentChangedTime, + newestDeclarationFileContentChangedTime: newestDeclarationFileContentChangedTime || getDtsChangeTime(state, config.options, projectPath), oldestOutputFileName }); afterProgramDone(state, program, config); @@ -1127,14 +1124,10 @@ namespace ts { Debug.assert(!!outputFiles.length); const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); - const buildInfoEntry = state.buildInfoCache.get(projectPath); outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { const path = toPath(state, name); emittedOutputs.set(path, name); - if (buildInfoEntry?.path === path) { - buildInfoEntry.buildInfo = buildInfo!; - buildInfoEntry.modifiedTime = getCurrentTime(state); - } + if (buildInfo) setBuildInfo(state, buildInfo, projectPath, config.options); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1423,6 +1416,18 @@ namespace ts { }; } + function setBuildInfo(state: SolutionBuilderState, buildInfo: BuildInfo, resolvedConfigPath: ResolvedConfigFilePath, options: CompilerOptions) { + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options)!; + const existing = getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath); + if (existing) { + existing.buildInfo = buildInfo; + existing.modifiedTime = getCurrentTime(state.host); + } + else { + state.buildInfoCache.set(resolvedConfigPath, { path: toPath(state, buildInfoPath), buildInfo, modifiedTime: getCurrentTime(state.host) }); + } + } + function getBuildInfoCacheEntry(state: SolutionBuilderState, buildInfoPath: string, resolvedConfigPath: ResolvedConfigFilePath) { const path = toPath(state, buildInfoPath); const existing = state.buildInfoCache.get(resolvedConfigPath); @@ -1470,7 +1475,8 @@ namespace ts { for (const ref of project.projectReferences) { const resolvedRef = resolveProjectReferencePath(ref); const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); - const refStatus = getUpToDateStatus(state, parseConfigFile(state, resolvedRef, resolvedRefPath), resolvedRefPath); + const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath)!; + const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath); // Its a circular reference ignore the status of this project if (refStatus.type === UpToDateStatusType.ComputingUpstream || @@ -1496,7 +1502,7 @@ namespace ts { }; } - if (!force) (referenceStatuses ||= []).push({ ref, refStatus }); + if (!force) (referenceStatuses ||= []).push({ ref, refStatus, resolvedRefPath, resolvedConfig }); } } if (force) return { type: UpToDateStatusType.ForceBuild }; @@ -1507,6 +1513,7 @@ namespace ts { let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; let buildInfoTime: Date | undefined; + let newestDeclarationFileContentChangedTime; if (buildInfoPath) { const buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); buildInfoTime = buildInfoCacheEntry?.modifiedTime || ts.getModifiedTime(host, buildInfoPath); @@ -1540,6 +1547,7 @@ namespace ts { oldestOutputFileTime = buildInfoTime; oldestOutputFileName = buildInfoPath; + newestDeclarationFileContentChangedTime = buildInfo.program?.dtsChangeTime ? new Date(buildInfo.program.dtsChangeTime) : undefined; } // Check input files @@ -1601,11 +1609,15 @@ namespace ts { } } + const seenRefs = buildInfoPath ? new Set() : undefined; + const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath)!; + seenRefs?.add(resolvedPath); + let pseudoUpToDate = false; let usesPrepend = false; let upstreamChangedProject: string | undefined; if (referenceStatuses) { - for (const { ref, refStatus } of referenceStatuses) { + for (const { ref, refStatus, resolvedConfig, resolvedRefPath } of referenceStatuses) { usesPrepend = usesPrepend || !!(ref.prepend); // If the upstream project's newest file is older than our oldest output, we // can't be out of date because of it @@ -1613,6 +1625,15 @@ namespace ts { continue; } + // Check if tsbuildinfo path is shared, then we need to rebuild + if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs!, resolvedConfig, resolvedRefPath)) { + return { + type: UpToDateStatusType.OutOfDateWithUpstream, + outOfDateOutputFileName: buildInfoPath!, + newerProjectName: ref.path + }; + } + // If the upstream project has only change .d.ts files, and we've built // *after* those files, then we're "psuedo up to date" and eligible for a fast rebuild if (refStatus.newestDeclarationFileContentChangedTime && refStatus.newestDeclarationFileContentChangedTime <= oldestOutputFileTime) { @@ -1657,13 +1678,31 @@ namespace ts { // Up to date return { type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: undefined, + newestDeclarationFileContentChangedTime, newestInputFileTime, newestInputFileName, oldestOutputFileName }; } + function hasSameBuildInfo(state: SolutionBuilderState, buildInfoCacheEntry: BuildInfoCacheEntry, seenRefs: Set, resolvedConfig: ParsedCommandLine, resolvedRefPath: ResolvedConfigFilePath) { + if (seenRefs.has(resolvedRefPath)) return false; + seenRefs.add(resolvedRefPath); + const refBuildInfo = state.buildInfoCache.get(resolvedRefPath)!; + if (refBuildInfo.path === buildInfoCacheEntry.path) return true; + + if (resolvedConfig.projectReferences) { + // Check references + for (const ref of resolvedConfig.projectReferences) { + const resolvedRef = resolveProjectReferencePath(ref); + const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef); + const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath)!; + if (hasSameBuildInfo(state, buildInfoCacheEntry, seenRefs, resolvedConfig, resolvedRefPath)) return true; + } + } + return false; + } + function getUpToDateStatus(state: SolutionBuilderState, project: ParsedCommandLine | undefined, resolvedPath: ResolvedConfigFilePath): UpToDateStatus { if (project === undefined) { return { type: UpToDateStatusType.Unbuildable, reason: "File deleted mid-build" }; @@ -1679,16 +1718,13 @@ namespace ts { return actual; } - function getCurrentTime(state: SolutionBuilderState) { - return state.host.now ? state.host.now() : new Date(); - } - function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, anyDtsChange: boolean, verboseMessage: DiagnosticMessage, newestDeclarationFileContentChangedTime?: Date, skipOutputs?: ESMap) { if (proj.options.noEmit) return undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); + const isOutFile = outFile(proj.options); if (!skipOutputs || outputs.length !== skipOutputs.size) { let reportVerbose = !!state.options.verbose; let now: Date | undefined; @@ -1697,7 +1733,7 @@ namespace ts { continue; } - if (proj.options.composite && !anyDtsChange && isDeclarationFileName(file)) { + if (proj.options.composite && isOutFile && !anyDtsChange && isDeclarationFileName(file)) { newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, file)); } @@ -1707,7 +1743,7 @@ namespace ts { reportStatus(state, verboseMessage, proj.options.configFilePath!); } - host.setModifiedTime(file, now ||= getCurrentTime(state)); + host.setModifiedTime(file, now ||= getCurrentTime(state.host)); } } } @@ -1715,6 +1751,13 @@ namespace ts { return newestDeclarationFileContentChangedTime; } + function getDtsChangeTime(state: SolutionBuilderState, options: CompilerOptions, resolvedConfigPath: ResolvedConfigFilePath) { + if (!options.composite || outFile(options)) return undefined; + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options)!; + const buildInfo = getBuildInfo(state, buildInfoPath, resolvedConfigPath, /*modifiedTime*/ undefined); + return buildInfo?.program?.dtsChangeTime ? new Date(buildInfo.program.dtsChangeTime) : undefined; + } + function updateOutputTimestamps(state: SolutionBuilderState, proj: ParsedCommandLine, resolvedPath: ResolvedConfigFilePath) { if (state.options.dry) { return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath!); @@ -1722,7 +1765,7 @@ namespace ts { const priorNewestUpdateTime = updateOutputTimestampsWorker(state, proj, /*anyDtsChange*/ false, Diagnostics.Updating_output_timestamps_of_project_0); state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: priorNewestUpdateTime, + newestDeclarationFileContentChangedTime: priorNewestUpdateTime || getDtsChangeTime(state, proj.options, resolvedPath), oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames()) }); } diff --git a/src/compiler/types.ts b/src/compiler/types.ts index c42a89ecf9db1..e6d2323b66970 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6421,6 +6421,7 @@ namespace ts { affectsSemanticDiagnostics?: true; // true if option affects semantic diagnostics affectsEmit?: true; // true if the options affects emit affectsProgramStructure?: true; // true if program should be reconstructed from root files if option changes and does not affect module resolution as affectsModuleResolution indirectly means program needs to reconstructed + affectsDeclarationPath?: true; // true if the options affects declaration file path computed transpileOptionValue?: boolean | undefined; // If set this means that the option should be set to this value when transpiling extraValidation?: (value: CompilerOptionsValue) => [DiagnosticMessage, ...string[]] | undefined; // Additional validation to be performed for the value to be valid } @@ -6790,6 +6791,7 @@ namespace ts { // For testing: /*@internal*/ disableUseFileVersionAsSignature?: boolean; /*@internal*/ storeFilesChangingSignatureDuringEmit?: boolean; + /*@internal*/ now?(): Date; } /** true if --out otherwise source file name */ diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 1093d9ae38484..8367bae6ea739 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -6465,6 +6465,10 @@ namespace ts { return optionsHaveChanges(oldOptions, newOptions, affectsEmitOptionDeclarations); } + export function compilerOptionsAffectDeclarationPath(newOptions: CompilerOptions, oldOptions: CompilerOptions): boolean { + return optionsHaveChanges(oldOptions, newOptions, affectsDeclarationPathOptionDeclarations); + } + export function getCompilerOptionValue(options: CompilerOptions, option: CommandLineOption): unknown { return option.strictFlag ? getStrictOptionValue(options, option.name as StrictOptionName) : options[option.name]; } diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index 6c422d31f0cd5..afb8683772175 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -574,6 +574,7 @@ namespace ts { readDirectory: maybeBind(host, host.readDirectory), disableUseFileVersionAsSignature: host.disableUseFileVersionAsSignature, storeFilesChangingSignatureDuringEmit: host.storeFilesChangingSignatureDuringEmit, + now: maybeBind(host, host.now), }; function writeFile(fileName: string, text: string, writeByteOrderMark: boolean, onError: (message: string) => void) { @@ -639,6 +640,7 @@ namespace ts { createProgram: createProgram || createEmitAndSemanticDiagnosticsBuilderProgram as any as CreateProgram, disableUseFileVersionAsSignature: system.disableUseFileVersionAsSignature, storeFilesChangingSignatureDuringEmit: system.storeFilesChangingSignatureDuringEmit, + now: maybeBind(system, system.now), }; } diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 1b78df29590f0..e1b6799035a7f 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -30,6 +30,7 @@ namespace ts { host.createHash = maybeBind(system, system.createHash); host.disableUseFileVersionAsSignature = system.disableUseFileVersionAsSignature; host.storeFilesChangingSignatureDuringEmit = system.storeFilesChangingSignatureDuringEmit; + host.now = maybeBind(system, system.now); setGetSourceFileAsHashVersioned(host, system); changeCompilerHostLikeToUseCache(host, fileName => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName)); return host; @@ -125,6 +126,7 @@ namespace ts { // For testing disableUseFileVersionAsSignature?: boolean; storeFilesChangingSignatureDuringEmit?: boolean; + now?(): Date; } export interface WatchCompilerHost extends ProgramHost, WatchHost { diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index be68c74baf702..b2ce523d028d9 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -198,6 +198,7 @@ interface Symbol { type ReadableProgramBuildInfoDiagnostic = string | [string, readonly ReusableDiagnostic[]]; type ReadableProgramBuilderInfoFilePendingEmit = [string, "DtsOnly" | "Full"]; + type ReadableProgramBuildInfoEmitSignature = string | [string, string]; interface ReadableProgramBuildInfo { fileNames: readonly string[]; fileNamesList: readonly (readonly string[])[] | undefined; @@ -208,6 +209,8 @@ interface Symbol { semanticDiagnosticsPerFile?: readonly ReadableProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly string[]; + emitSignatures?: readonly ReadableProgramBuildInfoEmitSignature[]; + dtsChangeTime?: number; } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { @@ -233,6 +236,12 @@ interface Symbol { Debug.assertNever(emitKind) ]), changeFileSet: buildInfo.program.changeFileSet?.map(toFileName), + emitSignatures: buildInfo.program.emitSignatures?.map(s => + isNumber(s) ? + toFileName(s) : + [toFileName(s[0]), s[1]] + ), + dtsChangeTime: buildInfo.program.dtsChangeTime, }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { @@ -485,6 +494,7 @@ interface Symbol { options: sanatizeCompilerOptions(readableBuildInfo.program.options), exportedModulesMap: undefined, affectedFilesPendingEmit: undefined, + dtsChangeTime: readableBuildInfo.program.dtsChangeTime ? "FakeTime" : undefined, }, size: undefined, // Size doesnt need to be equal }, /*replacer*/ undefined, 2), diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index 2c95486363a5d..5f1ee2cccd5d0 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -123,10 +123,20 @@ const a: string = 10;`, "utf-8"), verifyNoEmitChanges({ composite: true }); function verifyNoEmitChanges(compilerOptions: CompilerOptions) { + const descripencyExplaination = () => [ + ...noChangeWithExportsDescripencyRun.descripencyExplaination!(), + "Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files", + "Incremental will store the past dtsChangeTime and emitSignatures", + ]; const noChangeRunWithNoEmit: TestTscEdit = { - ...(getEmitDeclarations(compilerOptions) ? noChangeRun : noChangeWithExportsDescripencyRun), + ...noChangeRun, subScenario: "No Change run with noEmit", commandLineArgs: ["--p", "src/project", "--noEmit"], + descripencyExplaination: compilerOptions.composite ? + descripencyExplaination : + !compilerOptions.declaration ? + noChangeWithExportsDescripencyRun.descripencyExplaination : + undefined, }; const noChangeRunWithEmit: TestTscEdit = { ...(getEmitDeclarations(compilerOptions) ? noChangeRun : noChangeWithExportsDescripencyRun), @@ -152,7 +162,11 @@ const a: string = 10;`, "utf-8"), subScenario: "Introduce error but still noEmit", commandLineArgs: ["--p", "src/project", "--noEmit"], modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"), - descripencyExplaination: getEmitDeclarations(compilerOptions) ? noChangeWithExportsDescripencyRun.descripencyExplaination : undefined, + descripencyExplaination: compilerOptions.composite ? + descripencyExplaination : + compilerOptions.declaration ? + noChangeWithExportsDescripencyRun.descripencyExplaination : + undefined, }, { subScenario: "Fix error and emit", @@ -176,7 +190,9 @@ const a: string = 10;`, "utf-8"), subScenario: "Fix error and no emit", commandLineArgs: ["--p", "src/project", "--noEmit"], modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), - descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination, + descripencyExplaination: compilerOptions.composite ? + descripencyExplaination : + noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, noChangeRunWithNoEmit, @@ -200,7 +216,9 @@ const a: string = 10;`, "utf-8"), { subScenario: "Fix error and no emit", modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"), - descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination + descripencyExplaination: compilerOptions.composite ? + descripencyExplaination : + noChangeWithExportsDescripencyRun.descripencyExplaination, }, noChangeRunWithEmit, ], diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 5eb3e0d63bf31..89c46724459b6 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -77,9 +77,9 @@ Output:: [12:00:08 AM] Building project '/src/lib/tsconfig.json'... -[12:00:16 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:17 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:17 AM] Building project '/src/app/tsconfig.json'... +[12:00:18 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -978,17 +978,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:30 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:31 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:33 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:32 AM] Building project '/src/lib/tsconfig.json'... +[12:00:34 AM] Building project '/src/lib/tsconfig.json'... -[12:00:41 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:42 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 2ce222716a82f..511fe0af37ca0 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -89,9 +89,9 @@ Output:: [12:00:14 AM] Building project '/src/lib/tsconfig.json'... -[12:00:22 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/app/tsconfig.json'... +[12:00:24 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2155,17 +2155,17 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/app --verbose -[12:00:36 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:39 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:38 AM] Building project '/src/lib/tsconfig.json'... +[12:00:40 AM] Building project '/src/lib/tsconfig.json'... -[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:49 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:50 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3795,17 +3795,17 @@ export const x = 10;function forlibfile1Rest() { }console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:59 AM] Projects in this build: +[12:01:01 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:00 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:01 AM] Building project '/src/lib/tsconfig.json'... +[12:01:03 AM] Building project '/src/lib/tsconfig.json'... -[12:01:10 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:12 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:11 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index e970c25a3a3b7..344387f9df214 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -82,9 +82,9 @@ Output:: [12:00:15 AM] Building project '/src/lib/tsconfig.json'... -[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/app/tsconfig.json'... +[12:00:25 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1264,17 +1264,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:37 AM] Projects in this build: +[12:00:39 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:40 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:39 AM] Building project '/src/lib/tsconfig.json'... +[12:00:41 AM] Building project '/src/lib/tsconfig.json'... -[12:00:48 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:50 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:49 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:51 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2176,17 +2176,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:01:00 AM] Projects in this build: +[12:01:02 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:01 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:02 AM] Building project '/src/lib/tsconfig.json'... +[12:01:04 AM] Building project '/src/lib/tsconfig.json'... -[12:01:11 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:13 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:12 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:14 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index de5421f733c8e..19b29655d9202 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -80,9 +80,9 @@ Output:: [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/app/tsconfig.json'... +[12:00:21 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1000,17 +1000,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:33 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:36 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:35 AM] Building project '/src/lib/tsconfig.json'... +[12:00:37 AM] Building project '/src/lib/tsconfig.json'... -[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 98ee8dbecd6d4..920dd3085a356 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -103,9 +103,9 @@ Output:: [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/app/tsconfig.json'... +[12:00:21 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4905,17 +4905,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:33 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:34 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:36 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:35 AM] Building project '/src/lib/tsconfig.json'... +[12:00:37 AM] Building project '/src/lib/tsconfig.json'... -[12:00:44 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:45 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8736,17 +8736,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:56 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:57 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:58 AM] Building project '/src/lib/tsconfig.json'... +[12:01:00 AM] Building project '/src/lib/tsconfig.json'... -[12:01:07 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:09 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:08 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:10 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index f57c943632ee4..2f5e4e13a8bf9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -87,9 +87,9 @@ Output:: [12:00:12 AM] Building project '/src/lib/tsconfig.json'... -[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/app/tsconfig.json'... +[12:00:22 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1213,17 +1213,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:34 AM] Projects in this build: +[12:00:36 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:36 AM] Building project '/src/lib/tsconfig.json'... +[12:00:38 AM] Building project '/src/lib/tsconfig.json'... -[12:00:45 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:46 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 2c2b7d8577d51..537f8997a773a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -77,9 +77,9 @@ Output:: [12:00:10 AM] Building project '/src/lib/tsconfig.json'... -[12:00:18 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/app/tsconfig.json'... +[12:00:20 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 51c93e730ea2f..164dda4d337fb 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -263,7 +263,7 @@ exports.bar = bar; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-827728784-export declare function foo(): void;\r\nexport declare function fooBar(): void;\r\n"},{"version":"1045484683-export function bar() { }","signature":"-1357953631-export declare function bar(): void;\r\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-827728784-export declare function foo(): void;\r\nexport declare function fooBar(): void;\r\n"},{"version":"1045484683-export function bar() { }","signature":"-1357953631-export declare function bar(): void;\r\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -298,9 +298,10 @@ exports.bar = bar; "../lib/lib.d.ts", "./a.ts", "./b.ts" - ] + ], + "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1016 + "size": 1038 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 8dd91a0487314..09e00600e71ae 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -50,9 +50,9 @@ Output:: /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:26 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:28 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts @@ -90,7 +90,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":19000},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -127,10 +127,11 @@ exports.a = 1; "../../../lib/lib.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" - ] + ], + "dtsChangeTime": 19000 }, "version": "FakeTSVersion", - "size": 980 + "size": 1002 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -145,7 +146,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,9 +183,10 @@ exports.b = 1; "../../../lib/lib.d.ts", "../../shared/typings-base/globals.d.ts", "../../webpack/index.ts" - ] + ], + "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 982 + "size": 1004 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index b7c08706b899f..832acfa7b7d35 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -51,9 +51,9 @@ Output:: /lib/lib.d.ts /src/shared/index.ts /src/shared/typings-base/globals.d.ts -[12:00:26 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/target-tsc-build/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:28 AM] Building project '/src/webpack/tsconfig.json'... /lib/lib.d.ts /src/webpack/index.ts @@ -91,7 +91,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"-478734393-export declare const a: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":19000},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -128,10 +128,11 @@ exports.a = 1; "../../../lib/lib.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" - ] + ], + "dtsChangeTime": 19000 }, "version": "FakeTSVersion", - "size": 980 + "size": 1002 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -146,7 +147,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"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},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-5074241048-export declare const b: Unrestricted;\r\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -183,9 +184,10 @@ exports.b = 1; "../../../lib/lib.d.ts", "../../shared/typings-base/globals.d.ts", "../../webpack/index.ts" - ] + ], + "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 982 + "size": 1004 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 01bd53b5e2f16..53da9195cebd6 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -89,13 +89,13 @@ Output:: [12:00:08 AM] Building project '/src/src/folder/tsconfig.json'... -[12:00:14 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/tsconfig.tsbuildinfo' does not exist +[12:00:15 AM] Project 'src/src/folder2/tsconfig.json' is out of date because output file 'src/src/folder2/tsconfig.tsbuildinfo' does not exist -[12:00:15 AM] Building project '/src/src/folder2/tsconfig.json'... +[12:00:16 AM] Building project '/src/src/folder2/tsconfig.json'... -[12:00:21 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/tests/tsconfig.json'... +[12:00:24 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -131,7 +131,7 @@ exports.x = 10; //// [/src/src/folder/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/src/folder/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -159,10 +159,11 @@ exports.x = 10; "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 797 + "size": 818 } //// [/src/src/folder2/index.d.ts] @@ -177,7 +178,7 @@ exports.x = 10; //// [/src/src/folder2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/src/folder2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -205,10 +206,11 @@ exports.x = 10; "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 797 + "size": 819 } //// [/src/tests/index.d.ts] @@ -223,7 +225,7 @@ exports.x = 10; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,10 +253,11 @@ exports.x = 10; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 794 + "size": 816 } @@ -265,18 +268,18 @@ Input:: Output:: /lib/tsc --b /src --verbose -[12:00:28 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/src/folder/tsconfig.json * src/src/folder2/tsconfig.json * src/src/tsconfig.json * src/tests/tsconfig.json * src/tsconfig.json -[12:00:29 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' +[12:00:32 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' -[12:00:30 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' +[12:00:33 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' -[12:00:31 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:34 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index b795e7acb7e98..8de76463a6da2 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -132,7 +132,7 @@ exports.getVar = getVar; //// [/src/solution/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/solution/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -209,9 +209,10 @@ exports.getVar = getVar; "../src/common/types.d.ts", "../src/subproject/index.ts", "../src/subproject2/index.ts" - ] + ], + "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 2003 + "size": 2025 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 630ec058f5fd7..9a7575fa0b6a5 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -69,13 +69,13 @@ Output:: [12:00:23 AM] Building project '/src/solution/src/common/tsconfig.json'... -[12:00:32 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/tsconfig.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/solution/src/subProject/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject/tsconfig.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/solution/src/subProject/tsconfig.json'... +[12:00:34 AM] Building project '/src/solution/src/subProject/tsconfig.json'... -[12:00:40 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/tsconfig.tsbuildinfo' does not exist +[12:00:42 AM] Project 'src/solution/src/subProject2/tsconfig.json' is out of date because output file 'src/solution/lib/src/subProject2/tsconfig.tsbuildinfo' does not exist -[12:00:41 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... +[12:00:43 AM] Building project '/src/solution/src/subProject2/tsconfig.json'... exitCode:: ExitStatus.Success @@ -118,7 +118,7 @@ exports.__esModule = true; //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"4107369137-/// \nexport declare type Nominal = MyNominal;","signature":"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -164,10 +164,11 @@ exports.__esModule = true; "../../../../../lib/lib.d.ts", "../../../src/common/nominal.ts", "../../../src/common/types.d.ts" - ] + ], + "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/src/solution/lib/src/subProject/index.d.ts] @@ -181,7 +182,7 @@ exports.__esModule = true; //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,10 +247,11 @@ exports.__esModule = true; "../common/nominal.d.ts", "../../../src/common/types.d.ts", "../../../src/subproject/index.ts" - ] + ], + "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1420 + "size": 1442 } //// [/src/solution/lib/src/subProject2/index.d.ts] @@ -275,7 +277,7 @@ exports.getVar = getVar; //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,4,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"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},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-18894149496-/// \r\nexport declare type Nominal = MyNominal;\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-5370006151-import { MyNominal } from '../subProject/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,3,4,2,5],"dtsChangeTime":44000},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,9 +357,10 @@ exports.getVar = getVar; "../subproject/index.d.ts", "../../../src/common/types.d.ts", "../../../src/subproject2/index.ts" - ] + ], + "dtsChangeTime": 44000 }, "version": "FakeTSVersion", - "size": 1741 + "size": 1763 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 2f9561487c23b..a61d215d22517 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -50,9 +50,9 @@ Output:: [12:00:18 AM] Building project '/src/packages/pkg1/tsconfig.json'... -[12:00:26 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/packages/pkg2/tsconfig.json' is out of date because output file 'src/packages/pkg2/lib/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/packages/pkg2/tsconfig.json'... +[12:00:28 AM] Building project '/src/packages/pkg2/tsconfig.json'... exitCode:: ExitStatus.Success @@ -99,7 +99,7 @@ exports.__esModule = true; //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":19000},"version":"FakeTSVersion"} //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -128,10 +128,11 @@ exports.__esModule = true; "semanticDiagnosticsPerFile": [ "../../../../lib/lib.d.ts", "../src/index.ts" - ] + ], + "dtsChangeTime": 19000 }, "version": "FakeTSVersion", - "size": 968 + "size": 990 } //// [/src/packages/pkg2/lib/src/index.d.ts] @@ -150,7 +151,7 @@ exports.fn4 = fn4; //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"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},"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-9447422063-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"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},"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-9447422063-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -198,9 +199,10 @@ exports.fn4 = fn4; "../../../../lib/lib.d.ts", "../../pkg1/lib/src/index.d.ts", "../src/index.ts" - ] + ], + "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 1158 + "size": 1180 } diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 19995ffde9ff6..77ed1fd549d72 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -250,7 +250,7 @@ directoryExists:: { //// [/src/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/src/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -374,9 +374,15 @@ directoryExists:: { "../../core/utilities.ts", "Full" ] + ], + "emitSignatures": [ + "../../animals/animal.ts", + "../../animals/dog.ts", + "../../animals/index.ts", + "../../core/utilities.ts" ] }, "version": "FakeTSVersion", - "size": 2287 + "size": 2314 } diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index d2aa225bafce7..685c09ccbeb57 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -155,13 +155,13 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:16 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/tsconfig.tsbuildinfo' does not exist +[12:00:17 AM] Project 'src/animals/tsconfig.json' is out of date because output file 'src/lib/animals/tsconfig.tsbuildinfo' does not exist -[12:00:17 AM] Building project '/src/animals/tsconfig.json'... +[12:00:18 AM] Building project '/src/animals/tsconfig.json'... -[12:00:28 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/tsconfig.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/zoo/tsconfig.json' is out of date because output file 'src/lib/zoo/tsconfig.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/zoo/tsconfig.json'... +[12:00:31 AM] Building project '/src/zoo/tsconfig.json'... exitCode:: ExitStatus.Success @@ -248,7 +248,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () //// [/src/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n"},"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n"},"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4],"dtsChangeTime":19000},"version":"FakeTSVersion"} //// [/src/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -334,14 +334,15 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "../../animals/dog.ts", "../../animals/index.ts", "../core/utilities.d.ts" - ] + ], + "dtsChangeTime": 19000 }, "version": "FakeTSVersion", - "size": 2443 + "size": 2465 } //// [/src/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-8177343116-export declare function makeRandomName(): string;\r\nexport declare function lastElementOf(arr: T[]): T | undefined;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -379,10 +380,11 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts", "../../core/utilities.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1311 + "size": 1332 } //// [/src/lib/core/utilities.d.ts] @@ -407,7 +409,7 @@ exports.lastElementOf = lastElementOf; //// [/src/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n","4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"-17433436879-import { Dog } from '../animals/index';\r\nexport declare function createZoo(): Array;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"13427676350-export declare type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","10854678623-import Animal from '.';\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\nexport declare function createDog(): Dog;\r\n","4477582546-import Animal from './animal';\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"-17433436879-import { Dog } from '../animals/index';\r\nexport declare function createZoo(): Array;\r\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"dtsChangeTime":32000},"version":"FakeTSVersion"} //// [/src/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -494,10 +496,11 @@ exports.lastElementOf = lastElementOf; "../animals/dog.d.ts", "../animals/index.d.ts", "../../zoo/zoo.ts" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSVersion", - "size": 1805 + "size": 1827 } //// [/src/lib/zoo/zoo.d.ts] diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index b3660913da53a..837d4998a3275 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -138,7 +138,7 @@ export { C } from "./c"; {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -240,10 +240,11 @@ export { C } from "./c"; "./src/b.ts", "./src/c.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1790 + "size": 1811 } @@ -262,21 +263,18 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:22 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:24 AM] Building project '/src/tsconfig.json'... +[12:00:25 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1, - "/src/lib/b.d.ts": 1, - "/src/lib/c.d.ts": 1, - "/src/lib/index.d.ts": 1 + "/src/src/a.ts": 1 } setModifiedTime:: {} @@ -312,7 +310,7 @@ export interface A { //// [/src/lib/index.d.ts] file written with same contents //// [/src/lib/index.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,9 +412,10 @@ export interface A { "./src/b.ts", "./src/c.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1817 + "size": 1839 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index a528353254fed..ccb44301afb2a 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -126,7 +126,7 @@ export { C } from "./c"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -227,10 +227,11 @@ export { C } from "./c"; "./src/b.ts", "./src/c.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1768 + "size": 1790 } @@ -249,21 +250,18 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:19 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/tsconfig.json -[12:00:20 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:21 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:21 AM] Building project '/src/tsconfig.json'... +[12:00:22 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1, - "/src/lib/b.d.ts": 1, - "/src/lib/c.d.ts": 1, - "/src/lib/index.d.ts": 1 + "/src/src/a.ts": 1 } setModifiedTime:: {} @@ -293,7 +291,7 @@ export interface A { //// [/src/lib/c.d.ts] file written with same contents //// [/src/lib/index.d.ts] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -394,9 +392,10 @@ export interface A { "./src/b.ts", "./src/c.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1795 + "size": 1817 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 3a5fa9a43820d..b2f4f2cc0c62e 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -124,7 +124,7 @@ export interface C { {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../src/c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -196,10 +196,11 @@ export interface C { "./src/a.ts", "./src/b.ts", "./src/c.ts" - ] + ], + "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1541 + "size": 1563 } @@ -219,21 +220,18 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:22 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:24 AM] Building project '/src/tsconfig.json'... +[12:00:25 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1, - "/src/lib/a.d.ts": 1, - "/src/lib/b.d.ts": 1, - "/src/lib/c.d.ts": 1 + "/src/src/a.ts": 1 } setModifiedTime:: {} @@ -255,7 +253,7 @@ directoryExists:: { {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -327,10 +325,11 @@ directoryExists:: { "./src/a.ts", "./src/b.ts", "./src/c.ts" - ] + ], + "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1553 + "size": 1575 } @@ -350,19 +349,18 @@ export interface A { Output:: /lib/tsc --b /src --verbose -[12:00:31 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/tsconfig.json -[12:00:32 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' -[12:00:33 AM] Building project '/src/tsconfig.json'... +[12:00:34 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1, - "/src/lib/b.d.ts": 1 + "/src/src/a.ts": 1 } setModifiedTime:: {} @@ -397,7 +395,7 @@ export interface A { //// [/src/lib/c.d.ts] file written with same contents //// [/src/lib/c.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -469,9 +467,10 @@ export interface A { "./src/a.ts", "./src/b.ts", "./src/c.ts" - ] + ], + "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1580 + "size": 1602 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 2285647e66b89..d60727d08d37e 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -94,7 +94,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7111849992-export declare function multiply(a: number, b: number): number;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"5112841898-export function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7111849992-export declare function multiply(a: number, b: number): number;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -125,9 +125,10 @@ exports.multiply = multiply; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 943 + "size": 964 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index c5762eb65b93f..f1ba20aab1bb9 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -165,7 +165,7 @@ module.exports = {}; //// [/lib/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/lib/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -197,10 +197,11 @@ module.exports = {}; "semanticDiagnosticsPerFile": [ "../lib.d.ts", "../../src/common/nominal.js" - ] + ], + "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1221 + "size": 1243 } //// [/lib/sub-project/index.d.ts] @@ -217,7 +218,7 @@ exports.__esModule = true; //// [/lib/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","signature":"-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","signature":"-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1,3],"dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/lib/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -264,10 +265,11 @@ exports.__esModule = true; "../common/nominal.d.ts", "../lib.d.ts", "../../src/sub-project/index.js" - ] + ], + "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1405 + "size": 1427 } //// [/lib/sub-project-2/index.d.ts] @@ -299,7 +301,7 @@ exports.getVar = getVar; //// [/lib/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n",{"version":"9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n","signature":"-8647857726-/**\r\n * @return {keyof typeof variable}\r\n */\r\nexport function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\nimport { MyNominal } from \"../sub-project/index\";\r\nexport {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[2,1,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15964609857-export type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-1163946571-export type MyNominal = Nominal;\r\nimport { Nominal } from \"../common/nominal\";\r\n",{"version":"9520601400-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nexport function getVar() {\n return 'key';\n}\n","signature":"-8647857726-/**\r\n * @return {keyof typeof variable}\r\n */\r\nexport function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\nimport { MyNominal } from \"../sub-project/index\";\r\nexport {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[2,1,3,4],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/lib/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,9 +364,10 @@ exports.getVar = getVar; "../lib.d.ts", "../sub-project/index.d.ts", "../../src/sub-project-2/index.js" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1812 + "size": 1834 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index f199b39765325..765a505ae82c4 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -176,7 +176,7 @@ exports.m = common_1["default"]; //// [/out/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-15768184370-export const m: {\r\n val: number;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-15768184370-export const m: {\r\n val: number;\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/out/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -240,10 +240,11 @@ exports.m = common_1["default"]; "../../src/common/index.d.ts", "../../src/common/obj.json", "../../src/sub-project/index.js" - ] + ], + "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1380 + "size": 1402 } //// [/out/sub-project-2/index.d.ts] @@ -269,7 +270,7 @@ exports.getVar = getVar; //// [/out/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15768184370-export const m: {\r\n val: number;\r\n};\r\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"-2686589794-export function getVar(): {\r\n key: {\r\n val: number;\r\n };\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-15768184370-export const m: {\r\n val: number;\r\n};\r\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"-2686589794-export function getVar(): {\r\n key: {\r\n val: number;\r\n };\r\n};\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":32000},"version":"FakeTSVersion"} //// [/out/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -317,10 +318,11 @@ exports.getVar = getVar; "../../lib/lib.d.ts", "../sub-project/index.d.ts", "../../src/sub-project-2/index.js" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSVersion", - "size": 1412 + "size": 1434 } //// [/src/common/index.d.ts] @@ -335,7 +337,7 @@ module.exports = x; //// [/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}",{"version":"-5032674136-import x = require(\"./obj.json\");\nexport = x;\n","signature":"-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}",{"version":"-5032674136-import x = require(\"./obj.json\");\nexport = x;\n","signature":"-4085459678-import x = require(\"./obj.json\");\r\nexport = x;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -387,9 +389,10 @@ module.exports = x; "../../lib/lib.d.ts", "./index.ts", "./obj.json" - ] + ], + "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1230 + "size": 1252 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index d67eb5a0335f1..a096c469cf593 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -58,9 +58,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file type 'TypeScript'. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:00:59 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:00:59 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:00 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -162,7 +162,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -210,10 +210,11 @@ export type { TheNum } from 'const'; "../../../../../../../a/lib/lib.d.ts", "../const.ts", "../index.ts" - ] + ], + "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 927 + "size": 949 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 4c51a4dc9a042..466fd5144ae7e 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -58,9 +58,9 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file type 'TypeScript'. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:00:59 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:00:59 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:00 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -163,7 +163,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -211,10 +211,11 @@ export type { TheNum } from 'const'; "../../../../../../../a/lib/lib.d.ts", "../const.ts", "../index.ts" - ] + ], + "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 927 + "size": 949 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index e6886e8172223..ed30f2cac5912 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -50,9 +50,9 @@ File '/src/packages/typeroot1/sometype/package.json' does not exist. File '/src/packages/typeroot1/sometype/index.d.ts' exist - use it as a name resolution result. Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/src/packages/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot1/sometype/index.d.ts', primary: true. ======== -[12:00:25 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/packages/pkg2.tsconfig.json'... +[12:00:27 AM] Building project '/src/packages/pkg2.tsconfig.json'... ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot2'. ======== Resolving with primary search path '/src/packages/typeroot2'. @@ -85,7 +85,7 @@ directoryExists:: { //// [/src/packages/pkg1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -120,10 +120,11 @@ directoryExists:: { "../../lib/lib.d.ts", "./pkg1_index.ts", "./typeroot1/sometype/index.d.ts" - ] + ], + "dtsChangeTime": 20000 }, "version": "FakeTSVersion", - "size": 987 + "size": 1009 } //// [/src/packages/pkg1_index.d.ts] @@ -139,7 +140,7 @@ exports.theNum = "type1"; //// [/src/packages/pkg2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"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},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-7237564442-/// \r\nexport declare const theNum: TheNum2;\r\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"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},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-7237564442-/// \r\nexport declare const theNum: TheNum2;\r\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":28000},"version":"FakeTSVersion"} //// [/src/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -174,10 +175,11 @@ exports.theNum = "type1"; "../../lib/lib.d.ts", "./pkg2_index.ts", "./typeroot2/sometype/index.d.ts" - ] + ], + "dtsChangeTime": 28000 }, "version": "FakeTSVersion", - "size": 990 + "size": 1012 } //// [/src/packages/pkg2_index.d.ts] diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index ccdd95b6df631..3c925d67117da 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -134,9 +134,9 @@ Output:: [12:00:26 AM] Building project '/src/src-types/tsconfig.json'... -[12:00:34 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/tsconfig.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/src-dogs/tsconfig.json' is out of date because output file 'src/src-dogs/tsconfig.tsbuildinfo' does not exist -[12:00:35 AM] Building project '/src/src-dogs/tsconfig.json'... +[12:00:36 AM] Building project '/src/src-dogs/tsconfig.json'... exitCode:: ExitStatus.Success @@ -242,7 +242,7 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; //// [/src/src-dogs/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","signature":"17588480778-import { DogConfig } from 'src-types';\r\nexport declare const DOG_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","signature":"22128633249-import { DogConfig } from 'src-types';\r\nexport declare abstract class Dog {\r\n static getCapabilities(): DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","signature":"8131483665-import { DogConfig } from 'src-types';\r\nexport declare const LASSIE_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","signature":"-20244062422-import { Dog } from '../dog.js';\r\nexport declare class LassieDog extends Dog {\r\n protected static getDogConfig: () => import(\"../index.js\").DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","signature":"-16783836862-export * from 'src-types';\r\nexport * from './lassie/lassiedog.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[3,4],[3],[3,7],[5,6],[2],[5,8]],"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"exportedModulesMap":[[5,2],[4,2],[8,3],[6,2],[7,6],[3,5]],"semanticDiagnosticsPerFile":[1,5,4,8,6,7,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","../src-types/dogconfig.d.ts","../src-types/index.d.ts","./dogconfig.ts","./dog.ts","./lassie/lassieconfig.ts","./lassie/lassiedog.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99},{"version":"1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n","signature":"17588480778-import { DogConfig } from 'src-types';\r\nexport declare const DOG_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n","signature":"22128633249-import { DogConfig } from 'src-types';\r\nexport declare abstract class Dog {\r\n static getCapabilities(): DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n","signature":"8131483665-import { DogConfig } from 'src-types';\r\nexport declare const LASSIE_CONFIG: DogConfig;\r\n","impliedFormat":99},{"version":"-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n","signature":"-20244062422-import { Dog } from '../dog.js';\r\nexport declare class LassieDog extends Dog {\r\n protected static getDogConfig: () => import(\"../index.js\").DogConfig;\r\n}\r\n","impliedFormat":99},{"version":"-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n","signature":"-16783836862-export * from 'src-types';\r\nexport * from './lassie/lassiedog.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[3,4],[3],[3,7],[5,6],[2],[5,8]],"referencedMap":[[5,1],[4,2],[8,3],[6,2],[7,4],[3,5]],"exportedModulesMap":[[5,2],[4,2],[8,3],[6,2],[7,6],[3,5]],"semanticDiagnosticsPerFile":[1,5,4,8,6,7,2,3],"dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/src-dogs/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -383,10 +383,11 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; "./lassie/lassiedog.ts", "../src-types/dogconfig.d.ts", "../src-types/index.d.ts" - ] + ], + "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 2712 + "size": 2734 } //// [/src/src-types/dogconfig.d.ts] @@ -408,7 +409,7 @@ export * from './dogconfig.js'; //// [/src/src-types/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","./dogconfig.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","signature":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","signature":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es2020.full.d.ts","./dogconfig.ts","./index.ts"],"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,"impliedFormat":1},{"version":"-5575793279-export interface DogConfig {\n name: string;\n}","signature":"-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n","impliedFormat":99},{"version":"-6189272282-export * from './dogconfig.js';","signature":"-5608794531-export * from './dogconfig.js';\r\n","impliedFormat":99}],"options":{"composite":true,"declaration":true,"module":100},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/src-types/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -460,9 +461,10 @@ export * from './dogconfig.js'; "../../lib/lib.es2020.full.d.ts", "./dogconfig.ts", "./index.ts" - ] + ], + "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1038 + "size": 1060 } diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index 5c8b116c7bb39..eeafe0159d337 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -127,13 +127,13 @@ Output:: [12:00:21 AM] Building project '/src/solution/common/tsconfig.json'... -[12:00:30 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/solution/sub-project/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project/tsconfig.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/solution/sub-project/tsconfig.json'... +[12:00:32 AM] Building project '/src/solution/sub-project/tsconfig.json'... -[12:00:38 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/tsconfig.tsbuildinfo' does not exist +[12:00:40 AM] Project 'src/solution/sub-project-2/tsconfig.json' is out of date because output file 'src/lib/solution/sub-project-2/tsconfig.tsbuildinfo' does not exist -[12:00:39 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... +[12:00:41 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... exitCode:: ExitStatus.Success @@ -175,7 +175,7 @@ exports.__esModule = true; //// [/src/lib/solution/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","signature":"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","signature":"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/lib/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -206,10 +206,11 @@ exports.__esModule = true; "semanticDiagnosticsPerFile": [ "../../../../lib/lib.d.ts", "../../../solution/common/nominal.ts" - ] + ], + "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1236 + "size": 1258 } //// [/src/lib/solution/sub-project/index.d.ts] @@ -223,7 +224,7 @@ exports.__esModule = true; //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -273,10 +274,11 @@ exports.__esModule = true; "../../../../lib/lib.d.ts", "../common/nominal.d.ts", "../../../solution/sub-project/index.ts" - ] + ], + "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1434 + "size": 1456 } //// [/src/lib/solution/sub-project-2/index.d.ts] @@ -302,7 +304,7 @@ exports.getVar = getVar; //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"881159974-import { MyNominal } from '../sub-project/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-9513375615-export declare type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","-21416888433-import { Nominal } from '../common/nominal';\r\nexport declare type MyNominal = Nominal;\r\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"881159974-import { MyNominal } from '../sub-project/index';\r\ndeclare const variable: {\r\n key: MyNominal;\r\n};\r\nexport declare function getVar(): keyof typeof variable;\r\nexport {};\r\n"}],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -367,9 +369,10 @@ exports.getVar = getVar; "../common/nominal.d.ts", "../sub-project/index.d.ts", "../../../solution/sub-project-2/index.ts" - ] + ], + "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 1761 + "size": 1783 } diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 4852e9f86e4ec..8cb0ae139b459 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -140,13 +140,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:32 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/tsconfig.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/second/tsconfig.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/second/tsconfig.json'... +[12:00:34 AM] Building project '/src/second/tsconfig.json'... -[12:00:45 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/tsconfig.tsbuildinfo' does not exist +[12:00:47 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/tsconfig.tsbuildinfo' does not exist -[12:00:46 AM] Building project '/src/third/tsconfig.json'... +[12:00:48 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -220,7 +220,7 @@ function f() { {"version":3,"file":"first_part3.js","sourceRoot":"","sources":["first_part3.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"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},{"version":"-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","signature":"-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n","affectsGlobalScope":true},{"version":"4973778178-console.log(f());\r\n","signature":"5381-","affectsGlobalScope":true},{"version":"6202806249-function f() {\r\n return \"JS does hoists\";\r\n}","signature":"-5732730923-declare function f(): string;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"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},{"version":"-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","signature":"-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n","affectsGlobalScope":true},{"version":"4973778178-console.log(f());\r\n","signature":"5381-","affectsGlobalScope":true},{"version":"6202806249-function f() {\r\n return \"JS does hoists\";\r\n}","signature":"-5732730923-declare function f(): string;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -268,10 +268,11 @@ function f() { "./first_part1.ts", "./first_part2.ts", "./first_part3.ts" - ] + ], + "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1464 + "size": 1486 } //// [/src/second/second_part1.d.ts] @@ -321,7 +322,7 @@ var C = (function () { {"version":3,"file":"second_part2.js","sourceRoot":"","sources":["second_part2.ts"],"names":[],"mappings":"AAAA;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/second/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"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},{"version":"-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","signature":"-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n","affectsGlobalScope":true},{"version":"9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","signature":"1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"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},{"version":"-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","signature":"-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n","affectsGlobalScope":true},{"version":"9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","signature":"1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/second/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -363,10 +364,11 @@ var C = (function () { "../../lib/lib.d.ts", "./second_part1.ts", "./second_part2.ts" - ] + ], + "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1341 + "size": 1363 } //// [/src/third/third_part1.d.ts] @@ -385,7 +387,7 @@ c.doSomething(); {"version":3,"file":"third_part1.js","sourceRoot":"","sources":["third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"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},{"version":"-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map","affectsGlobalScope":true},{"version":"-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map","affectsGlobalScope":true},{"version":"6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","signature":"2394638288-declare var c: C;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"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},{"version":"-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map","affectsGlobalScope":true},{"version":"-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map","affectsGlobalScope":true},{"version":"6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","signature":"2394638288-declare var c: C;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/src/third/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -454,9 +456,10 @@ c.doSomething(); "../second/second_part1.d.ts", "../second/second_part2.d.ts", "./third_part1.ts" - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 1811 + "size": 1833 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 395c6e198ff9b..a3066b096426f 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -600,20 +600,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:40 AM] Projects in this build: +[12:00:43 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:41 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:42 AM] Building project '/src/first/tsconfig.json'... +[12:00:45 AM] Building project '/src/first/tsconfig.json'... -[12:00:51 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:52 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:53 AM] Building project '/src/third/tsconfig.json'... +[12:00:56 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -782,20 +782,20 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:00:59 AM] Projects in this build: +[12:01:02 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:01 AM] Building project '/src/first/tsconfig.json'... +[12:01:04 AM] Building project '/src/first/tsconfig.json'... -[12:01:10 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:13 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:12 AM] Building project '/src/third/tsconfig.json'... +[12:01:15 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index eb82f771a1cfc..cbe2c4b6571f1 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -533,22 +533,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:38 AM] Projects in this build: +[12:00:41 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:39 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:42 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:40 AM] Building project '/src/first/tsconfig.json'... +[12:00:43 AM] Building project '/src/first/tsconfig.json'... -[12:00:49 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:52 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:50 AM] Building project '/src/second/tsconfig.json'... +[12:00:53 AM] Building project '/src/second/tsconfig.json'... -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:03 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 52cd83d5b02fd..dc212e151f089 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 71e496875d6d7..c1b7c484c9585 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -530,20 +530,20 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:39 AM] Projects in this build: +[12:00:42 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:40 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist +[12:00:43 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist -[12:00:41 AM] Building project '/src/first/tsconfig.json'... +[12:00:44 AM] Building project '/src/first/tsconfig.json'... -[12:00:49 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:51 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:55 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 6a6b0169a28c4..3fac0310d039b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -140,13 +140,13 @@ Output:: [12:00:08 AM] Building project '/src/first/tsconfig.json'... -[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... -[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1930,20 +1930,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:45 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:47 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:00:58 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3274,20 +3274,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:12 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:14 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 98494ccfde31b..d43987af6fdfc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -138,13 +138,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 6ee8eb0e34d8f..d18fc1d9bd9c2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -146,13 +146,13 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2711,20 +2711,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:04 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4658,20 +4658,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -6182,20 +6182,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:42 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:44 AM] Building project '/src/first/tsconfig.json'... -[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 5795387ba89ba..565f8ab3cab77 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -142,13 +142,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2328,20 +2328,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:47 AM] Projects in this build: +[12:00:50 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:49 AM] Building project '/src/first/tsconfig.json'... +[12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3499,20 +3499,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:11 AM] Projects in this build: +[12:01:14 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:12 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:13 AM] Building project '/src/first/tsconfig.json'... +[12:01:16 AM] Building project '/src/first/tsconfig.json'... -[12:01:22 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:23 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:24 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index c1c1541fdff63..311ceb53b938e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -148,9 +148,9 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:17 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/second/tsconfig.json'... +[12:00:19 AM] Building project '/src/second/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -158,9 +158,9 @@ src/second/second_part1.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' src/second/second_part2.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' -[12:00:27 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/third/tsconfig.json'... +[12:00:30 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -1931,14 +1931,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:00:45 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:47 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -1948,11 +1948,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:00:58 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3271,14 +3271,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:01:12 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:14 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3288,11 +3288,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 12f8979660aa3..634033483b9d2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -158,13 +158,13 @@ Output:: [12:00:17 AM] Building project '/src/first/tsconfig.json'... -[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/second/tsconfig.json'... +[12:00:28 AM] Building project '/src/second/tsconfig.json'... -[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:38 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:37 AM] Building project '/src/third/tsconfig.json'... +[12:00:39 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3927,20 +3927,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:54 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:56 AM] Building project '/src/first/tsconfig.json'... +[12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6156,20 +6156,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:21 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:23 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:34 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index cb391ec7af34c..bd9a29a23937b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -148,13 +148,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2962,20 +2962,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4583,20 +4583,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 32210ad716474..941521f50c876 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -145,13 +145,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/second/tsconfig.json'... +[12:00:27 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2244,20 +2244,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:53 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:55 AM] Building project '/src/first/tsconfig.json'... +[12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:07 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:08 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:06 AM] Building project '/src/third/tsconfig.json'... +[12:01:09 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3788,20 +3788,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:20 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:22 AM] Building project '/src/first/tsconfig.json'... +[12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:33 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4985,20 +4985,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:44 AM] Projects in this build: +[12:01:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:45 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:46 AM] Building project '/src/first/tsconfig.json'... +[12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:55 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:56 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:57 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 3b15de9deb4dc..81b6e866210b7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -142,13 +142,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2116,20 +2116,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3211,20 +3211,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index e8931caa605b8..2e785b9d61ef6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -144,13 +144,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1959,20 +1959,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:02 AM] Building project '/src/third/tsconfig.json'... +[12:01:05 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3322,20 +3322,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:16 AM] Projects in this build: +[12:01:19 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:18 AM] Building project '/src/first/tsconfig.json'... +[12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index ca73762511f4f..7722361929e78 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -141,13 +141,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1922,20 +1922,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:46 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:48 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 733fd6b1b5acf..700fb52e81655 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -140,13 +140,13 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2020,20 +2020,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:04 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3424,20 +3424,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4487,20 +4487,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:42 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:44 AM] Building project '/src/first/tsconfig.json'... -[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 0b24d27130fb6..2f766096fb740 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1950,20 +1950,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:46 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:48 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2942,20 +2942,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:10 AM] Projects in this build: +[12:01:13 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:11 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:12 AM] Building project '/src/first/tsconfig.json'... +[12:01:15 AM] Building project '/src/first/tsconfig.json'... -[12:01:21 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:22 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:23 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index 997943f7ad306..82d71af5a7f30 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -168,13 +168,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 05fc2c759eb1e..e14bf42521f23 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5718,22 +5718,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:50 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:52 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10072,22 +10072,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:22 AM] Projects in this build: +[12:01:25 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:23 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:24 AM] Building project '/src/first/tsconfig.json'... +[12:01:27 AM] Building project '/src/first/tsconfig.json'... -[12:01:33 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:36 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:34 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:37 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:40 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:43 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:41 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:44 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 24016ab89dc43..8a6ed92dfbb54 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -166,13 +166,13 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5427,20 +5427,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:01 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -7781,20 +7781,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:12 AM] Projects in this build: +[12:01:15 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:13 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:14 AM] Building project '/src/first/tsconfig.json'... +[12:01:17 AM] Building project '/src/first/tsconfig.json'... -[12:01:23 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:24 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:25 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index a532d224800ca..362a657324a86 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/second/tsconfig.json'... +[12:00:27 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -6060,22 +6060,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:53 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:55 AM] Building project '/src/first/tsconfig.json'... +[12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:07 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:15 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:16 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 2cb2ab2012c4f..97f943be60a7b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -166,13 +166,13 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/second/tsconfig.json'... +[12:00:25 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5763,20 +5763,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index c3bb8c7ec73b7..24bf59a15f184 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -163,13 +163,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 975941a3d4375..968311a5bae3f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5739,22 +5739,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:50 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:52 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:02 AM] Building project '/src/second/tsconfig.json'... +[12:01:05 AM] Building project '/src/second/tsconfig.json'... -[12:01:11 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' +[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' -[12:01:12 AM] Building project '/src/third/tsconfig.json'... +[12:01:15 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -11325,22 +11325,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:28 AM] Projects in this build: +[12:01:31 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:32 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:30 AM] Building project '/src/first/tsconfig.json'... +[12:01:33 AM] Building project '/src/first/tsconfig.json'... -[12:01:39 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:42 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:40 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:43 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:47 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:48 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -15701,22 +15701,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:02:00 AM] Projects in this build: +[12:02:03 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:02:01 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:02:04 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:02:02 AM] Building project '/src/first/tsconfig.json'... +[12:02:05 AM] Building project '/src/first/tsconfig.json'... -[12:02:11 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:14 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:02:12 AM] Updating output of project '/src/second/tsconfig.json'... +[12:02:15 AM] Updating output of project '/src/second/tsconfig.json'... -[12:02:18 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:02:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:02:19 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:22 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 312e290474c0f..73928e7c20ff6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -87,9 +87,9 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/third/tsconfig.json'... +[12:00:23 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 0e1ceb3a172c7..0755bb4f9703b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:26 AM] Building project '/src/second/tsconfig.json'... +[12:00:27 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5918,22 +5918,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:53 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:55 AM] Building project '/src/first/tsconfig.json'... +[12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:07 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:15 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:16 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -10472,22 +10472,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:25 AM] Projects in this build: +[12:01:28 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:27 AM] Building project '/src/first/tsconfig.json'... +[12:01:30 AM] Building project '/src/first/tsconfig.json'... -[12:01:36 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:39 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:37 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:40 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:43 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:44 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 72e34cb95efa6..0d9b78f743a2a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -166,13 +166,13 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/second/tsconfig.json'... +[12:00:25 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -5627,20 +5627,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8081,20 +8081,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 9495a4e334878..1f0628192e927 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -166,13 +166,13 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5448,20 +5448,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:04 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -8188,20 +8188,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -10564,20 +10564,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:39 AM] Projects in this build: +[12:01:42 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:40 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:41 AM] Building project '/src/first/tsconfig.json'... +[12:01:44 AM] Building project '/src/first/tsconfig.json'... -[12:01:50 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:51 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:52 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 22cdfaf2abea0..4974b3c1cc5bc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -155,13 +155,13 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/second/tsconfig.json'... +[12:00:25 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2280,20 +2280,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:04 AM] Building project '/src/third/tsconfig.json'... +[12:01:07 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3895,20 +3895,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:21 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:23 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:34 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index fb8b0762975ac..56a8345c7960b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -145,13 +145,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2045,20 +2045,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:47 AM] Projects in this build: +[12:00:50 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:49 AM] Building project '/src/first/tsconfig.json'... +[12:00:52 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 174a5f5e92754..40cf543f35297 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 507c301babdc8..3ac0bb6967f69 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1750,20 +1750,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:43 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:45 AM] Building project '/src/first/tsconfig.json'... +[12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:56 AM] Building project '/src/third/tsconfig.json'... +[12:00:58 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index ae715da070d53..72a767d47daf5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -141,13 +141,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index b147d6640a4cd..190440a79eff2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -138,13 +138,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:28 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/third/tsconfig.json'... +[12:00:31 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1807,20 +1807,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:46 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:48 AM] Building project '/src/first/tsconfig.json'... +[12:00:51 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 0c2c8de15abbc..b01b948cf7724 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -59,7 +59,7 @@ exports.x = 10; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -88,10 +88,11 @@ exports.x = 10; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/index.ts" - ] + ], + "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 813 + "size": 835 } @@ -102,10 +103,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:19 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/tsconfig.json -[12:00:20 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' +[12:00:21 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 3617655734845..e6e2d801b9544 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -179,7 +179,7 @@ exports.x = 10; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"-4885977236-export type t = string;","signature":"-4409762125-export declare type t = string;\r\n"}],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"-4885977236-export type t = string;","signature":"-4409762125-export declare type t = string;\r\n"}],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -210,10 +210,11 @@ exports.x = 10; "rootDir": "./src" }, "referencedMap": {}, - "exportedModulesMap": {} + "exportedModulesMap": {}, + "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 926 + "size": 948 } //// [/src/types/type.d.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index ffde588c65f93..3fb03fd6b6340 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -104,7 +104,7 @@ exports.b = 0; //// [/src/dist/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/dist/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -151,10 +151,11 @@ exports.b = 0; "../../../lib/lib.d.ts", "../../src/main/a.ts", "../../src/main/b.ts" - ] + ], + "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 1048 + "size": 1070 } //// [/src/dist/other/other.d.ts] @@ -169,7 +170,7 @@ exports.Other = 0; //// [/src/dist/other/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/dist/other/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -201,9 +202,10 @@ exports.Other = 0; "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts", "../../src/other/other.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 902 + "size": 923 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 00ec17a39347d..3a10af7509b12 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -65,9 +65,9 @@ Output:: [12:00:09 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:16 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:17 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' -[12:00:17 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:18 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:4:5 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' @@ -114,7 +114,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,9 +145,10 @@ exports.Other = 0; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/other/other.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 874 + "size": 896 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index 3b705c836bb33..c5782e193a95d 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -58,9 +58,9 @@ Output:: [12:00:10 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:17 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:18 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' -[12:00:18 AM] Building project '/src/src/main/tsconfig.json'... +[12:00:19 AM] Building project '/src/src/main/tsconfig.json'... src/src/main/tsconfig.json:1:76 - error TS6377: Cannot write file '/src/dist/tsconfig.tsbuildinfo' because it will overwrite '.tsbuildinfo' file generated by referenced project '/src/src/other' @@ -106,7 +106,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -135,9 +135,10 @@ exports.Other = 0; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/other/other.ts" - ] + ], + "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 828 + "size": 850 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 809aaa3bf2e98..72d65a9d28f9c 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -58,9 +58,9 @@ Output:: [12:00:12 AM] Building project '/src/src/other/tsconfig.other.json'... -[12:00:19 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/tsconfig.main.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/src/main/tsconfig.main.json' is out of date because output file 'src/dist/tsconfig.main.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/src/main/tsconfig.main.json'... +[12:00:21 AM] Building project '/src/src/main/tsconfig.main.json'... exitCode:: ExitStatus.Success @@ -119,7 +119,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.main.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"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},{"version":"-11678562673-export const b = 0;\r\n","signature":"-3829176033-export declare const b = 0;\r\n"},{"version":"-17071184049-import { b } from './b';\r\nconst a = b;","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.main.tsbuildinfo.readable.baseline.txt] { @@ -163,14 +163,15 @@ exports.Other = 0; "../../lib/lib.d.ts", "../src/main/a.ts", "../src/main/b.ts" - ] + ], + "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 971 + "size": 993 } //// [/src/dist/tsconfig.other.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"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},{"version":"-2951227185-export const Other = 0;\r\n","signature":"-7996259489-export declare const Other = 0;\r\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.other.tsbuildinfo.readable.baseline.txt] { @@ -199,9 +200,10 @@ exports.Other = 0; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "../src/other/other.ts" - ] + ], + "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 828 + "size": 850 } diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index ead865a95cada..425dd6be8ecf3 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -50,9 +50,9 @@ Output:: [12:00:15 AM] Building project '/src/shared/tsconfig.json'... -[12:00:21 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/tsconfig.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/webpack/tsconfig.json' is out of date because output file 'src/webpack/tsconfig.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/webpack/tsconfig.json'... +[12:00:23 AM] Building project '/src/webpack/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/shared/index.ts"] @@ -120,7 +120,7 @@ exports.f2 = f2; //// [/src/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"emitSignatures":[[2,"-15963581979-export declare function f1(): void;\r\nexport declare class c {\r\n}\r\nexport declare enum e {\r\n}\r\nexport declare function f2(): void;\r\n"]],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +148,17 @@ exports.f2 = f2; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "emitSignatures": [ + [ + "./index.ts", + "-15963581979-export declare function f1(): void;\r\nexport declare class c {\r\n}\r\nexport declare enum e {\r\n}\r\nexport declare function f2(): void;\r\n" + ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 814 + "size": 1018 } //// [/src/webpack/index.d.ts] @@ -188,7 +195,7 @@ exports.f22 = f22; //// [/src/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"emitSignatures":[[2,"-4025519876-export declare function f2(): void;\r\nexport declare class c2 {\r\n}\r\nexport declare enum e2 {\r\n}\r\nexport declare function f22(): void;\r\n"]],"dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -216,9 +223,16 @@ exports.f22 = f22; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "emitSignatures": [ + [ + "./index.ts", + "-4025519876-export declare function f2(): void;\r\nexport declare class c2 {\r\n}\r\nexport declare enum e2 {\r\n}\r\nexport declare function f22(): void;\r\n" + ] + ], + "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 818 + "size": 1024 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 8cf9631be67d1..e6091611ae2c6 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -160,7 +160,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -208,9 +208,10 @@ exports["default"] = hello_json_1["default"].hello; "../../lib/lib.d.ts", "../src/hello.json", "../src/index.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1074 + "size": 1095 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 3646f3db61818..66f0e354f1156 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -135,7 +135,7 @@ console.log(foo_json_1.foo); //// [/src/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"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},"4395333385-{\n \"foo\": \"bar baz\"\n}",{"version":"-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"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},"4395333385-{\n \"foo\": \"bar baz\"\n}",{"version":"-4651661680-import { foo } from '../strings/foo.json';\n\nconsole.log(foo);","signature":"-4882119183-export {};\r\n"}],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -183,10 +183,11 @@ console.log(foo_json_1.foo); "../../lib/lib.d.ts", "./index.ts", "../strings/foo.json" - ] + ], + "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 985 + "size": 1007 } //// [/src/strings/tsconfig.tsbuildinfo] @@ -237,14 +238,14 @@ Input:: Output:: /lib/tsc --b src/tsconfig.json --verbose --explainFiles -[12:00:19 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/strings/tsconfig.json * src/main/tsconfig.json * src/tsconfig.json -[12:00:20 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' +[12:00:21 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' -[12:00:21 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' +[12:00:22 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 5e97a265619ab..d547951ba9b32 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -160,7 +160,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo.readable.baseline.txt] { @@ -208,9 +208,10 @@ exports["default"] = hello_json_1["default"].hello; "../../lib/lib.d.ts", "../src/hello.json", "../src/index.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1074 + "size": 1095 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 7979185ec067e..e08f15c82694d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -156,7 +156,7 @@ exports["default"] = index_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"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},"-2379406821-{\"hello\":\"world\"}",{"version":"-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"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},"-2379406821-{\"hello\":\"world\"}",{"version":"-6335882310-import hello from \"./index.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo.readable.baseline.txt] { @@ -204,9 +204,10 @@ exports["default"] = index_json_1["default"].hello; "../../lib/lib.d.ts", "../src/index.json", "../src/index.ts" - ] + ], + "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1067 + "size": 1089 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index ab7cc0a745c14..874f43fcc04a9 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -160,7 +160,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo.readable.baseline.txt] { @@ -208,9 +208,10 @@ exports["default"] = hello_json_1["default"].hello; "../../lib/lib.d.ts", "../src/hello.json", "../src/index.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1074 + "size": 1095 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 041c19a19df59..ea91aa3b65661 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -146,7 +146,7 @@ directoryExists:: { //// [/src/dist/tsconfig_withInclude.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withInclude.tsbuildinfo.readable.baseline.txt] { @@ -208,9 +208,12 @@ directoryExists:: { "../src/index.ts", "Full" ] + ], + "emitSignatures": [ + "../src/index.ts" ] }, "version": "FakeTSVersion", - "size": 1018 + "size": 1039 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index d039841573077..3ffc084d3c78c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -163,7 +163,7 @@ exports["default"] = hello_json_1["default"].hello; {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAgC;AAEhC,qBAAe,uBAAK,CAAC,KAAK,CAAA"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/dist/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -212,10 +212,11 @@ exports["default"] = hello_json_1["default"].hello; "../../lib/lib.d.ts", "../src/hello.json", "../src/index.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1091 + "size": 1113 } @@ -226,10 +227,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose --explainFiles -[12:00:19 AM] Projects in this build: +[12:00:20 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:20 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' +[12:00:21 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 0010265347c34..b12dfd4ea5ef2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -147,7 +147,7 @@ exports["default"] = hello_json_1["default"].hello; //// [/src/tsconfig_withFiles.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello","signature":"-1680156224-declare const _default: string;\r\nexport default _default;\r\n"}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/tsconfig_withFiles.tsbuildinfo.readable.baseline.txt] { @@ -194,10 +194,11 @@ exports["default"] = hello_json_1["default"].hello; "../lib/lib.d.ts", "./src/hello.json", "./src/index.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1055 + "size": 1077 } @@ -208,10 +209,10 @@ Input:: Output:: /lib/tsc --b src/tsconfig_withFiles.json --verbose -[12:00:15 AM] Projects in this build: +[12:00:16 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:16 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' +[12:00:17 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 7b9becdacad56..d85e618eef7fc 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -169,7 +169,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -213,10 +213,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -242,7 +243,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -303,10 +304,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -327,7 +329,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -401,10 +403,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } @@ -417,12 +420,7 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/anotherModule.d.ts": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.d.ts": 1, - "/src/tests/index.d.ts": 1 -} +getModifiedTime:: {} setModifiedTime:: {} @@ -449,14 +447,211 @@ directoryExists:: { //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.js] file written with same contents -//// [/src/core/tsconfig.tsbuildinfo] file written with same contents -//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":29000},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "dtsChangeTime": 29000 + }, + "version": "FakeTSVersion", + "size": 1453 +} + //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents -//// [/src/logic/tsconfig.tsbuildinfo] file written with same contents -//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":39000},"version":"FakeTSVersion"} + +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 39000 + }, + "version": "FakeTSVersion", + "size": 1577 +} + //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents -//// [/src/tests/tsconfig.tsbuildinfo] file written with same contents -//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":46000},"version":"FakeTSVersion"} + +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 46000 + }, + "version": "FakeTSVersion", + "size": 1724 +} + diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 07776984c6fda..ac3e22f145e88 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -119,9 +119,9 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... exitCode:: ExitStatus.Success @@ -161,7 +161,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -205,10 +205,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -234,7 +235,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,9 +296,10 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index fd59c318a6756..c6929e7655c74 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -135,7 +135,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -179,10 +179,11 @@ export declare function multiply(a: number, b: number): number; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1352 + "size": 1374 } @@ -230,7 +231,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -291,10 +292,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 1469 + "size": 1491 } @@ -340,7 +342,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,10 +416,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 1614 + "size": 1636 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index f482a5febc99f..860874c5c9259 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -161,7 +161,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":7000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -205,10 +205,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 7000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.js] @@ -234,7 +235,7 @@ export declare const m: typeof mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,10 +296,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1559 + "size": 1581 } //// [/src/tests/index.d.ts] @@ -319,7 +321,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -393,9 +395,10 @@ exports.m = mod; "../core/index.d.ts", "../logic/out/decls/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1712 + "size": 1734 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index bff0850892f3b..c5fb5422ddff1 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -161,7 +161,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":7000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -205,10 +205,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 7000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/outDir/index.d.ts] @@ -234,7 +235,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,10 +296,11 @@ exports.m = mod; "../../core/anothermodule.d.ts", "../../core/index.d.ts", "../index.ts" - ] + ], + "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1552 + "size": 1574 } //// [/src/tests/index.d.ts] @@ -319,7 +321,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -393,9 +395,10 @@ exports.m = mod; "../core/index.d.ts", "../logic/outdir/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 1709 + "size": 1731 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index 4d661ecebcebf..53179207d20ad 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -149,7 +149,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -193,10 +193,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -222,7 +223,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -283,9 +284,10 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 8fe0f14f833aa..002694d2d2426 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] @@ -384,16 +387,16 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose -[12:00:26 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:30 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:28 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:31 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:29 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:32 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -429,18 +432,18 @@ const m = 10; Output:: /lib/tsc --b /src/tests --verbose -[12:00:31 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:35 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:33 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:36 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:34 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' +[12:00:37 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' -[12:00:35 AM] Building project '/src/tests/tsconfig.json'... +[12:00:38 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -477,7 +480,7 @@ var m = 10; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"3708260210-const m = 10;","signature":"1073907769-declare const m = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"3708260210-const m = 10;","signature":"1073907769-declare const m = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -508,10 +511,11 @@ var m = 10; "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 849 + "size": 871 } @@ -528,22 +532,22 @@ export function multiply(a: number, b: number) { return a * b; } Output:: /lib/tsc --b /src/tests --verbose -[12:00:42 AM] Projects in this build: +[12:00:46 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:43 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:47 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:44 AM] Building project '/src/core/tsconfig.json'... +[12:00:48 AM] Building project '/src/core/tsconfig.json'... -[12:00:51 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:55 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:52 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:56 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:55 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:59 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:56 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -551,16 +555,12 @@ getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: { @@ -593,7 +593,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-2157245566-export const someString: string = \"WELCOME PLANET\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-2157245566-export const someString: string = \"WELCOME PLANET\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -637,10 +637,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1433 + "size": 1454 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -668,18 +669,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:00 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:01 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:05 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:02 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:06 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:03 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:01:07 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' -[12:01:04 AM] Building project '/src/tests/tsconfig.json'... +[12:01:08 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -694,8 +695,7 @@ getModifiedTime:: { "/src/logic/tsconfig.json": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: {} @@ -712,7 +712,7 @@ directoryExists:: { //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"3708260210-const m = 10;","signature":"1073907769-declare const m = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"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},{"version":"3708260210-const m = 10;","signature":"1073907769-declare const m = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -744,9 +744,10 @@ directoryExists:: { "semanticDiagnosticsPerFile": [ "../../lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 860 + "size": 882 } diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index fbce043a86c26..7be6897cb10d0 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index 7499c9141cd13..078171cd72b93 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index c56de7ab29f59..8bd9817c8dd2c 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -120,18 +120,18 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/logic/tsconfig.json'... +[12:00:21 AM] Building project '/src/logic/tsconfig.json'... src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. 3 return c.muitply();    ~~~~~~~ -[12:00:24 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +[12:00:25 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors -[12:00:25 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +[12:00:26 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors Found 1 error. @@ -194,7 +194,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -238,14 +238,15 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1453 } //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6409874073-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.muitply();\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":87,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/src/core/index\")'."}]]],"affectedFilesPendingEmit":[[3,1],[2,1],[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6409874073-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.muitply();\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":87,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/src/core/index\")'."}]]],"affectedFilesPendingEmit":[[3,1],[2,1],[4,1]],"emitSignatures":[4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -330,10 +331,13 @@ exports.multiply = multiply; "./index.ts", "Full" ] + ], + "emitSignatures": [ + "./index.ts" ] }, "version": "FakeTSVersion", - "size": 1579 + "size": 1600 } @@ -344,25 +348,25 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:26 AM] Projects in this build: +[12:00:27 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:28 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:29 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted -[12:00:29 AM] Building project '/src/logic/tsconfig.json'... +[12:00:30 AM] Building project '/src/logic/tsconfig.json'... src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. 3 return c.muitply();    ~~~~~~~ -[12:00:30 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +[12:00:31 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors -[12:00:31 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +[12:00:32 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors Found 1 error. diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 51bf427a4f270..13d9ed1033da0 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -128,9 +128,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -142,9 +142,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/tests/tsconfig.json'... +[12:00:29 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -222,7 +222,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -266,10 +266,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -295,7 +296,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -356,10 +357,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -380,7 +382,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -454,10 +456,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } @@ -475,14 +478,14 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:00:34 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:38 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:36 AM] Building project '/src/core/tsconfig.json'... +[12:00:39 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -492,9 +495,9 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:43 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:44 AM] Building project '/src/logic/tsconfig.json'... +[12:00:48 AM] Building project '/src/logic/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -506,9 +509,9 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:55 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:52 AM] Building project '/src/tests/tsconfig.json'... +[12:00:56 AM] Building project '/src/tests/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -532,10 +535,8 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -586,7 +587,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -630,17 +631,18 @@ exports.someClass = someClass; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1502 + "size": 1524 } //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -701,16 +703,17 @@ exports.someClass = someClass; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1595 + "size": 1617 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -784,10 +787,11 @@ exports.someClass = someClass; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1742 + "size": 1764 } @@ -806,14 +810,14 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:00:59 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:00 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:01:01 AM] Building project '/src/core/tsconfig.json'... +[12:01:05 AM] Building project '/src/core/tsconfig.json'... lib/lib.d.ts Default library for target 'es3' @@ -823,13 +827,13 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:01:08 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:12 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:09 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:13 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:12 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:16 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:13 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:17 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -837,16 +841,12 @@ getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: { @@ -888,7 +888,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -932,10 +932,11 @@ var someClass2 = /** @class */ (function () { "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1524 + "size": 1546 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -948,16 +949,16 @@ Input:: Output:: /lib/tsc --b /src/tests --explainFiles --v -[12:01:16 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:17 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:18 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:19 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index edf0e15cf63cc..028ef674eee5b 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] @@ -384,11 +387,11 @@ export function run() { Output:: /lib/tsc --b /src/tests --dry -[12:00:26 AM] Project '/src/core/tsconfig.json' is up to date +[12:00:29 AM] Project '/src/core/tsconfig.json' is up to date -[12:00:27 AM] Project '/src/logic/tsconfig.json' is up to date +[12:00:30 AM] Project '/src/logic/tsconfig.json' is up to date -[12:00:28 AM] Project '/src/tests/tsconfig.json' is up to date +[12:00:31 AM] Project '/src/tests/tsconfig.json' is up to date exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index 7e4ce6135ce90..dc8461e47aac5 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -123,7 +123,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,10 +167,11 @@ export declare function multiply(a: number, b: number): number; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1352 + "size": 1374 } //// [/user/username/projects/logic/index.js.map] @@ -196,7 +197,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,10 +258,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 1469 + "size": 1491 } //// [/user/username/projects/tests/index.js] @@ -281,7 +283,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 1614 + "size": 1636 } @@ -423,7 +426,7 @@ function foo() { } //// [/user/username/projects/logic/index.d.ts] file written with same contents //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -484,10 +487,11 @@ function foo() { } "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 1486 + "size": 1508 } @@ -507,8 +511,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/logic/index.d.ts": 1 + "/user/username/projects/logic/index.ts": 1 } setModifiedTimes:: {} @@ -522,9 +525,7 @@ fileExists:: {} directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 @@ -574,7 +575,7 @@ export declare class cNew { //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":98000},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,10 +636,11 @@ export declare class cNew { "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 98000 }, "version": "FakeTSVersion", - "size": 1539 + "size": 1561 } @@ -669,7 +671,7 @@ Output:: //// [/user/username/projects/tests/index.js] file written with same contents //// [/user/username/projects/tests/index.d.ts] file written with same contents //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -743,10 +745,11 @@ Output:: "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 1647 + "size": 1669 } @@ -765,8 +768,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 8db6cdcc94dec..d5583c5fcde87 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -187,7 +187,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +231,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -260,7 +261,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,10 +322,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -345,7 +347,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -419,10 +421,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } @@ -459,10 +462,8 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -513,7 +514,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -557,17 +558,18 @@ exports.someClass = someClass; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1502 + "size": 1524 } //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -628,16 +630,17 @@ exports.someClass = someClass; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1595 + "size": 1617 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -711,10 +714,11 @@ exports.someClass = someClass; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1742 + "size": 1764 } @@ -743,16 +747,12 @@ getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: { @@ -794,7 +794,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -838,10 +838,11 @@ var someClass2 = /** @class */ (function () { "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1524 + "size": 1546 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 1af9fa26e7a5d..c5c2e8e227137 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -186,7 +186,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -230,10 +230,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -259,7 +260,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -320,10 +321,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -344,7 +346,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,10 +420,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } @@ -460,10 +463,8 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -514,7 +515,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -558,17 +559,18 @@ exports.someClass = someClass; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1502 + "size": 1524 } //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -629,16 +631,17 @@ exports.someClass = someClass; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1595 + "size": 1617 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -712,10 +715,11 @@ exports.someClass = someClass; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1742 + "size": 1764 } @@ -744,16 +748,12 @@ getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: { @@ -795,7 +795,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -839,10 +839,11 @@ var someClass2 = /** @class */ (function () { "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1524 + "size": 1546 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 7fabdc4d18901..9cd5396321d10 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] @@ -384,22 +387,22 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose -[12:00:26 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:27 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:30 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:28 AM] Building project '/src/core/tsconfig.json'... +[12:00:31 AM] Building project '/src/core/tsconfig.json'... -[12:00:38 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:42 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:39 AM] Building project '/src/logic/tsconfig.json'... +[12:00:43 AM] Building project '/src/logic/tsconfig.json'... -[12:00:46 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:51 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:47 AM] Building project '/src/tests/tsconfig.json'... +[12:00:52 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -411,7 +414,7 @@ exitCode:: ExitStatus.Success //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":32000},"version":"FakeTSCurrentVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -455,17 +458,18 @@ exitCode:: ExitStatus.Success "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSCurrentVersion", - "size": 1438 + "size": 1460 } //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":44000},"version":"FakeTSCurrentVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -526,16 +530,17 @@ exitCode:: ExitStatus.Success "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 44000 }, "version": "FakeTSCurrentVersion", - "size": 1562 + "size": 1584 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":53000},"version":"FakeTSCurrentVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -609,9 +614,10 @@ exitCode:: ExitStatus.Success "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSCurrentVersion", - "size": 1709 + "size": 1731 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 25a770495031f..88c38908dc276 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] @@ -384,31 +387,26 @@ export function run() { Output:: /lib/tsc --b /src/tests --verbose --force -[12:00:26 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:27 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt +[12:00:30 AM] Project 'src/core/tsconfig.json' is being forcibly rebuilt -[12:00:28 AM] Building project '/src/core/tsconfig.json'... +[12:00:31 AM] Building project '/src/core/tsconfig.json'... -[12:00:37 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt +[12:00:42 AM] Project 'src/logic/tsconfig.json' is being forcibly rebuilt -[12:00:38 AM] Building project '/src/logic/tsconfig.json'... +[12:00:43 AM] Building project '/src/logic/tsconfig.json'... -[12:00:44 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt +[12:00:51 AM] Project 'src/tests/tsconfig.json' is being forcibly rebuilt -[12:00:45 AM] Building project '/src/tests/tsconfig.json'... +[12:00:52 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/anotherModule.d.ts": 1, - "/src/core/index.d.ts": 1, - "/src/logic/index.d.ts": 1, - "/src/tests/index.d.ts": 1 -} +getModifiedTime:: {} setModifiedTime:: {} @@ -435,14 +433,211 @@ directoryExists:: { //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents //// [/src/core/index.js] file written with same contents -//// [/src/core/tsconfig.tsbuildinfo] file written with same contents -//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":32000},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "dtsChangeTime": 32000 + }, + "version": "FakeTSVersion", + "size": 1453 +} + //// [/src/logic/index.d.ts] file written with same contents //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents -//// [/src/logic/tsconfig.tsbuildinfo] file written with same contents -//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":44000},"version":"FakeTSVersion"} + +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 44000 + }, + "version": "FakeTSVersion", + "size": 1577 +} + //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents -//// [/src/tests/tsconfig.tsbuildinfo] file written with same contents -//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":53000},"version":"FakeTSVersion"} + +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 53000 + }, + "version": "FakeTSVersion", + "size": 1724 +} + diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 16bce202e2594..fa6d4f7a11256 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -123,13 +123,13 @@ Output:: [12:00:10 AM] Building project '/src/core/tsconfig.json'... -[12:00:20 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/logic/tsconfig.json'... +[12:00:22 AM] Building project '/src/logic/tsconfig.json'... -[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:30 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:29 AM] Building project '/src/tests/tsconfig.json'... +[12:00:31 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -194,7 +194,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -238,10 +238,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1453 } //// [/src/logic/index.d.ts] @@ -267,7 +268,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -328,10 +329,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -352,7 +354,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":32000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -427,10 +429,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSVersion", - "size": 1713 + "size": 1735 } @@ -444,18 +447,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:36 AM] Projects in this build: +[12:00:39 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:37 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:40 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:38 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:41 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:39 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' +[12:00:42 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' -[12:00:40 AM] Building project '/src/tests/tsconfig.json'... +[12:00:43 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -471,8 +474,7 @@ getModifiedTime:: { "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/tests/tsconfig.json": 1, - "/src/tests/tsconfig.base.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.base.json": 1 } setModifiedTime:: {} @@ -496,7 +498,7 @@ directoryExists:: { //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":32000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -570,9 +572,10 @@ directoryExists:: { "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 8454f5016ce57..a55c106007ab6 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -73,7 +73,7 @@ declare const dts: any; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,10 +117,11 @@ declare const dts: any; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -170,7 +171,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,10 +232,11 @@ export const m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -281,7 +283,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,10 +357,11 @@ export const m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index 3d0a3bf0792f8..5ebebf4b350e3 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -118,13 +118,13 @@ Output::    ~~~~~~~~~~~~~~~~~~ File is matched by 'files' list specified here. -[12:00:13 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:14 AM] Project 'src/logic/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:14 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors +[12:00:15 AM] Skipping build of project '/src/logic/tsconfig.json' because its dependency '/src/core' has errors -[12:00:15 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors +[12:00:16 AM] Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/core' has errors -[12:00:16 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors +[12:00:17 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/core' has errors Found 1 error. diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index df92fff444427..b9f7b8e9cdc21 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -120,13 +120,13 @@ Output:: [12:00:08 AM] Building project '/src/core/tsconfig.json'... -[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/logic/tsconfig.json'... +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... -[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/tests/tsconfig.json'... +[12:00:29 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -356,7 +356,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -400,10 +400,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1452 } //// [/src/logic/index.d.ts] @@ -554,7 +555,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -615,10 +616,11 @@ sourceFile:index.ts "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -639,7 +641,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -713,10 +715,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } @@ -734,22 +737,22 @@ export class someClass { } Output:: /lib/tsc --b /src/tests --verbose -[12:00:37 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:38 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:41 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:00:39 AM] Building project '/src/core/tsconfig.json'... +[12:00:42 AM] Building project '/src/core/tsconfig.json'... -[12:00:46 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:50 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:47 AM] Building project '/src/logic/tsconfig.json'... +[12:00:51 AM] Building project '/src/logic/tsconfig.json'... -[12:00:54 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:58 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' -[12:00:55 AM] Building project '/src/tests/tsconfig.json'... +[12:00:59 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -775,10 +778,8 @@ getModifiedTime:: { "/src/core/index.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -964,7 +965,7 @@ exports.someClass = someClass; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1008,10 +1009,11 @@ exports.someClass = someClass; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 1502 + "size": 1524 } //// [/src/logic/index.d.ts] file written with same contents @@ -1019,7 +1021,7 @@ exports.someClass = someClass; //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/index.js.map.baseline.txt] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1080,16 +1082,17 @@ exports.someClass = someClass; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1595 + "size": 1617 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1163,10 +1166,11 @@ exports.someClass = someClass; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1742 + "size": 1764 } @@ -1185,22 +1189,22 @@ class someClass2 { } Output:: /lib/tsc --b /src/tests --verbose -[12:01:04 AM] Projects in this build: +[12:01:08 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:05 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:09 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' -[12:01:06 AM] Building project '/src/core/tsconfig.json'... +[12:01:10 AM] Building project '/src/core/tsconfig.json'... -[12:01:13 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:17 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:14 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:18 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:17 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:21 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:18 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:22 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1219,16 +1223,12 @@ getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, - "/src/core/index.d.ts": 1, - "/src/core/anotherModule.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: { @@ -1271,7 +1271,7 @@ var someClass2 = /** @class */ (function () { //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-11293323834-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nclass someClass2 { }","signature":"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1315,10 +1315,11 @@ var someClass2 = /** @class */ (function () { "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 1524 + "size": 1546 } //// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -1331,16 +1332,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:22 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:23 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:24 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:28 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:25 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:29 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { @@ -1396,20 +1397,20 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:27 AM] Projects in this build: +[12:01:31 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:29 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' +[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' -[12:01:30 AM] Building project '/src/logic/tsconfig.json'... +[12:01:34 AM] Building project '/src/logic/tsconfig.json'... -[12:01:38 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' +[12:01:43 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' -[12:01:39 AM] Building project '/src/tests/tsconfig.json'... +[12:01:44 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1436,8 +1437,7 @@ getModifiedTime:: { "/src/logic/index.ts": 1, "/src/logic/tsconfig.json": 1, "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/index.ts": 1 } setModifiedTime:: {} @@ -1468,7 +1468,7 @@ export declare const m: typeof mod; //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/index.js.map.baseline.txt] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":95000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1530,16 +1530,17 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 95000 }, "version": "FakeTSVersion", - "size": 1622 + "size": 1644 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"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},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1613,10 +1614,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/decls/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 1748 + "size": 1770 } @@ -1627,16 +1629,16 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:01:46 AM] Projects in this build: +[12:01:51 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:47 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:52 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:01:48 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:53 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:01:49 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:54 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 365e27fce763b..5841cb2c44552 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -121,13 +121,13 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/logic/tsconfig.json'... +[12:00:21 AM] Building project '/src/logic/tsconfig.json'... -[12:00:27 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/tests/tsconfig.json'... +[12:00:30 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -191,7 +191,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -235,10 +235,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1453 } //// [/src/logic/index.d.ts] @@ -264,7 +265,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -325,10 +326,11 @@ exports.m = mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1577 } //// [/src/tests/index.d.ts] @@ -349,7 +351,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -424,10 +426,11 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1726 + "size": 1748 } @@ -454,18 +457,18 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:35 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:36 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' -[12:00:37 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:40 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' -[12:00:38 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:00:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' -[12:00:39 AM] Building project '/src/tests/tsconfig.json'... +[12:00:42 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success @@ -480,8 +483,7 @@ getModifiedTime:: { "/src/logic/tsconfig.json": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/index.d.ts": 1 + "/src/tests/tsconfig.json": 1 } setModifiedTime:: {} @@ -538,7 +540,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -613,9 +615,10 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1725 + "size": 1747 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 0091147e3babf..d0d17f1a2954e 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -121,13 +121,13 @@ Output:: [12:00:09 AM] Building project '/src/core/tsconfig.json'... -[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/ownFile.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/ownFile.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/logic/tsconfig.json'... +[12:00:21 AM] Building project '/src/logic/tsconfig.json'... -[12:00:27 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/tests/tsconfig.json'... +[12:00:30 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -357,7 +357,7 @@ exports.multiply = multiply; //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -401,10 +401,11 @@ exports.multiply = multiply; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1453 } //// [/src/logic/index.d.ts] @@ -555,7 +556,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/ownFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/logic/ownFile.tsbuildinfo.readable.baseline.txt] { @@ -617,10 +618,11 @@ sourceFile:index.ts "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1597 + "size": 1619 } //// [/src/tests/index.d.ts] @@ -641,7 +643,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -715,9 +717,10 @@ exports.m = mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1702 + "size": 1724 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index ab4f717f1bbfa..481f90afbe98e 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -134,7 +134,7 @@ a_1.X; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":8000},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -162,14 +162,15 @@ a_1.X; "semanticDiagnosticsPerFile": [ "../lib/lib.d.ts", "./a.ts" - ] + ], + "dtsChangeTime": 8000 }, "version": "FakeTSVersion", - "size": 788 + "size": 809 } //// [/src/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-9520743082-import { A } from 'a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-9520743082-import { A } from 'a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -216,9 +217,10 @@ a_1.X; "../lib/lib.d.ts", "./a.d.ts", "./b.ts" - ] + ], + "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 929 + "size": 951 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index a3aecd1addc4a..a47506d572e77 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -146,7 +146,7 @@ a_1.X; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -174,14 +174,15 @@ a_1.X; "semanticDiagnosticsPerFile": [ "../lib/lib.d.ts", "./a.ts" - ] + ], + "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 788 + "size": 809 } //// [/src/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-10067914302-import { A } from '@ref/a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-9529994156-export declare class A {\r\n}\r\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-10067914302-import { A } from '@ref/a';\r\nexport declare const b: A;\r\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -228,9 +229,10 @@ a_1.X; "../lib/lib.d.ts", "./a.d.ts", "./b.ts" - ] + ], + "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 946 + "size": 968 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 5890045d64fc4..51d1fea045d41 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -106,7 +106,7 @@ exports.A = A; //// [/src/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-9529994156-export declare class A {\r\n}\r\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":8000},"version":"FakeTSVersion"} //// [/src/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -134,14 +134,15 @@ exports.A = A; "semanticDiagnosticsPerFile": [ "../lib/lib.d.ts", "./a.ts" - ] + ], + "dtsChangeTime": 8000 }, "version": "FakeTSVersion", - "size": 788 + "size": 809 } //// [/src/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./b.ts"],"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},"-17186364832-import {A} from 'a';\nexport const b = new A();"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./b.ts","start":16,"length":3,"messageText":"Cannot find module 'a' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./b.ts"],"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},"-17186364832-import {A} from 'a';\nexport const b = new A();"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./b.ts","start":16,"length":3,"messageText":"Cannot find module 'a' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[[2,1]],"emitSignatures":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -187,9 +188,12 @@ exports.A = A; "./b.ts", "Full" ] + ], + "emitSignatures": [ + "./b.ts" ] }, "version": "FakeTSVersion", - "size": 926 + "size": 947 } diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 0aee45da3914a..c82ca40a8c507 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -366,7 +366,7 @@ Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... -[12:01:04 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -403,7 +403,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"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},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -438,10 +438,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts" - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 880 + "size": 902 } //// [/user/username/projects/myproject/a.js] diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index cc17484c13441..3a8edfc00051b 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -290,7 +290,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,10 +414,16 @@ exitCode:: ExitStatus.undefined "../../core/utilities.ts", "Full" ] + ], + "emitSignatures": [ + "../../animals/animal.ts", + "../../animals/dog.ts", + "../../animals/index.ts", + "../../core/utilities.ts" ] }, "version": "FakeTSVersion", - "size": 2298 + "size": 2325 } @@ -600,7 +606,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-10926881769-\nimport * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,3],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-10926881769-\nimport * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,3],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -720,10 +726,16 @@ exitCode:: ExitStatus.undefined "../../core/utilities.ts", "Full" ] + ], + "emitSignatures": [ + "../../animals/animal.ts", + "../../animals/dog.ts", + "../../animals/index.ts", + "../../core/utilities.ts" ] }, "version": "FakeTSVersion", - "size": 2802 + "size": 2829 } diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index b82f5a4be6239..ff60b8c9443ab 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -249,15 +249,15 @@ Output:: [12:00:54 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... -[12:01:09 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/tsconfig.tsbuildinfo' does not exist +[12:01:10 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/tsconfig.tsbuildinfo' does not exist -[12:01:10 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... +[12:01:11 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... -[12:01:31 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/tsconfig.tsbuildinfo' does not exist +[12:01:33 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/tsconfig.tsbuildinfo' does not exist -[12:01:32 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... +[12:01:34 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:48 AM] Found 0 errors. Watching for file changes. @@ -380,7 +380,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,10 +418,11 @@ export declare function lastElementOf(arr: T[]): T | undefined; "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../core/utilities.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 1319 + "size": 1341 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -478,7 +479,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4],"dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -564,10 +565,11 @@ export declare function createDog(): Dog; "../../animals/dog.ts", "../../animals/index.ts", "../core/utilities.d.ts" - ] + ], + "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 2423 + "size": 2445 } //// [/user/username/projects/demo/lib/zoo/zoo.js] @@ -589,7 +591,7 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"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},"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"8797123924-import { Dog, createDog } from '../animals/index';\r\n\r\nexport function createZoo(): Array {\r\n return [\r\n createDog()\r\n ];\r\n}\r\n\r\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"exportedModulesMap":[[3,1],[4,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"dtsChangeTime":95000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -676,10 +678,11 @@ export declare function createZoo(): Array; "../animals/dog.d.ts", "../animals/index.d.ts", "../../zoo/zoo.ts" - ] + ], + "dtsChangeTime": 95000 }, "version": "FakeTSVersion", - "size": 1783 + "size": 1805 } diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 4ee468f1fe243..d5e676c9d8651 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -69,9 +69,9 @@ File '/user/username/projects/myproject/packages/pkg2/const.js.d.ts' does not ex File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/const.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -[12:01:07 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:01:08 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:01:08 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:09 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -110,7 +110,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:14 AM] Found 0 errors. Watching for file changes. +[12:01:15 AM] Found 0 errors. Watching for file changes. @@ -210,7 +210,7 @@ export declare type TheStr = string; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-10420741908-export declare type TheStr = string;\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"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},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-10420741908-export declare type TheStr = string;\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":47000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -264,10 +264,11 @@ export declare type TheStr = string; "../const.ts", "../index.ts", "../other.ts" - ] + ], + "dtsChangeTime": 47000 }, "version": "FakeTSVersion", - "size": 1074 + "size": 1096 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -348,11 +349,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:18 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... -[12:01:19 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:20 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' -[12:01:20 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:21 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -384,7 +385,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:21 AM] Found 1 error. Watching for file changes. +[12:01:22 AM] Found 1 error. Watching for file changes. @@ -462,7 +463,8 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1 } setModifiedTimes:: {} @@ -484,11 +486,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:25 AM] File change detected. Starting incremental compilation... +[12:01:26 AM] File change detected. Starting incremental compilation... -[12:01:26 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:27 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' -[12:01:27 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:28 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -527,7 +529,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 71c0c863547e8..e0e06d483e5e1 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -68,9 +68,9 @@ File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:01 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist +[12:01:02 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist -[12:01:02 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:03 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -107,7 +107,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -[12:01:08 AM] Found 0 errors. Watching for file changes. +[12:01:09 AM] Found 0 errors. Watching for file changes. @@ -202,7 +202,7 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.ts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":99}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.ts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":99}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -254,10 +254,11 @@ export type { TheNum } from './const.cjs'; "../../../../../../../a/lib/lib.es2020.full.d.ts", "../const.cts", "../index.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 1019 + "size": 1041 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -331,11 +332,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:12 AM] File change detected. Starting incremental compilation... +[12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:13 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:14 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:14 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:15 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -384,7 +385,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:15 AM] Found 1 error. Watching for file changes. +[12:01:16 AM] Found 1 error. Watching for file changes. @@ -483,7 +484,12 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 + "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, + "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, + "/user/username/projects/myproject/packages/pkg2/package.json": 1, + "/a/lib/package.json": 1, + "/a/package.json": 1, + "/package.json": 1 } setModifiedTimes:: {} @@ -505,11 +511,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:21 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:21 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:22 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -547,7 +553,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:25 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -663,11 +669,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... -[12:01:30 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2' +[12:01:31 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:31 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:32 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -716,7 +722,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:32 AM] Found 1 error. Watching for file changes. +[12:01:33 AM] Found 1 error. Watching for file changes. @@ -841,11 +847,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:40 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' +[12:01:41 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' -[12:01:41 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +[12:01:42 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module './const.cjs' from '/user/username/projects/myproject/packages/pkg2/index.cts'. ======== Module resolution kind is not specified, using 'Node12'. @@ -910,7 +916,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":103000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -962,10 +968,11 @@ exitCode:: ExitStatus.undefined "../../../../../../../a/lib/lib.es2020.full.d.ts", "../const.cts", "../index.cts" - ] + ], + "dtsChangeTime": 103000 }, "version": "FakeTSVersion", - "size": 1019 + "size": 1042 } //// [/user/username/projects/myproject/packages/pkg2/build/index.cjs] diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index ecd49c959a6a1..a4f48f9ef63a5 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -62,11 +62,11 @@ Output:: [12:00:54 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... -[12:01:04 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist +[12:01:05 AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist -[12:01:05 AM] Building project '/user/username/projects/myproject/project2/tsconfig.json'... +[12:01:06 AM] Building project '/user/username/projects/myproject/project2/tsconfig.json'... -[12:01:15 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -149,7 +149,7 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,4,3,2],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -204,10 +204,11 @@ export {}; "../node_modules/@types/foo/index.d.ts", "./index.ts", "./node_modules/file/index.d.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 971 + "size": 993 } //// [/user/username/projects/myproject/project2/index.js] @@ -220,7 +221,7 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,2,3],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -269,10 +270,11 @@ export {}; "../node_modules/@types/foo/index.d.ts", "./file.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 872 + "size": 894 } @@ -332,13 +334,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:18 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:19 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' +[12:01:21 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' -[12:01:20 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... +[12:01:22 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:01:36 AM] Found 0 errors. Watching for file changes. @@ -390,7 +392,7 @@ var bar = 10; //// [/user/username/projects/myproject/project1/index.d.ts] file written with same contents //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"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},"-12737086933-export const foo = 10;",{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,4,3,2],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -445,10 +447,11 @@ var bar = 10; "../node_modules/@types/foo/index.d.ts", "./index.ts", "./node_modules/file/index.d.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 986 + "size": 1008 } @@ -479,8 +482,6 @@ directoryExists:: { "/user/username/projects/myproject/node_modules/@types/bar": 3 } -getModifiedTimes:: { - "/user/username/projects/myproject/project1/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 02ed41f2ac0fc..ecf3a62158ae0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -243,7 +243,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -280,10 +280,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -309,7 +310,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -394,7 +396,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,10 +470,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index e10a856010657..f326970ae4ab6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -124,15 +124,15 @@ Output:: [12:00:48 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:06 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/tsconfig.tsbuildinfo' does not exist +[12:01:07 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/tsconfig.tsbuildinfo' does not exist -[12:01:07 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:08 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:01:19 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/tsconfig.tsbuildinfo' does not exist +[12:01:21 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/tsconfig.tsbuildinfo' does not exist -[12:01:20 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:22 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:01:30 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -260,7 +260,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -297,10 +297,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -326,7 +327,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -387,10 +388,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -411,7 +413,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":83000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -485,10 +487,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 83000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -543,17 +546,17 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:34 AM] File change detected. Starting incremental compilation... +[12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:01:38 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' -[12:01:36 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:39 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:01:53 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:56 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:54 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:57 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:01:56 AM] Found 0 errors. Watching for file changes. +[12:01:59 AM] Found 0 errors. Watching for file changes. @@ -617,7 +620,7 @@ function someFn() { } //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"937092231-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"937092231-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -678,10 +681,11 @@ function someFn() { } "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1493 + "size": 1515 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -701,10 +705,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1, - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 @@ -734,17 +735,17 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:00 AM] File change detected. Starting incremental compilation... +[12:02:03 AM] File change detected. Starting incremental compilation... -[12:02:01 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:02:04 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' -[12:02:02 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:02:05 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:02:19 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' +[12:02:23 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' -[12:02:20 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:02:24 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -[12:02:34 AM] Found 0 errors. Watching for file changes. +[12:02:38 AM] Found 0 errors. Watching for file changes. @@ -833,7 +834,7 @@ export declare function someFn(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-3093967383-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-3093967383-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":126000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -894,16 +895,17 @@ export declare function someFn(): void; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 126000 }, "version": "FakeTSVersion", - "size": 1543 + "size": 1566 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":83000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -977,10 +979,11 @@ export declare function someFn(): void; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 83000 }, "version": "FakeTSVersion", - "size": 1658 + "size": 1680 } @@ -1002,8 +1005,6 @@ directoryExists:: { "/user/username/projects/sample1/tests/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 6d736ed5dd3af..1acd149dfb5e2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... -[12:00:39 AM] Found 0 errors. Watching for file changes. +[12:00:40 AM] Found 0 errors. Watching for file changes. @@ -114,7 +114,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +148,11 @@ export declare class myClass { "../../../../../a/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" - ] + ], + "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 984 + "size": 1006 } @@ -192,14 +193,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:44 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:44 AM] Found 1 error. Watching for file changes. +[12:00:45 AM] Found 1 error. Watching for file changes. @@ -266,14 +267,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... +[12:00:49 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:49 AM] Found 1 error. Watching for file changes. +[12:00:51 AM] Found 1 error. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index d279e9db89a30..563e171d7e6d6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... -[12:00:39 AM] Found 0 errors. Watching for file changes. +[12:00:40 AM] Found 0 errors. Watching for file changes. @@ -114,7 +114,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +148,11 @@ export declare class myClass { "../../../../../a/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" - ] + ], + "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 984 + "size": 1006 } @@ -192,14 +193,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:44 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:44 AM] Found 1 error. Watching for file changes. +[12:00:45 AM] Found 1 error. Watching for file changes. @@ -269,9 +270,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... +[12:00:49 AM] File change detected. Starting incremental compilation... -[12:01:02 AM] Found 0 errors. Watching for file changes. +[12:01:03 AM] Found 0 errors. Watching for file changes. @@ -321,9 +322,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/solution/app/filewitherror.d.ts": 1, - "/user/username/projects/solution/app/filewithouterror.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 3b9f3083a7830..b60f9f2cbf15a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -43,7 +43,7 @@ Output:: 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:26 AM] Found 1 error. Watching for file changes. +[12:00:27 AM] Found 1 error. Watching for file changes. @@ -116,14 +116,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:30 AM] File change detected. Starting incremental compilation... +[12:00:31 AM] File change detected. Starting incremental compilation... app/fileWithError.ts:1:12 - error TS4094: Property 'p' of exported class expression may not be private or protected. 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:31 AM] Found 1 error. Watching for file changes. +[12:00:33 AM] Found 1 error. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 2024870bea1b9..c9f4d6df49238 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -43,7 +43,7 @@ Output:: 1 export var myClassWithError = class {    ~~~~~~~~~~~~~~~~ -[12:00:26 AM] Found 1 error. Watching for file changes. +[12:00:27 AM] Found 1 error. Watching for file changes. @@ -119,9 +119,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:30 AM] File change detected. Starting incremental compilation... +[12:00:31 AM] File change detected. Starting incremental compilation... -[12:00:44 AM] Found 0 errors. Watching for file changes. +[12:00:46 AM] Found 0 errors. Watching for file changes. @@ -193,7 +193,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"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},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":32000},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -227,10 +227,11 @@ export declare class myClass { "../../../../../a/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" - ] + ], + "dtsChangeTime": 32000 }, "version": "FakeTSVersion", - "size": 984 + "size": 1006 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 689720b546dce..1028db79d4e35 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -243,7 +243,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -280,10 +280,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -309,7 +310,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -394,7 +396,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,10 +470,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -526,14 +529,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:27 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10;    ~ -[12:01:35 AM] Found 1 error. Watching for file changes. +[12:01:38 AM] Found 1 error. Watching for file changes. @@ -579,7 +582,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[4,1]],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -658,10 +661,11 @@ exitCode:: ExitStatus.undefined "./index.ts", "Full" ] - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1668 + "size": 1690 } @@ -705,7 +709,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... sample1/core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -717,7 +721,7 @@ Output:: 8 let y: string = 10;    ~ -[12:01:47 AM] Found 2 errors. Watching for file changes. +[12:01:50 AM] Found 2 errors. Watching for file changes. @@ -762,7 +766,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -817,10 +821,11 @@ exitCode:: ExitStatus.undefined "./index.ts", "Full" ] - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1450 + "size": 1472 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index d41e76865ef63..d9337695725f0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -114,7 +114,7 @@ setModifiedTimes:: {} Output:: [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -242,7 +242,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -279,10 +279,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -308,7 +309,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -369,10 +370,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -393,7 +395,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -467,10 +469,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -524,14 +527,14 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:27 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10;    ~ -[12:01:35 AM] Found 1 error. Watching for file changes. +[12:01:38 AM] Found 1 error. Watching for file changes. @@ -577,7 +580,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[4,1]],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -656,10 +659,11 @@ exitCode:: ExitStatus.undefined "./index.ts", "Full" ] - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1668 + "size": 1690 } @@ -702,7 +706,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... sample1/core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -714,7 +718,7 @@ Output:: 8 let y: string = 10;    ~ -[12:01:47 AM] Found 2 errors. Watching for file changes. +[12:01:50 AM] Found 2 errors. Watching for file changes. @@ -759,7 +763,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17094159457-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./index.ts","start":186,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[[3,1]],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -814,10 +818,11 @@ exitCode:: ExitStatus.undefined "./index.ts", "Full" ] - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1450 + "size": 1472 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 1d09c80ca19a1..35fd48b343f6c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -46,7 +46,7 @@ Output:: [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:00:47 AM] Found 0 errors. Watching for file changes. +[12:00:48 AM] Found 0 errors. Watching for file changes. @@ -113,7 +113,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +148,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../../a/lib/lib.d.ts", "../anothermodule.ts", "../index.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1205 + "size": 1227 } @@ -230,13 +231,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:50 AM] File change detected. Starting incremental compilation... +[12:00:51 AM] File change detected. Starting incremental compilation... -[12:00:51 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:52 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' -[12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +[12:00:53 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:04 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -274,7 +275,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"outDir":"./"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -315,10 +316,11 @@ exitCode:: ExitStatus.undefined "../anothermodule.ts", "../file3.ts", "../index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1326 + "size": 1348 } //// [/user/username/projects/sample1/core/outDir/file3.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index a589a81970300..2df7ac0fac58b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -53,7 +53,7 @@ Output:: [12:00:30 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:00:48 AM] Found 0 errors. Watching for file changes. +[12:00:49 AM] Found 0 errors. Watching for file changes. @@ -126,7 +126,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -163,10 +163,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } @@ -243,13 +244,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:51 AM] File change detected. Starting incremental compilation... +[12:00:52 AM] File change detected. Starting incremental compilation... -[12:00:52 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:53 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' -[12:00:53 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +[12:00:54 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -[12:01:07 AM] Found 0 errors. Watching for file changes. +[12:01:09 AM] Found 0 errors. Watching for file changes. @@ -287,7 +288,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -330,10 +331,11 @@ exitCode:: ExitStatus.undefined "./anothermodule.ts", "./file3.ts", "./index.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 1374 + "size": 1396 } //// [/user/username/projects/sample1/core/file3.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 78b21a906f132..45a9f414d9bb8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:14 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -215,7 +215,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -252,10 +252,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -281,7 +282,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -342,10 +343,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 9fd7200c078c8..f14116c6a16a2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -83,7 +83,7 @@ Output:: error TS5083: Cannot read file '/user/username/projects/sample1/logic/tsconfig.json'. -[12:00:55 AM] Found 1 error. Watching for file changes. +[12:00:56 AM] Found 1 error. Watching for file changes. @@ -162,7 +162,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -199,10 +199,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } @@ -252,7 +253,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:58 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] File change detected. Starting incremental compilation... @@ -326,7 +327,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -387,10 +388,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } @@ -428,7 +430,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:22 AM] Found 0 errors. Watching for file changes. @@ -500,7 +502,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -574,10 +576,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 857417e30f818..faafb66ddb3d3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -50,7 +50,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:41 AM] Found 0 errors. Watching for file changes. +[12:00:42 AM] Found 0 errors. Watching for file changes. @@ -128,7 +128,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,10 +156,11 @@ export {}; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./library.ts" - ] + ], + "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 953 + "size": 975 } //// [/user/username/projects/sample1/App/app.js] @@ -221,7 +222,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:45 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... App/app.ts:2:20 - error TS2551: Property 'message' does not exist on type 'SomeObject'. Did you mean 'message2'? @@ -233,7 +234,7 @@ Output::    ~~~~~~~~ 'message2' is declared here. -[12:00:59 AM] Found 1 error. Watching for file changes. +[12:01:01 AM] Found 1 error. Watching for file changes. @@ -307,7 +308,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":47000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -335,10 +336,11 @@ export {}; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./library.ts" - ] + ], + "dtsChangeTime": 47000 }, "version": "FakeTSVersion", - "size": 955 + "size": 977 } @@ -389,9 +391,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:03 AM] File change detected. Starting incremental compilation... +[12:01:05 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -465,7 +467,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -493,10 +495,11 @@ export {}; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./library.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 953 + "size": 975 } //// [/user/username/projects/sample1/App/app.js] file written with same contents diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 6c7f0fac05d18..1dd82dfb1fdef 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:50 AM] Found 0 errors. Watching for file changes. +[12:00:52 AM] Found 0 errors. Watching for file changes. @@ -284,7 +284,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:54 AM] File change detected. Starting incremental compilation... +[12:00:56 AM] File change detected. Starting incremental compilation... @@ -395,9 +395,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/index.tsbuildinfo": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -414,7 +412,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:29 AM] Found 0 errors. Watching for file changes. @@ -591,7 +589,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:33 AM] File change detected. Starting incremental compilation... @@ -717,7 +715,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:59 AM] Found 0 errors. Watching for file changes. +[12:02:03 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 54eb1997ab202..7349d12e71657 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -211,7 +211,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,10 +246,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1205 + "size": 1227 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -275,7 +276,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -336,10 +337,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1394 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] @@ -360,7 +362,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -434,10 +436,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1539 + "size": 1561 } @@ -483,7 +486,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... @@ -531,7 +534,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":80000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -572,10 +575,11 @@ exitCode:: ExitStatus.undefined "./anothermodule.ts", "./index.ts", "./newfile.ts" - ] + ], + "dtsChangeTime": 80000 }, "version": "FakeTSVersion", - "size": 1350 + "size": 1372 } //// [/user/username/projects/sample1/core/newfile.js] @@ -681,9 +685,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -702,7 +704,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:30 AM] Found 0 errors. Watching for file changes. +[12:01:34 AM] Found 0 errors. Watching for file changes. @@ -765,9 +767,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 @@ -791,7 +791,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:34 AM] File change detected. Starting incremental compilation... +[12:01:38 AM] File change detected. Starting incremental compilation... @@ -839,7 +839,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":99000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -880,10 +880,11 @@ exitCode:: ExitStatus.undefined "./anothermodule.ts", "./index.ts", "./newfile.ts" - ] + ], + "dtsChangeTime": 99000 }, "version": "FakeTSVersion", - "size": 1416 + "size": 1438 } //// [/user/username/projects/sample1/core/newfile.js] @@ -993,9 +994,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -1014,7 +1013,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:50 AM] Found 0 errors. Watching for file changes. +[12:01:55 AM] Found 0 errors. Watching for file changes. @@ -1077,9 +1076,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index fef2bd2a728bd..6e4899f7ee7e6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -211,7 +211,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,10 +246,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1205 + "size": 1227 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -275,7 +276,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -336,10 +337,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1394 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] @@ -360,7 +362,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -434,10 +436,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1539 + "size": 1561 } @@ -487,7 +490,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:17 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... @@ -557,7 +560,7 @@ export declare class someClass { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -592,10 +595,11 @@ export declare class someClass { "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 81000 }, "version": "FakeTSVersion", - "size": 1270 + "size": 1292 } @@ -677,7 +681,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -738,10 +742,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 1453 } @@ -760,9 +765,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -779,7 +782,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:00 AM] Found 0 errors. Watching for file changes. +[12:02:04 AM] Found 0 errors. Watching for file changes. @@ -830,7 +833,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -904,10 +907,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1576 + "size": 1598 } @@ -926,9 +930,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -952,7 +954,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:04 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... @@ -1014,7 +1016,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":129000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1049,10 +1051,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 129000 }, "version": "FakeTSVersion", - "size": 1205 + "size": 1228 } @@ -1132,7 +1135,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1193,10 +1196,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1394 + "size": 1416 } @@ -1215,9 +1219,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1234,7 +1236,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:47 AM] Found 0 errors. Watching for file changes. +[12:02:52 AM] Found 0 errors. Watching for file changes. @@ -1285,7 +1287,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1359,10 +1361,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1539 + "size": 1561 } @@ -1381,9 +1384,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1409,7 +1410,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:54 AM] File change detected. Starting incremental compilation... +[12:02:59 AM] File change detected. Starting incremental compilation... @@ -1487,7 +1488,7 @@ export declare class someClass2 { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":180000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1522,10 +1523,11 @@ export declare class someClass2 { "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 180000 }, "version": "FakeTSVersion", - "size": 1336 + "size": 1359 } @@ -1605,7 +1607,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1666,10 +1668,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1469 + "size": 1491 } @@ -1688,9 +1691,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1707,7 +1708,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:37 AM] Found 0 errors. Watching for file changes. +[12:03:43 AM] Found 0 errors. Watching for file changes. @@ -1758,7 +1759,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1832,10 +1833,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1614 + "size": 1636 } @@ -1854,8 +1856,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 0439b0b290a8f..b27bd6f89f3bb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -89,7 +89,7 @@ Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... -[12:01:13 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -211,7 +211,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,10 +246,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1205 + "size": 1227 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -275,7 +276,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -336,10 +337,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1394 + "size": 1416 } //// [/user/username/projects/sample1/tests/index.js] @@ -360,7 +362,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -434,10 +436,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1539 + "size": 1561 } @@ -487,7 +490,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:17 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... @@ -545,7 +548,7 @@ function foo() { } //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":40000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -580,10 +583,11 @@ function foo() { } "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 40000 }, "version": "FakeTSVersion", - "size": 1225 + "size": 1247 } @@ -599,9 +603,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} @@ -652,9 +654,7 @@ fileExists:: {} directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -673,7 +673,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:36 AM] Found 0 errors. Watching for file changes. @@ -709,9 +709,7 @@ fileExists:: {} directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index a52c6d1f81d9c..dddcb7b6f6faa 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -243,7 +243,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -280,10 +280,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -309,7 +310,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -394,7 +396,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,10 +470,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -519,7 +522,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:26 AM] File change detected. Starting incremental compilation... +[12:01:29 AM] File change detected. Starting incremental compilation... @@ -567,7 +570,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":90000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -610,10 +613,11 @@ exitCode:: ExitStatus.undefined "./anothermodule.ts", "./index.ts", "./newfile.ts" - ] + ], + "dtsChangeTime": 90000 }, "version": "FakeTSVersion", - "size": 1399 + "size": 1421 } //// [/user/username/projects/sample1/core/newfile.js] @@ -722,9 +726,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -743,7 +745,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:42 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -806,9 +808,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 @@ -832,7 +832,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:46 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... @@ -880,7 +880,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":111000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -923,10 +923,11 @@ exitCode:: ExitStatus.undefined "./anothermodule.ts", "./index.ts", "./newfile.ts" - ] + ], + "dtsChangeTime": 111000 }, "version": "FakeTSVersion", - "size": 1465 + "size": 1488 } //// [/user/username/projects/sample1/core/newfile.js] @@ -1039,9 +1040,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -1060,7 +1059,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:05 AM] Found 0 errors. Watching for file changes. +[12:02:10 AM] Found 0 errors. Watching for file changes. @@ -1123,9 +1122,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 037893d3abeae..fe093740f77dd 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -243,7 +243,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -280,10 +280,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -309,7 +310,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -394,7 +396,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,10 +470,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -523,7 +526,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:27 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... @@ -596,7 +599,7 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13387000654-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":91000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -633,10 +636,11 @@ export declare class someClass { "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 91000 }, "version": "FakeTSVersion", - "size": 1319 + "size": 1341 } @@ -718,7 +722,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -779,10 +783,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1509 + "size": 1531 } @@ -801,9 +806,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -820,7 +823,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:13 AM] Found 0 errors. Watching for file changes. +[12:02:17 AM] Found 0 errors. Watching for file changes. @@ -871,7 +874,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -945,10 +948,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1654 + "size": 1676 } @@ -967,9 +971,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -993,7 +995,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:17 AM] File change detected. Starting incremental compilation... +[12:02:21 AM] File change detected. Starting incremental compilation... @@ -1058,7 +1060,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":142000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1095,10 +1097,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 142000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1277 } @@ -1178,7 +1181,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1239,10 +1242,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } @@ -1261,9 +1265,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1280,7 +1282,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:03 AM] Found 0 errors. Watching for file changes. +[12:03:08 AM] Found 0 errors. Watching for file changes. @@ -1331,7 +1333,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1405,10 +1407,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -1427,9 +1430,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1455,7 +1456,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:03:10 AM] File change detected. Starting incremental compilation... +[12:03:15 AM] File change detected. Starting incremental compilation... @@ -1536,7 +1537,7 @@ export declare class someClass2 { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-8266060440-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":196000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1573,10 +1574,11 @@ export declare class someClass2 { "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 196000 }, "version": "FakeTSVersion", - "size": 1385 + "size": 1408 } @@ -1656,7 +1658,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1717,10 +1719,11 @@ exitCode:: ExitStatus.undefined "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1547 + "size": 1569 } @@ -1739,9 +1742,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -1758,7 +1759,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:03:56 AM] Found 0 errors. Watching for file changes. +[12:04:02 AM] Found 0 errors. Watching for file changes. @@ -1809,7 +1810,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1883,10 +1884,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 1714 } @@ -1905,8 +1907,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 71936699eb804..9582daa8afcd0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -115,7 +115,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -243,7 +243,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -280,10 +280,11 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1254 + "size": 1276 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -309,7 +310,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":64000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 64000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -394,7 +396,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,10 +470,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -523,7 +526,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:27 AM] File change detected. Starting incremental compilation... +[12:01:30 AM] File change detected. Starting incremental compilation... @@ -582,7 +585,7 @@ function foo() { } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-21447768693-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -619,10 +622,11 @@ function foo() { } "../../../../../a/lib/lib.d.ts", "./anothermodule.ts", "./index.ts" - ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 1274 + "size": 1296 } @@ -638,9 +642,7 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/core/anothermodule.d.ts": 1 + "/user/username/projects/sample1/core/anothermodule.ts": 1 } setModifiedTimes:: {} @@ -691,9 +693,7 @@ fileExists:: {} directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 @@ -712,7 +712,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:46 AM] Found 0 errors. Watching for file changes. +[12:01:49 AM] Found 0 errors. Watching for file changes. @@ -748,9 +748,7 @@ fileExists:: {} directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/sample1/tests/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index adfb266021b03..fb64441c78369 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -59,11 +59,11 @@ Output:: [12:00:30 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:44 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist +[12:00:45 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist -[12:00:45 AM] Building project '/a/b/project2.tsconfig.json'... +[12:00:46 AM] Building project '/a/b/project2.tsconfig.json'... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:57 AM] Found 0 errors. Watching for file changes. @@ -143,7 +143,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1],"dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,10 +180,11 @@ declare let y: number; "./commonfile1.ts", "./commonfile2.ts", "../lib/lib.d.ts" - ] + ], + "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 866 + "size": 888 } //// [/a/b/other.js] @@ -196,7 +197,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1],"dtsChangeTime":47000},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -226,10 +227,11 @@ declare let z: number; "semanticDiagnosticsPerFile": [ "./other.ts", "../lib/lib.d.ts" - ] + ], + "dtsChangeTime": 47000 }, "version": "FakeTSVersion", - "size": 731 + "size": 753 } @@ -268,9 +270,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:58 AM] File change detected. Starting incremental compilation... +[12:01:00 AM] File change detected. Starting incremental compilation... -[12:00:59 AM] Found 0 errors. Watching for file changes. +[12:01:01 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 8d4c5edb41a12..b1f11dd741efe 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -55,11 +55,11 @@ Output:: [12:00:28 AM] Building project '/a/b/project1.tsconfig.json'... -[12:00:42 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist +[12:00:43 AM] Project 'project2.tsconfig.json' is out of date because output file 'project2.tsconfig.tsbuildinfo' does not exist -[12:00:43 AM] Building project '/a/b/project2.tsconfig.json'... +[12:00:44 AM] Building project '/a/b/project2.tsconfig.json'... -[12:00:53 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -135,7 +135,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1],"dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -171,10 +171,11 @@ declare let y: number; "./commonfile1.ts", "./commonfile2.ts", "../lib/lib.d.ts" - ] + ], + "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 852 + "size": 874 } //// [/a/b/other.js] @@ -186,7 +187,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -215,10 +216,11 @@ declare let z: number; "semanticDiagnosticsPerFile": [ "./other.ts", "../lib/lib.d.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 717 + "size": 739 } @@ -257,13 +259,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:57 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] File change detected. Starting incremental compilation... -[12:00:58 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:00 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:00:59 AM] Building project '/a/b/project1.tsconfig.json'... +[12:01:01 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:00 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:02 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -320,9 +322,7 @@ directoryExists:: { getModifiedTimes:: { "/a/b/commonfile1.ts": 1, "/a/b/commonfile2.ts": 1, - "/a/b/project1.tsconfig.json": 1, - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.d.ts": 1 + "/a/b/project1.tsconfig.json": 1 } setModifiedTimes:: { @@ -342,13 +342,13 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:02 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:04 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:01:03 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:05 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:04 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:06 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:06 AM] Found 0 errors. Watching for file changes. +[12:01:08 AM] Found 0 errors. Watching for file changes. @@ -400,8 +400,7 @@ directoryExists:: { getModifiedTimes:: { "/a/b/other.ts": 1, "/a/b/project2.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1, - "/a/b/other.d.ts": 1 + "/a/b/bravo.tsconfig.json": 1 } setModifiedTimes:: { @@ -425,15 +424,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:10 AM] File change detected. Starting incremental compilation... +[12:01:12 AM] File change detected. Starting incremental compilation... -[12:01:11 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' +[12:01:13 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' -[12:01:12 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:14 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:13 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:15 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:15 AM] Found 0 errors. Watching for file changes. +[12:01:17 AM] Found 0 errors. Watching for file changes. @@ -485,9 +484,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/a/b/other.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/a/b/project2.tsconfig.tsbuildinfo": 1 @@ -510,13 +507,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... +[12:01:21 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'project2.tsconfig.json' +[12:01:22 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'project2.tsconfig.json' -[12:01:21 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:23 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -613,13 +610,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:36 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:38 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:01:37 AM] Building project '/a/b/project1.tsconfig.json'... +[12:01:39 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:38 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:40 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -672,10 +669,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/a/b/commonfile1.d.ts": 1, - "/a/b/commonfile2.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/a/b/project1.tsconfig.tsbuildinfo": 1 @@ -694,13 +688,13 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:40 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' +[12:01:42 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' -[12:01:41 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:43 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:42 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:44 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:44 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index f0220d1a50654..98399917f7bba 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -55,11 +55,11 @@ Output:: [12:00:33 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:00:43 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/tsconfig.tsbuildinfo' does not exist +[12:00:44 AM] Project 'webpack/tsconfig.json' is out of date because output file 'webpack/tsconfig.tsbuildinfo' does not exist -[12:00:44 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:00:45 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:00:54 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -149,7 +149,7 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,10 +177,17 @@ export declare function f2(): void; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./index.ts" - ] + ], + "emitSignatures": [ + [ + "./index.ts", + "-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n" + ] + ], + "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 745 + "size": 936 } //// [/user/username/projects/myproject/webpack/index.js] @@ -217,7 +224,7 @@ export declare function f22(): void; //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"dtsChangeTime":46000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -245,10 +252,17 @@ export declare function f22(): void; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./index.ts" - ] + ], + "emitSignatures": [ + [ + "./index.ts", + "-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n" + ] + ], + "dtsChangeTime": 46000 }, "version": "FakeTSVersion", - "size": 749 + "size": 943 } @@ -292,19 +306,19 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:57 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] File change detected. Starting incremental compilation... -[12:00:58 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' +[12:01:00 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' -[12:00:59 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... +[12:01:01 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:01:13 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' +[12:01:16 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' -[12:01:14 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:01:17 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:01:15 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... +[12:01:18 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -392,7 +406,7 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -420,10 +434,11 @@ export declare function f2(): void; "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 983 + "size": 1005 } //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] file changed its modified time @@ -440,9 +455,7 @@ directoryExists:: { "/user/username/projects/myproject/webpack/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/webpack/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 8f0a50a2637c5..62c1c7aa3662a 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -86,11 +86,11 @@ Output:: [12:00:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:00:57 AM] Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist +[12:00:58 AM] Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist -[12:00:58 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:00:59 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:04 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -195,7 +195,7 @@ export * from "./session"; //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -244,10 +244,11 @@ export * from "./session"; "../../../../../../a/lib/lib.d.ts", "../../src/pure/index.ts", "../../src/pure/session.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1023 + "size": 1045 } //// [/user/username/projects/reexport/out/main/index.js] @@ -315,15 +316,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:08 AM] File change detected. Starting incremental compilation... +[12:01:09 AM] File change detected. Starting incremental compilation... -[12:01:09 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:10 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:10 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:11 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:30 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' +[12:01:32 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' -[12:01:31 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:33 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... src/main/index.ts:3:14 - error TS2741: Property 'bar' is missing in type '{ foo: number; }' but required in type 'Session'. @@ -335,7 +336,7 @@ Output::    ~~~ 'bar' is declared here. -[12:01:32 AM] Found 1 error. Watching for file changes. +[12:01:34 AM] Found 1 error. Watching for file changes. @@ -411,7 +412,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/index.d.ts] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"4223553457-export interface Session {\n foo: number;\n bar: number;\n}\n","signature":"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"4223553457-export interface Session {\n foo: number;\n bar: number;\n}\n","signature":"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -460,10 +461,11 @@ export interface Session { "../../../../../../a/lib/lib.d.ts", "../../src/pure/index.ts", "../../src/pure/session.ts" - ] + ], + "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 1036 + "size": 1058 } @@ -516,19 +518,19 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:38 AM] File change detected. Starting incremental compilation... -[12:01:37 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:39 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:40 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:58 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. +[12:02:01 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. -[12:01:59 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:02:02 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:02:00 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:02:03 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:02:02 AM] Found 0 errors. Watching for file changes. +[12:02:05 AM] Found 0 errors. Watching for file changes. @@ -603,7 +605,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/index.d.ts] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":101000},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -652,10 +654,11 @@ export interface Session { "../../../../../../a/lib/lib.d.ts", "../../src/pure/index.ts", "../../src/pure/session.ts" - ] + ], + "dtsChangeTime": 101000 }, "version": "FakeTSVersion", - "size": 1023 + "size": 1046 } //// [/user/username/projects/reexport/out/main/index.js] file changed its modified time diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index d3833b1d190c4..5758c9472e54b 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -99,7 +99,7 @@ __createBinding(exports, constants_1, "default", "ConstantNumber"); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5],"dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +169,11 @@ __createBinding(exports, constants_1, "default", "ConstantNumber"); "./constants.ts", "./reexport.ts", "./types.d.ts" - ] + ], + "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1348 + "size": 1370 } @@ -233,7 +234,7 @@ exports["default"] = 2; //// [/src/project/reexport.d.ts] file written with same contents //// [/src/project/reexport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4,5],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -315,9 +316,10 @@ exports["default"] = 2; "./constants.ts", "./reexport.ts", "./types.d.ts" - ] + ], + "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1476 + "size": 1498 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index 9b2c4d4c2f39c..1bb0b632386f5 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -72,7 +72,7 @@ exports["default"] = 1; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973073251-declare const a = 1;\r\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-5298367302-declare const _default: 1;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -127,10 +127,11 @@ exports["default"] = 1; "./class1.ts", "./constants.ts", "./types.d.ts" - ] + ], + "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1136 + "size": 1158 } @@ -188,7 +189,7 @@ exports["default"] = 2; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"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},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4],"dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -255,9 +256,10 @@ exports["default"] = 2; ], "./constants.ts", "./types.d.ts" - ] + ], + "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1264 + "size": 1286 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js index 306d3f5a69a03..90fe401b4c318 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite-discrepancies.js @@ -1,6 +1,552 @@ +0:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} +1:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} 2:: Introduce error but still noEmit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt Incremental: { "./src/directuse.ts": [ @@ -18,9 +564,941 @@ Clean: { "./src/class.ts" ] } +5:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} +6:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} +10:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} +11:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "1786859709-export class classC {\n prop1 = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + [ + "./src/directuse.ts", + [ + { + "file": "./src/directuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/indirectclass.ts", + [ + "./src/indirectuse.ts", + [ + { + "file": "./src/indirectuse.ts", + "start": 76, + "length": 4, + "code": 2551, + "category": 1, + "messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?", + "relatedInformation": [ + { + "file": "./src/class.ts", + "start": 26, + "length": 5, + "messageText": "'prop1' is declared here.", + "category": 3, + "code": 2728 + } + ] + } + ] + ], + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} 13:: Fix error and no emit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt Incremental: { "./src/directuse.ts": [ @@ -37,4 +1515,302 @@ Clean: { "./src/indirectclass.ts": [ "./src/class.ts" ] +} +15:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} +16:: No Change run with noEmit +Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" } \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index c044d84de0b90..84392a1ce0dc7 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -166,7 +166,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,10 +260,11 @@ function someFunc(arguments) { } ] ] - ] + ], + "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2178 + "size": 2200 } @@ -385,7 +386,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -548,10 +549,25 @@ directoryExists:: { "./src/indirectuse.ts", "DtsOnly" ] - ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2768 + "size": 2953 } @@ -603,7 +619,7 @@ directoryExists:: { //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -697,10 +713,11 @@ directoryExists:: { } ] ] - ] + ], + "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2178 + "size": 2200 } @@ -925,7 +942,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1063,10 +1080,11 @@ exports.classC = classC; } ] ] - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 2795 + "size": 2817 } @@ -1336,7 +1354,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1455,10 +1473,25 @@ directoryExists:: { "./src/indirectuse.ts", "DtsOnly" ] - ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 2151 + "size": 2337 } @@ -1522,7 +1555,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":61000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1616,10 +1649,11 @@ exports.classC = classC; } ] ] - ] + ], + "dtsChangeTime": 61000 }, "version": "FakeTSVersion", - "size": 2178 + "size": 2200 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js index 59964403c42da..282a374a0a6bf 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite-discrepancies.js @@ -1,6 +1,166 @@ 2:: Fix error and no emit Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Clean build will not have dtsChangeTime as there was no emit and emitSignatures as undefined for files +Incremental will store the past dtsChangeTime and emitSignatures +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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" + ] + }, + "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 + }, + "./src/class.ts": { + "version": "545032748-export class classC {\n prop = 1;\n}" + }, + "./src/indirectclass.ts": { + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" + }, + "./src/directuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/indirectuse.ts": { + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" + }, + "./src/nochangefile.ts": { + "version": "6714567633-export function writeLog(s: string) {\n}" + }, + "./src/nochangefilewithemitspecificerror.ts": { + "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./src/directuse.ts": [ + "./src/indirectclass.ts" + ], + "./src/indirectclass.ts": [ + "./src/class.ts" + ], + "./src/indirectuse.ts": [ + "./src/indirectclass.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./src/class.ts", + "./src/directuse.ts", + "./src/indirectclass.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + [ + "./src/nochangefilewithemitspecificerror.ts", + [ + { + "file": "./src/nochangefilewithemitspecificerror.ts", + "start": 18, + "length": 18, + "messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.", + "category": 1, + "code": 2396, + "skippedOn": "noEmit" + } + ] + ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": "FakeTime" + }, + "version": "FakeTSVersion" +} Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt Incremental: { "./src/directuse.ts": [ diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index 5b27a2d2eea96..0b1178f62a0f0 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -70,7 +70,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -197,10 +197,18 @@ directoryExists:: { "./src/nochangefilewithemitspecificerror.ts", "Full" ] + ], + "emitSignatures": [ + "./src/class.ts", + "./src/indirectclass.ts", + "./src/directuse.ts", + "./src/indirectuse.ts", + "./src/nochangefile.ts", + "./src/nochangefilewithemitspecificerror.ts" ] }, "version": "FakeTSVersion", - "size": 1730 + "size": 1761 } @@ -329,7 +337,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -423,10 +431,11 @@ function someFunc(arguments) { } ] ] - ] + ], + "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2178 + "size": 2200 } @@ -519,7 +528,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -657,10 +666,11 @@ exports.classC = classC; } ] ] - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 2795 + "size": 2817 } @@ -698,7 +708,7 @@ directoryExists:: { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -817,10 +827,25 @@ directoryExists:: { "./src/indirectuse.ts", "DtsOnly" ] - ] + ], + "emitSignatures": [ + [ + "./src/class.ts", + "-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n" + ], + [ + "./src/directuse.ts", + "-4882119183-export {};\r\n" + ], + [ + "./src/indirectuse.ts", + "-4882119183-export {};\r\n" + ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 2151 + "size": 2337 } @@ -884,7 +909,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"dtsChangeTime":51000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -978,9 +1003,10 @@ exports.classC = classC; } ] ] - ] + ], + "dtsChangeTime": 51000 }, "version": "FakeTSVersion", - "size": 2178 + "size": 2200 } diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index 2cb5bd9c5bbba..4a1c5fe5ec3fb 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -121,7 +121,7 @@ function main() { } //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,10 +180,11 @@ function main() { } "./src/anotherfilewithsamereferenes.ts", "./src/filepresent.ts", "./src/main.ts" - ] + ], + "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1562 + "size": 1584 } @@ -311,7 +312,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,10 +371,11 @@ something(); "./src/anotherfilewithsamereferenes.ts", "./src/filepresent.ts", "./src/main.ts" - ] + ], + "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1574 + "size": 1596 } @@ -448,7 +450,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-7575087679-/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -507,10 +509,11 @@ something(); "./src/anotherfilewithsamereferenes.ts", "./src/filepresent.ts", "./src/main.ts" - ] + ], + "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1586 + "size": 1608 } @@ -616,7 +619,7 @@ function foo() { return 20; } //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"23846498620-/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,6],[2,4,6]],"referencedMap":[[3,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"23846498620-/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,6],[2,4,6]],"referencedMap":[[3,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -688,10 +691,11 @@ function foo() { return 20; } "./src/filepresent.ts", "./src/main.ts", "./src/newfile.ts" - ] + ], + "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 1844 + "size": 1866 } @@ -776,7 +780,7 @@ declare function main(): void; //// [/src/project/src/newFile.d.ts] file written with same contents //// [/src/project/src/newFile.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11552458975-declare function something2(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-13698947860-/// \r\n/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"25064093018-/// \r\n/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11552458975-declare function something2(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-13698947860-/// \r\n/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"25064093018-/// \r\n/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2,6,5],"dtsChangeTime":56000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -854,10 +858,11 @@ declare function main(): void; "./src/filepresent.ts", "./src/main.ts", "./src/newfile.ts" - ] + ], + "dtsChangeTime": 56000 }, "version": "FakeTSVersion", - "size": 2103 + "size": 2125 } @@ -922,7 +927,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11552458975-declare function something2(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-13698947860-/// \r\n/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"25064093018-/// \r\n/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2,6,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"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},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11552458975-declare function something2(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-13698947860-/// \r\n/// \r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"25064093018-/// \r\n/// \r\n/// \r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2,6,5],"dtsChangeTime":56000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1000,9 +1005,10 @@ something(); "./src/filepresent.ts", "./src/main.ts", "./src/newfile.ts" - ] + ], + "dtsChangeTime": 56000 }, "version": "FakeTSVersion", - "size": 2114 + "size": 2136 } diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js index 6511bd36e84d1..24f9f8f6419ee 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js @@ -22,7 +22,8 @@ CleanBuild: "options": { "composite": true, "module": 0 - } + }, + "dtsChangeTime": "FakeTime" }, "version": "FakeTSVersion" } @@ -51,7 +52,8 @@ IncrementalBuild: "../../../lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": "FakeTime" }, "version": "FakeTSVersion" } @@ -79,7 +81,8 @@ CleanBuild: "options": { "composite": true, "module": 0 - } + }, + "dtsChangeTime": "FakeTime" }, "version": "FakeTSVersion" } @@ -106,7 +109,8 @@ IncrementalBuild: }, "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts" - ] + ], + "dtsChangeTime": "FakeTime" }, "version": "FakeTSVersion" } \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index df99f72b21636..187f902bb4a9e 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -66,7 +66,7 @@ var class2 = /** @class */ (function () { //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,10 +101,11 @@ var class2 = /** @class */ (function () { "../../../lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 887 + "size": 909 } @@ -182,7 +183,7 @@ directoryExists:: { //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -224,10 +225,11 @@ directoryExists:: { "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 991 + "size": 1013 } @@ -303,7 +305,7 @@ directoryExists:: { //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -336,10 +338,11 @@ directoryExists:: { }, "semanticDiagnosticsPerFile": [ "../../../lib/lib.d.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 883 + "size": 905 } @@ -375,7 +378,7 @@ directoryExists:: { //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2390931783-declare class class2 {\r\n}\r\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -417,9 +420,10 @@ directoryExists:: { "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 991 + "size": 1013 } diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index 41ff07fe710eb..63bb5e04e5d14 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -60,7 +60,7 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory @@ -126,7 +126,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -161,10 +161,11 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 814 + "size": 836 } @@ -212,7 +213,7 @@ Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program Reloading new file names and options -[12:00:45 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -228,7 +229,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj    ~~~~~~~~~~~~~~~~~~~~~~ File is output from referenced project specified here. -[12:00:46 AM] Found 1 error. Watching for file changes. +[12:00:47 AM] Found 1 error. Watching for file changes. @@ -319,14 +320,14 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:00:49 AM] File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file -[12:00:59 AM] Found 0 errors. Watching for file changes. +[12:01:00 AM] Found 0 errors. Watching for file changes. @@ -383,7 +384,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -425,10 +426,11 @@ exitCode:: ExitStatus.undefined "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 940 } @@ -536,7 +538,7 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:01:08 AM] File change detected. Starting incremental compilation... +[12:01:09 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -553,7 +555,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj    ~~~~~~~~~~~~~~~~~~~~~~ File is output from referenced project specified here. -[12:01:18 AM] Found 1 error. Watching for file changes. +[12:01:19 AM] Found 1 error. Watching for file changes. @@ -606,7 +608,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -639,10 +641,11 @@ exitCode:: ExitStatus.undefined }, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 810 + "size": 832 } @@ -686,14 +689,14 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:25 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -750,7 +753,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -792,10 +795,11 @@ exitCode:: ExitStatus.undefined "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 940 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index aa87083c4f4f1..32a750b743f64 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -121,7 +121,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -165,10 +165,11 @@ export declare function multiply(a: number, b: number): number; "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1355 + "size": 1377 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -194,7 +195,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -255,10 +256,11 @@ export declare const m: typeof mod; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1472 + "size": 1494 } //// [/user/username/projects/sample1/tests/index.js] @@ -279,7 +281,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -353,10 +355,11 @@ export declare const m: typeof mod; "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1617 + "size": 1639 } @@ -393,9 +396,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tests Output:: >> Screen clear -[12:01:16 AM] Starting compilation in watch mode... +[12:01:19 AM] Starting compilation in watch mode... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -515,7 +518,7 @@ function foo() { } //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -576,10 +579,11 @@ function foo() { } "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1490 + "size": 1512 } @@ -606,17 +610,16 @@ getModifiedTimes:: { "/user/username/projects/sample1/core/some_decl.d.ts": 1, "/user/username/projects/sample1/core/tsconfig.json": 1, "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 + "/user/username/projects/sample1/logic/index.ts": 1 } setModifiedTimes:: {} Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:37 AM] Found 0 errors. Watching for file changes. +[12:01:40 AM] Found 0 errors. Watching for file changes. @@ -734,7 +737,7 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":103000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -795,10 +798,11 @@ export declare function gfoo(): void; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 103000 }, "version": "FakeTSVersion", - "size": 1555 + "size": 1578 } @@ -832,9 +836,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:02:00 AM] File change detected. Starting incremental compilation... -[12:02:06 AM] Found 0 errors. Watching for file changes. +[12:02:10 AM] Found 0 errors. Watching for file changes. @@ -911,7 +915,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -985,10 +989,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1657 + "size": 1679 } @@ -1023,7 +1028,7 @@ exports.gfoo = gfoo; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":137000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1083,10 +1088,11 @@ exports.gfoo = gfoo; "../core/anothermodule.d.ts", "../core/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 137000 }, "version": "FakeTSVersion", - "size": 1538 + "size": 1561 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -1131,9 +1137,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:28 AM] File change detected. Starting incremental compilation... +[12:02:33 AM] File change detected. Starting incremental compilation... -[12:02:38 AM] Found 0 errors. Watching for file changes. +[12:02:43 AM] Found 0 errors. Watching for file changes. @@ -1210,7 +1216,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"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},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1284,10 +1290,11 @@ exitCode:: ExitStatus.undefined "../core/index.d.ts", "../logic/decls/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1663 + "size": 1685 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 5bb06323e877b..245ca275fe901 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -57,7 +57,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -85,10 +85,11 @@ export declare class A { "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 718 + "size": 740 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -105,7 +106,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,10 +153,11 @@ export declare const b: A; "../../../../../a/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 875 + "size": 897 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -213,9 +215,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:59 AM] Starting compilation in watch mode... +[12:01:01 AM] Starting compilation in watch mode... -[12:01:03 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -364,7 +366,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -411,10 +413,11 @@ export declare function gfoo(): void; "../../../../../a/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 68000 }, "version": "FakeTSVersion", - "size": 938 + "size": 960 } @@ -450,9 +453,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -566,9 +569,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:31 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Found 0 errors. Watching for file changes. +[12:01:38 AM] Found 0 errors. Watching for file changes. @@ -706,9 +709,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:43 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -846,9 +849,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:47 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... -[12:01:48 AM] Found 0 errors. Watching for file changes. +[12:01:51 AM] Found 0 errors. Watching for file changes. @@ -969,9 +972,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... -[12:01:53 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -1083,14 +1086,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:01:58 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:02 AM] Found 1 error. Watching for file changes. +[12:02:05 AM] Found 1 error. Watching for file changes. @@ -1203,9 +1206,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:05 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... -[12:02:09 AM] Found 0 errors. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -1333,14 +1336,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:11 AM] File change detected. Starting incremental compilation... +[12:02:14 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:15 AM] Found 1 error. Watching for file changes. +[12:02:18 AM] Found 1 error. Watching for file changes. @@ -1459,9 +1462,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:18 AM] File change detected. Starting incremental compilation... +[12:02:21 AM] File change detected. Starting incremental compilation... -[12:02:19 AM] Found 0 errors. Watching for file changes. +[12:02:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 9fdd3c39bb009..37238b8c572e5 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -57,7 +57,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"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},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -85,10 +85,11 @@ export declare class A { "semanticDiagnosticsPerFile": [ "../../../../../a/lib/lib.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 718 + "size": 740 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -105,7 +106,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,10 +153,11 @@ export declare const b: A; "../../../../../a/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 875 + "size": 897 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -213,9 +215,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:00:59 AM] Starting compilation in watch mode... +[12:01:01 AM] Starting compilation in watch mode... -[12:01:03 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -364,7 +366,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -411,10 +413,11 @@ export declare function gfoo(): void; "../../../../../a/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" - ] + ], + "dtsChangeTime": 68000 }, "version": "FakeTSVersion", - "size": 938 + "size": 960 } @@ -450,9 +453,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -562,9 +565,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:31 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:35 AM] Found 0 errors. Watching for file changes. +[12:01:38 AM] Found 0 errors. Watching for file changes. @@ -698,9 +701,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:39 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:43 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -834,9 +837,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:47 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... -[12:01:48 AM] Found 0 errors. Watching for file changes. +[12:01:51 AM] Found 0 errors. Watching for file changes. @@ -952,9 +955,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... -[12:01:53 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -1057,14 +1060,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:01:58 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:02 AM] Found 1 error. Watching for file changes. +[12:02:05 AM] Found 1 error. Watching for file changes. @@ -1171,9 +1174,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:05 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... -[12:02:09 AM] Found 0 errors. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -1295,14 +1298,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:11 AM] File change detected. Starting incremental compilation... +[12:02:14 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:15 AM] Found 1 error. Watching for file changes. +[12:02:18 AM] Found 1 error. Watching for file changes. @@ -1414,9 +1417,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:18 AM] File change detected. Starting incremental compilation... +[12:02:21 AM] File change detected. Starting incremental compilation... -[12:02:19 AM] Found 0 errors. Watching for file changes. +[12:02:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index f79a3764c1e9d..9f66a04249bac 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -81,7 +81,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -109,10 +109,11 @@ export declare class A { "semanticDiagnosticsPerFile": [ "../../../../a/lib/lib.d.ts", "./a.ts" - ] + ], + "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 715 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] @@ -129,7 +130,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-13104686224-import {A} from '@ref/a';\r\nexport const b = new A();\r\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -176,10 +177,11 @@ export declare const b: A; "../../../../a/lib/lib.d.ts", "./a.d.ts", "./b.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 868 + "size": 890 } //// [/user/username/projects/transitiveReferences/c.js] @@ -224,9 +226,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:53 AM] Starting compilation in watch mode... +[12:00:55 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:00:59 AM] Found 0 errors. Watching for file changes. @@ -353,7 +355,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -400,10 +402,11 @@ export declare function gfoo(): void; "../../../../a/lib/lib.d.ts", "./a.d.ts", "./b.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 932 + "size": 954 } @@ -433,9 +436,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... +[12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -537,9 +540,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:25 AM] File change detected. Starting incremental compilation... +[12:01:28 AM] File change detected. Starting incremental compilation... -[12:01:29 AM] Found 0 errors. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. @@ -650,9 +653,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:33 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:37 AM] Found 0 errors. Watching for file changes. +[12:01:40 AM] Found 0 errors. Watching for file changes. @@ -763,9 +766,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:41 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... -[12:01:42 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -874,9 +877,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:46 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:01:50 AM] Found 0 errors. Watching for file changes. @@ -972,14 +975,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 1 {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]}    ~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:01:56 AM] Found 1 error. Watching for file changes. +[12:01:59 AM] Found 1 error. Watching for file changes. @@ -1090,9 +1093,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... +[12:02:02 AM] File change detected. Starting incremental compilation... -[12:02:03 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -1198,14 +1201,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:05 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... tsconfig.b.json:10:21 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 10 "references": [ { "path": "tsconfig.a.json" } ]    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:02:09 AM] Found 1 error. Watching for file changes. +[12:02:12 AM] Found 1 error. Watching for file changes. @@ -1309,9 +1312,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:12 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... -[12:02:13 AM] Found 0 errors. Watching for file changes. +[12:02:16 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index cf0f0ad7a412a..22a066ab09b95 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -68,7 +68,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"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},{"version":"-8566332115-export class A {}\r\n","signature":"-8728835846-export declare class A {\n}\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare class A { "semanticDiagnosticsPerFile": [ "../../../../a/lib/lib.d.ts", "./a.ts" - ] + ], + "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 715 + "size": 737 } //// [/user/username/projects/transitiveReferences/b.js] @@ -116,7 +117,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -163,10 +164,11 @@ export declare const b: A; "../../../../a/lib/lib.d.ts", "./a.d.ts", "./b.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 853 + "size": 875 } //// [/user/username/projects/transitiveReferences/c.js] @@ -211,9 +213,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:53 AM] Starting compilation in watch mode... +[12:00:55 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:00:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 24c2f332a0065..c72c6d7bbfe43 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 909 + "size": 931 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "./src/index.ts", "../b/lib/bar.d.ts", "../b/lib/index.d.ts" - ] + ], + "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 980 + "size": 1002 } @@ -223,9 +225,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:13 AM] Starting compilation in watch mode... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -292,7 +294,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,10 +347,11 @@ exitCode:: ExitStatus.undefined "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 948 + "size": 970 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index ab68382d0db86..a9fcb1b1833c5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":43000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 43000 }, "version": "FakeTSVersion", - "size": 909 + "size": 931 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "../../node_modules/b/lib/bar.d.ts", "../../node_modules/b/lib/index.d.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 1012 + "size": 1034 } @@ -221,9 +223,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:13 AM] Starting compilation in watch mode... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:23 AM] Found 0 errors. Watching for file changes. @@ -290,7 +292,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -343,10 +345,11 @@ exitCode:: ExitStatus.undefined "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 948 + "size": 970 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index 8e26d30211783..e0768a944685e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:43 AM] Starting compilation in watch mode... -[12:00:53 AM] Found 0 errors. Watching for file changes. +[12:00:54 AM] Found 0 errors. Watching for file changes. @@ -129,7 +129,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":51000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,10 +182,11 @@ export {}; "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 51000 }, "version": "FakeTSVersion", - "size": 948 + "size": 970 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index a47b96a08d48f..f5d4d256bbbbf 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 909 + "size": 931 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "./src/index.ts", "../b/lib/bar.d.ts", "../b/lib/index.d.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 994 + "size": 1016 } @@ -224,9 +226,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:13 AM] Starting compilation in watch mode... +[12:01:15 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -293,7 +295,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -346,10 +348,11 @@ exitCode:: ExitStatus.undefined "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 82d5befd9c668..6b653c8e176a2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"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},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 909 + "size": 931 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "../../node_modules/@issue/b/lib/bar.d.ts", "../../node_modules/@issue/b/lib/index.d.ts", "./src/index.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 1040 + "size": 1062 } @@ -222,9 +224,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:13 AM] Starting compilation in watch mode... +[12:01:15 AM] Starting compilation in watch mode... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -291,7 +293,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/index.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -344,10 +346,11 @@ exitCode:: ExitStatus.undefined "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 4a240ef957290..02fe72a2fca72 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -129,7 +129,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":53000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,10 +182,11 @@ export {}; "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index 60c7c3071662f..93f28d6f0baa9 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -129,7 +129,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":53000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,10 +182,11 @@ export {}; "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 7cbfc3a718e39..05da7f349d359 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:43 AM] Starting compilation in watch mode... -[12:00:53 AM] Found 0 errors. Watching for file changes. +[12:00:54 AM] Found 0 errors. Watching for file changes. @@ -129,7 +129,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":51000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,10 +182,11 @@ export {}; "./src/index.ts", "../b/src/bar.ts", "../b/src/index.ts" - ] + ], + "dtsChangeTime": 51000 }, "version": "FakeTSVersion", - "size": 948 + "size": 970 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index da5c09d21b444..7381029b44ea3 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar/foo.ts", "./src/foo.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 911 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":65000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "./src/test.ts", "../b/lib/bar/foo.d.ts", "../b/lib/foo.d.ts" - ] + ], + "dtsChangeTime": 65000 }, "version": "FakeTSVersion", - "size": 994 + "size": 1016 } @@ -225,9 +227,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:16 AM] Starting compilation in watch mode... +[12:01:18 AM] Starting compilation in watch mode... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. @@ -296,7 +298,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":65000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -349,10 +351,11 @@ exitCode:: ExitStatus.undefined "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 65000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 0f00f70491ddc..f3ed73b8da448 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":45000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar/foo.ts", "./src/foo.ts" - ] + ], + "dtsChangeTime": 45000 }, "version": "FakeTSVersion", - "size": 911 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":65000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "../../node_modules/b/lib/bar/foo.d.ts", "../../node_modules/b/lib/foo.d.ts", "./src/test.ts" - ] + ], + "dtsChangeTime": 65000 }, "version": "FakeTSVersion", - "size": 1026 + "size": 1048 } @@ -223,9 +225,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:16 AM] Starting compilation in watch mode... +[12:01:18 AM] Starting compilation in watch mode... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. @@ -294,7 +296,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":65000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,10 +349,11 @@ exitCode:: ExitStatus.undefined "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 65000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index a5f7770910dc8..ecabca5a0ee78 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -131,7 +131,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":53000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,10 +184,11 @@ export {}; "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index e3cfa6c0c8e11..97371e2146325 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":47000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar/foo.ts", "./src/foo.ts" - ] + ], + "dtsChangeTime": 47000 }, "version": "FakeTSVersion", - "size": 911 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "./src/test.ts", "../b/lib/bar/foo.d.ts", "../b/lib/foo.d.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 1009 + "size": 1031 } @@ -225,9 +227,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:18 AM] Starting compilation in watch mode... +[12:01:20 AM] Starting compilation in watch mode... -[12:01:28 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -296,7 +298,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -349,10 +351,11 @@ exitCode:: ExitStatus.undefined "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 977 + "size": 999 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index b95585aeca8fe..8b96432724607 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -60,7 +60,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"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},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":47000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,10 +96,11 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts", "./src/bar/foo.ts", "./src/foo.ts" - ] + ], + "dtsChangeTime": 47000 }, "version": "FakeTSVersion", - "size": 911 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -116,7 +117,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"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},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,10 +170,11 @@ export {}; "../../node_modules/@issue/b/lib/bar/foo.d.ts", "../../node_modules/@issue/b/lib/foo.d.ts", "./src/test.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 1055 + "size": 1077 } @@ -223,9 +225,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear -[12:01:18 AM] Starting compilation in watch mode... +[12:01:20 AM] Starting compilation in watch mode... -[12:01:28 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -294,7 +296,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/lib/test.d.ts] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,10 +349,11 @@ exitCode:: ExitStatus.undefined "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", - "size": 977 + "size": 999 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 39d4a1785bf26..a04b3b3291201 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:47 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:00:58 AM] Found 0 errors. Watching for file changes. @@ -131,7 +131,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,10 +184,11 @@ export {}; "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 977 + "size": 999 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index 99b31f219d8a5..9856ce796ae0b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:47 AM] Starting compilation in watch mode... -[12:00:57 AM] Found 0 errors. Watching for file changes. +[12:00:58 AM] Found 0 errors. Watching for file changes. @@ -131,7 +131,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":55000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,10 +184,11 @@ export {}; "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 55000 }, "version": "FakeTSVersion", - "size": 977 + "size": 999 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index 8482d4115605f..99732ddac56b2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -49,7 +49,7 @@ Output:: >> Screen clear [12:00:45 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -131,7 +131,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"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},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2],"dtsChangeTime":53000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,10 +184,11 @@ export {}; "./src/test.ts", "../b/src/bar/foo.ts", "../b/src/foo.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSVersion", - "size": 962 + "size": 984 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index fccb852b99e4c..7ff21a0154617 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -122,7 +122,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"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},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -160,10 +160,11 @@ export declare function lastElementOf(arr: T[]): T | undefined; "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts", "../../core/utilities.ts" - ] + ], + "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1319 + "size": 1341 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -220,7 +221,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4],"dtsChangeTime":50000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -306,10 +307,11 @@ export declare function createDog(): Dog; "../../animals/dog.ts", "../../animals/index.ts", "../core/utilities.d.ts" - ] + ], + "dtsChangeTime": 50000 }, "version": "FakeTSVersion", - "size": 2423 + "size": 2445 } @@ -350,9 +352,9 @@ setModifiedTimes:: {} /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear -[12:01:09 AM] Starting compilation in watch mode... +[12:01:11 AM] Starting compilation in watch mode... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. @@ -413,7 +415,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/demo/lib/animals/dog.js] file written with same contents //// [/user/username/projects/demo/lib/animals/dog.d.ts] file written with same contents //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4],"dtsChangeTime":50000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -499,10 +501,11 @@ exitCode:: ExitStatus.undefined "../../animals/dog.ts", "../../animals/index.ts", "../../core/utilities.ts" - ] + ], + "dtsChangeTime": 50000 }, "version": "FakeTSVersion", - "size": 2695 + "size": 2717 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 0f2c58f3a37ef..0226f58c2a786 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -114,7 +114,7 @@ Output:: >> Screen clear [12:00:35 AM] Starting compilation in watch mode... -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -232,7 +232,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"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},{"version":"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","signature":"-10510161654-export declare type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n"},{"version":"-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"25274411612-\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n",{"version":"-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5],[3]],"referencedMap":[[5,1],[3,2]],"exportedModulesMap":[[5,3],[3,2]],"semanticDiagnosticsPerFile":[1,2,5,3,4],"dtsChangeTime":53000},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -318,10 +318,11 @@ export declare function createDog(): Dog; "../../animals/dog.ts", "../../animals/index.ts", "../../core/utilities.ts" - ] + ], + "dtsChangeTime": 53000 }, "version": "FakeTSVersion", - "size": 2536 + "size": 2558 } diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index 625d6ec9f7f95..ba93c5f94b9ad 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -78,7 +78,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -123,10 +123,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 756 + "size": 779 } @@ -149,7 +153,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:41 AM] Found 0 errors. Watching for file changes. +[12:00:42 AM] Found 0 errors. Watching for file changes. @@ -186,7 +190,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,10 +224,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 839 + "size": 861 } //// [/user/username/projects/myproject/main.js] @@ -282,9 +287,9 @@ setModifiedTimes:: {} tsc --w --noEmit Output:: >> Screen clear -[12:00:47 AM] Starting compilation in watch mode... +[12:00:48 AM] Starting compilation in watch mode... -[12:00:51 AM] Found 0 errors. Watching for file changes. +[12:00:52 AM] Found 0 errors. Watching for file changes. @@ -323,7 +328,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -364,10 +369,11 @@ exitCode:: ExitStatus.undefined "./main.ts", "Full" ] - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 904 + "size": 926 } @@ -388,9 +394,9 @@ setModifiedTimes:: {} tsc --w Output:: >> Screen clear -[12:00:55 AM] Starting compilation in watch mode... +[12:00:56 AM] Starting compilation in watch mode... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -427,7 +433,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -461,10 +467,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 855 + "size": 877 } //// [/user/username/projects/myproject/main.js] @@ -511,9 +518,9 @@ setModifiedTimes:: {} tsc --w Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:12 AM] Starting compilation in watch mode... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:22 AM] Found 0 errors. Watching for file changes. @@ -552,7 +559,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -586,10 +593,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 871 + "size": 893 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index 625311582bf46..bfa3408f46cd9 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -78,7 +78,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -123,10 +123,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 756 + "size": 779 } @@ -156,7 +160,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:41 AM] Found 0 errors. Watching for file changes. +[12:00:42 AM] Found 0 errors. Watching for file changes. @@ -193,7 +197,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -227,10 +231,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 839 + "size": 861 } //// [/user/username/projects/myproject/main.js] @@ -296,9 +301,9 @@ setModifiedTimes:: {} tsc --w --noEmit Output:: >> Screen clear -[12:00:47 AM] Starting compilation in watch mode... +[12:00:48 AM] Starting compilation in watch mode... -[12:00:51 AM] Found 0 errors. Watching for file changes. +[12:00:52 AM] Found 0 errors. Watching for file changes. @@ -337,7 +342,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -378,10 +383,11 @@ exitCode:: ExitStatus.undefined "./main.ts", "Full" ] - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 904 + "size": 926 } @@ -409,9 +415,9 @@ Output file text for /user/username/projects/myproject/tsconfig.tsbuildinfo is s tsc --w Output:: >> Screen clear -[12:00:55 AM] Starting compilation in watch mode... +[12:00:56 AM] Starting compilation in watch mode... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -448,7 +454,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -482,10 +488,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 855 + "size": 877 } //// [/user/username/projects/myproject/main.js] @@ -539,9 +546,9 @@ setModifiedTimes:: {} tsc --w Output:: >> Screen clear -[12:01:11 AM] Starting compilation in watch mode... +[12:01:12 AM] Starting compilation in watch mode... -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. @@ -580,7 +587,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -614,10 +621,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 871 + "size": 893 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index ee9e6411e81b2..c91b8cc751d71 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -83,7 +83,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,10 +140,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 908 + "size": 931 } @@ -226,7 +230,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -283,10 +287,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 997 + "size": 1020 } @@ -324,7 +332,7 @@ Output:: >> Screen clear [12:00:42 AM] Starting compilation in watch mode... -[12:00:54 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -363,7 +371,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":51000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -398,10 +406,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 51000 }, "version": "FakeTSVersion", - "size": 860 + "size": 882 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index e3edda361f794..1db629922b534 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -83,7 +83,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,10 +140,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 908 + "size": 931 } @@ -233,7 +237,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -290,10 +294,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 997 + "size": 1020 } @@ -338,7 +346,7 @@ Output:: >> Screen clear [12:00:42 AM] Starting compilation in watch mode... -[12:00:54 AM] Found 0 errors. Watching for file changes. +[12:00:55 AM] Found 0 errors. Watching for file changes. @@ -377,7 +385,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":51000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -412,10 +420,11 @@ exitCode:: ExitStatus.undefined "../../../../a/lib/lib.d.ts", "./main.ts", "./other.ts" - ] + ], + "dtsChangeTime": 51000 }, "version": "FakeTSVersion", - "size": 860 + "size": 882 } //// [/user/username/projects/myproject/main.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index 094f47d3d60ab..a072533402594 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -83,7 +83,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./main.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,10 +140,14 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] + ], + "emitSignatures": [ + "./main.ts", + "./other.ts" ] }, "version": "FakeTSVersion", - "size": 908 + "size": 931 } @@ -180,7 +184,7 @@ Output:: >> Screen clear [12:00:32 AM] Starting compilation in watch mode... -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. @@ -219,7 +223,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -264,10 +268,11 @@ exitCode:: ExitStatus.undefined "./other.ts", "Full" ] - ] + ], + "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 901 + "size": 923 } //// [/user/username/projects/myproject/main.d.ts] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index fa11eadd618a5..25c5a34f54915 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -60,7 +60,7 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory @@ -126,7 +126,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -161,10 +161,11 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 814 + "size": 836 } @@ -205,7 +206,7 @@ Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json -[12:00:45 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -221,7 +222,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj    ~~~~~~~~~~~~~~~~~~~~~~ File is output from referenced project specified here. -[12:00:46 AM] Found 1 error. Watching for file changes. +[12:00:47 AM] Found 1 error. Watching for file changes. @@ -308,14 +309,14 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:00:49 AM] File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file -[12:00:59 AM] Found 0 errors. Watching for file changes. +[12:01:00 AM] Found 0 errors. Watching for file changes. @@ -372,7 +373,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,10 +415,11 @@ exitCode:: ExitStatus.undefined "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 940 } @@ -523,7 +525,7 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:01:08 AM] File change detected. Starting incremental compilation... +[12:01:09 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -540,7 +542,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj    ~~~~~~~~~~~~~~~~~~~~~~ File is output from referenced project specified here. -[12:01:18 AM] Found 1 error. Watching for file changes. +[12:01:19 AM] Found 1 error. Watching for file changes. @@ -593,7 +595,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -626,10 +628,11 @@ exitCode:: ExitStatus.undefined }, "semanticDiagnosticsPerFile": [ "../../../../../../a/lib/lib.d.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 810 + "size": 832 } @@ -673,14 +676,14 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/pro Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program -[12:01:24 AM] File change detected. Starting incremental compilation... +[12:01:25 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -737,7 +740,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"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},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -779,10 +782,11 @@ exitCode:: ExitStatus.undefined "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 940 } diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index e34a58bfc614a..7493ebacf8eb7 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -60,7 +60,7 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -[12:00:40 AM] Found 0 errors. Watching for file changes. +[12:00:41 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Wild card directory @@ -126,7 +126,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -161,10 +161,11 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts", "../project1/class1.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 802 + "size": 824 } @@ -205,14 +206,14 @@ Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Synchronizing program Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json -[12:00:45 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/projects/project2/class2.ts"] options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 250 undefined Source file -[12:00:55 AM] Found 0 errors. Watching for file changes. +[12:00:56 AM] Found 0 errors. Watching for file changes. @@ -269,7 +270,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/class2.d.ts] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"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},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -311,10 +312,11 @@ exitCode:: ExitStatus.undefined "../project1/class1.ts", "../project1/class3.ts", "./class2.ts" - ] + ], + "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 1002 + "size": 1024 } From 5bccee86ada6c48706290561e9292e6c1d3ed42c Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 14 Apr 2022 19:09:31 -0700 Subject: [PATCH 35/64] Store dts time for --out in the buildInfo --- src/compiler/builder.ts | 270 ++++++++++-------- src/compiler/commandLineParser.ts | 4 + src/compiler/emitter.ts | 11 + src/compiler/tsbuildPublic.ts | 86 +++--- src/compiler/types.ts | 1 + src/compiler/watchPublic.ts | 1 - src/testRunner/unittests/tsbuild/helpers.ts | 12 +- .../modules-and-globals-mixed-in-amd.js | 66 +++-- .../multiple-emitHelpers-in-all-projects.js | 104 +++++-- .../multiple-prologues-in-all-projects.js | 104 +++++-- .../shebang-in-all-projects.js | 66 +++-- .../amdModulesWithOut/stripInternal.js | 101 +++++-- .../triple-slash-refs-in-all-projects.js | 66 +++-- ...e-resolution-finds-original-source-file.js | 28 +- ...rojects-and-concatenates-them-correctly.js | 64 ++++- .../outFile/builds-till-project-specified.js | 12 +- .../tsbuild/outFile/clean-projects.js | 36 ++- .../outFile/cleans-till-project-specified.js | 36 ++- ...s-between-non-dts-changes-discrepancies.js | 214 ++++++++++++++ ...al-flag-changes-between-non-dts-changes.js | 106 ++++--- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 86 ++++-- ...erated-when-incremental-is-set-to-false.js | 32 ++- ...-buildInfo-absence-results-in-new-build.js | 106 +++++-- .../baseline-sectioned-sourcemaps.js | 139 ++++++--- .../declarationMap-and-sourceMap-disabled.js | 32 ++- .../emitHelpers-in-all-projects.js | 181 ++++++++---- ...tHelpers-in-only-one-dependency-project.js | 124 +++++--- .../tsbuild/outfile-concat/explainFiles.js | 120 +++++--- .../multiple-emitHelpers-in-all-projects.js | 124 +++++--- ...tiple-emitHelpers-in-different-projects.js | 124 +++++--- .../multiple-prologues-in-all-projects.js | 181 ++++++++---- ...ultiple-prologues-in-different-projects.js | 124 +++++--- .../outfile-concat/shebang-in-all-projects.js | 139 ++++++--- .../shebang-in-only-one-dependency-project.js | 84 ++++-- .../outfile-concat/strict-in-all-projects.js | 181 ++++++++---- .../strict-in-one-dependency.js | 124 +++++--- ...hen-internal-is-inside-another-internal.js | 44 ++- ...en-one-two-three-are-prepended-in-order.js | 151 +++++++--- .../stripInternal-jsdoc-style-comment.js | 121 +++++--- ...en-one-two-three-are-prepended-in-order.js | 99 +++++-- ...-jsdoc-style-with-comments-emit-enabled.js | 84 ++++-- ...l-when-few-members-of-enum-are-internal.js | 44 ++- ...en-one-two-three-are-prepended-in-order.js | 224 ++++++++++----- ...nal-when-prepend-is-completely-internal.js | 28 +- ...en-one-two-three-are-prepended-in-order.js | 151 +++++++--- ...tripInternal-with-comments-emit-enabled.js | 121 +++++--- .../tsbuild/outfile-concat/stripInternal.js | 178 ++++++++---- .../triple-slash-refs-in-all-projects.js | 139 ++++++--- .../triple-slash-refs-in-one-project.js | 84 ++++-- ...roject-is-not-composite-but-incremental.js | 32 ++- ...t-composite-but-uses-project-references.js | 57 ++-- ...final-project-specifies-tsBuildInfoFile.js | 45 ++- ...-source-files-are-empty-in-the-own-file.js | 84 ++++-- .../reference/tsbuild/sample1/sample.js | 14 +- .../when-logic-specifies-tsBuildInfoFile.js | 5 +- ...ncing-project-even-for-non-local-change.js | 90 ++++-- 56 files changed, 3639 insertions(+), 1445 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 3a84d3ccc4b2f..6dfbf30d9012d 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -76,6 +76,7 @@ namespace ts { hasReusableDiagnostic?: true; emitSignatures?: ReadonlyESMap; + outSignature?: string; dtsChangeTime: number | undefined; hasChangedEmitSignature?: boolean; } @@ -142,6 +143,7 @@ namespace ts { */ compilerOptions: CompilerOptions; emitSignatures?: ESMap; + outSignature?: string; dtsChangeTime: number | undefined; hasChangedEmitSignature?: boolean; /** @@ -185,11 +187,14 @@ namespace ts { state.program = newProgram; const compilerOptions = newProgram.getCompilerOptions(); state.compilerOptions = compilerOptions; - const isOutFile = !!outFile(compilerOptions); + const outFilePath = outFile(compilerOptions); // With --out or --outFile, any change affects all semantic diagnostics so no need to cache them - if (!isOutFile) { + if (!outFilePath) { state.semanticDiagnosticsPerFile = new Map(); } + else if (compilerOptions.composite && oldState?.outSignature && outFilePath === outFile(oldState?.compilerOptions)) { + state.outSignature = oldState?.outSignature; + } state.changedFilesSet = new Set(); state.dtsChangeTime = oldState?.dtsChangeTime; @@ -200,7 +205,7 @@ namespace ts { const canCopyEmitSignatures = compilerOptions.composite && oldState?.emitSignatures && oldCompilerOptions && - !isOutFile && + !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldCompilerOptions); if (useOldState) { // Verify the sanity of old state @@ -215,7 +220,7 @@ namespace ts { // Copy old state's changed files set changedFilesSet.forEach(value => state.changedFilesSet.add(value)); - if (!isOutFile && oldState!.affectedFilesPendingEmit) { + if (!outFilePath && oldState!.affectedFilesPendingEmit) { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); state.affectedFilesPendingEmitIndex = oldState!.affectedFilesPendingEmitIndex; @@ -272,7 +277,7 @@ namespace ts { BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, /*firstSourceFile*/ undefined) .forEach(file => state.changedFilesSet.add(file.resolvedPath)); } - else if (oldCompilerOptions && !isOutFile && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) { + else if (oldCompilerOptions && !outFilePath && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) { // Add all files to affectedFilesPendingEmit since emit changed newProgram.getSourceFiles().forEach(f => addToAffectedFilesPendingEmit(state, f.resolvedPath, BuilderFileEmit.Full)); Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); @@ -354,6 +359,7 @@ namespace ts { newState.programEmitComplete = state.programEmitComplete; newState.filesChangingSignature = state.filesChangingSignature && new Set(state.filesChangingSignature); newState.emitSignatures = state.emitSignatures && new Map(state.emitSignatures); + newState.outSignature = state.outSignature; newState.dtsChangeTime = state.dtsChangeTime; newState.hasChangedEmitSignature = state.hasChangedEmitSignature; return newState; @@ -821,8 +827,8 @@ namespace ts { */ export type ProgramBuildInfoFileInfo = string | ProgramBuildInfoBuilderStateFileInfo; export interface ProgramBuildInfo { - fileNames: readonly string[]; - fileInfos: readonly ProgramBuildInfoFileInfo[]; + fileNames: readonly string[] | undefined; + fileInfos: readonly ProgramBuildInfoFileInfo[] | undefined; options: CompilerOptions | undefined; fileIdsList?: readonly (readonly ProgramBuildInfoFileId[])[]; referencedMap?: ProgramBuildInfoReferencedMap; @@ -831,6 +837,7 @@ namespace ts { affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly ProgramBuildInfoFileId[]; emitSignatures?: readonly ProgramBuildInfoEmitSignature[]; + outSignature?: string; dtsChangeTime?: number; } @@ -838,103 +845,107 @@ namespace ts { * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ function getProgramBuildInfo(state: ReusableBuilderProgramState, getCanonicalFileName: GetCanonicalFileName, host: BuilderProgramHost): ProgramBuildInfo | undefined { - if (outFile(state.compilerOptions)) return undefined; + const outFilePath = outFile(state.compilerOptions); + if (outFilePath && !state.compilerOptions.composite) return; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); - const fileNames: string[] = []; + const fileNames: string[] | undefined = !outFilePath ? [] : undefined; const fileNameToFileId = new Map(); let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; - const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { - // Ensure fileId - const fileId = toFileId(key); - Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); - const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); - const actualSignature = signature ?? value.signature; - if (state.compilerOptions.composite) { - const file = state.program!.getSourceFileByPath(key)!; - if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { - const emitSignature = state.emitSignatures?.get(key); - if (emitSignature !== actualSignature) { - (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); + let fileInfos: ProgramBuildInfoFileInfo[] | undefined; + let referencedMap: ProgramBuildInfoReferencedMap | undefined; + let exportedModulesMap: ProgramBuildInfoReferencedMap | undefined; + let semanticDiagnosticsPerFile: ProgramBuildInfoDiagnostic[] | undefined; + let affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; + let changeFileSet: ProgramBuildInfoFileId[] | undefined; + if (!outFilePath) { + fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { + // Ensure fileId + const fileId = toFileId(key); + Debug.assert(fileNames![fileId - 1] === relativeToBuildInfo(key)); + const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); + const actualSignature = signature ?? value.signature; + if (state.compilerOptions.composite) { + const file = state.program!.getSourceFileByPath(key)!; + if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { + const emitSignature = state.emitSignatures?.get(key); + if (emitSignature !== actualSignature) { + (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); + } } } - } - return value.version === actualSignature ? - value.affectsGlobalScope || value.impliedFormat ? - // If file version is same as signature, dont serialize signature - { version: value.version, signature: undefined, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : - // If file info only contains version and signature and both are same we can just write string - value.version : - actualSignature !== undefined ? // If signature is not same as version, encode signature in the fileInfo - signature === undefined ? - // If we havent computed signature, use fileInfo as is - value : - // Serialize fileInfo with new updated signature - { version: value.version, signature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : - // Signature of the FileInfo is undefined, serialize it as false - { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }; - }); + return value.version === actualSignature ? + value.affectsGlobalScope || value.impliedFormat ? + // If file version is same as signature, dont serialize signature + { version: value.version, signature: undefined, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : + // If file info only contains version and signature and both are same we can just write string + value.version : + actualSignature !== undefined ? // If signature is not same as version, encode signature in the fileInfo + signature === undefined ? + // If we havent computed signature, use fileInfo as is + value : + // Serialize fileInfo with new updated signature + { version: value.version, signature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : + // Signature of the FileInfo is undefined, serialize it as false + { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }; + }); - let referencedMap: ProgramBuildInfoReferencedMap | undefined; - if (state.referencedMap) { - referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map(key => [ - toFileId(key), - toFileIdListId(state.referencedMap!.getValues(key)!) - ]); - } + if (state.referencedMap) { + referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map(key => [ + toFileId(key), + toFileIdListId(state.referencedMap!.getValues(key)!) + ]); + } - let exportedModulesMap: ProgramBuildInfoReferencedMap | undefined; - if (state.exportedModulesMap) { - exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), key => { - if (state.currentAffectedFilesExportedModulesMap) { - if (state.currentAffectedFilesExportedModulesMap.deletedKeys()?.has(key)) { - return undefined; - } + if (state.exportedModulesMap) { + exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), key => { + if (state.currentAffectedFilesExportedModulesMap) { + if (state.currentAffectedFilesExportedModulesMap.deletedKeys()?.has(key)) { + return undefined; + } - const newValue = state.currentAffectedFilesExportedModulesMap.getValues(key); - if (newValue) { - return [toFileId(key), toFileIdListId(newValue)]; + const newValue = state.currentAffectedFilesExportedModulesMap.getValues(key); + if (newValue) { + return [toFileId(key), toFileIdListId(newValue)]; + } } - } - // Not in temporary cache, use existing value - return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; - }); - } + // Not in temporary cache, use existing value + return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; + }); + } - let semanticDiagnosticsPerFile: ProgramBuildInfoDiagnostic[] | undefined; - if (state.semanticDiagnosticsPerFile) { - for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { - const value = state.semanticDiagnosticsPerFile.get(key)!; - (semanticDiagnosticsPerFile ||= []).push( - value.length ? - [ - toFileId(key), - state.hasReusableDiagnostic ? - value as readonly ReusableDiagnostic[] : - convertToReusableDiagnostics(value as readonly Diagnostic[], relativeToBuildInfo) - ] : - toFileId(key) - ); + if (state.semanticDiagnosticsPerFile) { + for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { + const value = state.semanticDiagnosticsPerFile.get(key)!; + (semanticDiagnosticsPerFile ||= []).push( + value.length ? + [ + toFileId(key), + state.hasReusableDiagnostic ? + value as readonly ReusableDiagnostic[] : + convertToReusableDiagnostics(value as readonly Diagnostic[], relativeToBuildInfo) + ] : + toFileId(key) + ); + } } - } - let affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; - if (state.affectedFilesPendingEmit) { - const seenFiles = new Set(); - for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) { - if (tryAddToSet(seenFiles, path)) { - (affectedFilesPendingEmit ||= []).push([toFileId(path), state.affectedFilesPendingEmitKind!.get(path)!]); + if (state.affectedFilesPendingEmit) { + const seenFiles = new Set(); + for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) { + if (tryAddToSet(seenFiles, path)) { + (affectedFilesPendingEmit ||= []).push([toFileId(path), state.affectedFilesPendingEmitKind!.get(path)!]); + } } } - } - let changeFileSet: ProgramBuildInfoFileId[] | undefined; - if (state.changedFilesSet.size) { - for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { + if (state.changedFilesSet.size) { + for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { (changeFileSet ||= []).push(toFileId(path)); + } } } @@ -949,6 +960,7 @@ namespace ts { affectedFilesPendingEmit, changeFileSet, emitSignatures, + outSignature: state.outSignature, dtsChangeTime: state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime, }; @@ -963,8 +975,8 @@ namespace ts { function toFileId(path: Path): ProgramBuildInfoFileId { let fileId = fileNameToFileId.get(path); if (fileId === undefined) { - fileNames.push(relativeToBuildInfo(path)); - fileNameToFileId.set(path, fileId = fileNames.length as ProgramBuildInfoFileId); + fileNames!.push(relativeToBuildInfo(path)); + fileNameToFileId.set(path, fileId = fileNames!.length as ProgramBuildInfoFileId); } return fileId; } @@ -984,17 +996,21 @@ namespace ts { function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions, relativeToBuildInfo: (path: string) => string) { let result: CompilerOptions | undefined; const { optionsNameMap } = getOptionsNameMap(); + const isOutFile = outFile(options); for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { const optionKey = name.toLowerCase(); const optionInfo = optionsNameMap.get(optionKey); - if (optionInfo?.affectsEmit || optionInfo?.affectsSemanticDiagnostics || + const emitOption = !isOutFile ? + optionInfo?.affectsEmit || optionInfo?.affectsSemanticDiagnostics || // We need to store `strict`, even though it won't be examined directly, so that the // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly from the buildinfo optionKey === "strict" || // We need to store these to determine whether `lib` files need to be rechecked. optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" || - optionKey === "noemit") { + optionKey === "noemit" : + optionInfo?.affectsOutFileBuildInfo; + if (emitOption) { (result ||= {})[name] = convertToReusableCompilerOptionValue( optionInfo, options[name] as CompilerOptionsValue, @@ -1090,6 +1106,10 @@ namespace ts { return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics || emptyArray }; } + export function computeSignature(text: string, data: WriteFileCallbackData | undefined, computeHash: BuilderState.ComputeHash | undefined) { + return BuilderState.computeSignature(data?.sourceMapUrlPos !== undefined ? text.substring(0, data.sourceMapUrlPos) : text, computeHash); + } + export function createBuilderProgram(kind: BuilderProgramKind.SemanticDiagnosticsBuilderProgram, builderCreationParameters: BuilderCreationParameters): SemanticDiagnosticsBuilderProgram; export function createBuilderProgram(kind: BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram, builderCreationParameters: BuilderCreationParameters): EmitAndSemanticDiagnosticsBuilderProgram; export function createBuilderProgram(kind: BuilderProgramKind, { newProgram, host, oldProgram, configFileParsingDiagnostics }: BuilderCreationParameters) { @@ -1205,7 +1225,7 @@ namespace ts { // Otherwise just affected file Debug.checkDefined(state.program).emit( affected === state.program ? undefined : affected as SourceFile, - affected !== state.program && getEmitDeclarations(state.compilerOptions) ? + getEmitDeclarations(state.compilerOptions) ? getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, @@ -1221,34 +1241,43 @@ namespace ts { function getWriteFileCallback(writeFile: WriteFileCallback | undefined, customTransformers: CustomTransformers | undefined): WriteFileCallback { return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { if (isDeclarationFileName(fileName)) { - Debug.assert(sourceFiles?.length === 1); - let newSignature; - if (!customTransformers) { - const file = sourceFiles[0]; - const info = state.fileInfos.get(file.resolvedPath)!; - const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; - if (signature === file.version) { - newSignature = computeSignature(text, data); - if (newSignature !== file.version) { // Update it - if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); - if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); - if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { - state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); - } - else { - info.signature = newSignature; - if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + if (!outFile(state.compilerOptions)) { + Debug.assert(sourceFiles?.length === 1); + let newSignature; + if (!customTransformers) { + const file = sourceFiles[0]; + const info = state.fileInfos.get(file.resolvedPath)!; + const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; + if (signature === file.version) { + newSignature = computeSignature(text, data, computeHash); + if (newSignature !== file.version) { // Update it + if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); + if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); + if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { + state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); + } + else { + info.signature = newSignature; + if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + } } } } - } - if (state.compilerOptions.composite) { - const filePath = sourceFiles[0].resolvedPath; - const oldSignature = state.emitSignatures?.get(filePath); - newSignature ||= computeSignature(text, data); - if (newSignature !== oldSignature) { - (state.emitSignatures ||= new Map()).set(filePath, newSignature); + if (state.compilerOptions.composite) { + const filePath = sourceFiles[0].resolvedPath; + const oldSignature = state.emitSignatures?.get(filePath); + newSignature ||= computeSignature(text, data, computeHash); + if (newSignature !== oldSignature) { + (state.emitSignatures ||= new Map()).set(filePath, newSignature); + state.hasChangedEmitSignature = true; + } + } + } + else if (state.compilerOptions.composite) { + const newSignature = computeSignature(text, data, computeHash); + if (newSignature !== state.outSignature) { + state.outSignature = newSignature; state.hasChangedEmitSignature = true; } } @@ -1259,10 +1288,6 @@ namespace ts { }; } - function computeSignature(text: string, data: WriteFileCallbackData | undefined) { - return BuilderState.computeSignature(data?.sourceMapUrlPos !== undefined ? text.substring(0, data.sourceMapUrlPos) : text, computeHash); - } - /** * Emits the JavaScript and declaration files. * When targetSource file is specified, emits the files corresponding to that source file, @@ -1319,7 +1344,7 @@ namespace ts { } return Debug.checkDefined(state.program).emit( targetSourceFile, - !outFile(state.compilerOptions) && getEmitDeclarations(state.compilerOptions) ? + getEmitDeclarations(state.compilerOptions) ? getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, @@ -1433,11 +1458,11 @@ namespace ts { const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - const filePaths = program.fileNames.map(toPath); + const filePaths = program.fileNames?.map(toPath); const filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); const fileInfos = new Map(); - const emitSignatures = program.options?.composite ? new Map() : undefined; - program.fileInfos.forEach((fileInfo, index) => { + const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; + program.fileInfos?.forEach((fileInfo, index) => { const path = toFilePath(index + 1 as ProgramBuildInfoFileId); const stateFileInfo = toBuilderStateFileInfo(fileInfo); fileInfos.set(path, stateFileInfo); @@ -1460,6 +1485,7 @@ namespace ts { changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), dtsChangeTime: program.dtsChangeTime, emitSignatures: emitSignatures?.size ? emitSignatures : undefined, + outSignature: program.outSignature, }; return { getState: () => state, @@ -1495,7 +1521,7 @@ namespace ts { } function toFilePath(fileId: ProgramBuildInfoFileId) { - return filePaths[fileId - 1]; + return filePaths![fileId - 1]; } function toFilePathsSet(fileIdsListId: ProgramBuildInfoFileIdListId) { diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 4ba4182bc044c..7a9e24643239e 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -523,6 +523,7 @@ namespace ts { type: "string", affectsEmit: true, affectsDeclarationPath: true, + affectsOutFileBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, showInSimplifiedHelpView: true, @@ -556,6 +557,7 @@ namespace ts { name: "composite", type: "boolean", affectsEmit: true, + affectsOutFileBuildInfo: true, isTSConfigOnly: true, category: Diagnostics.Projects, transpileOptionValue: undefined, @@ -566,6 +568,7 @@ namespace ts { name: "tsBuildInfoFile", type: "string", affectsEmit: true, + affectsOutFileBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, category: Diagnostics.Projects, @@ -992,6 +995,7 @@ namespace ts { type: "string", affectsEmit: true, affectsDeclarationPath: true, + affectsOutFileBuildInfo: true, isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files // for correct behaviour, please use outFile category: Diagnostics.Backwards_Compatibility, diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 084e8cdb107cf..1b8fd15ddeed8 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -710,6 +710,8 @@ namespace ts { getCanonicalFileName(fileName: string): string; useCaseSensitiveFileNames(): boolean; getNewLine(): string; + createHash?(data: string): string; + now?(): Date; } function createSourceFilesFromBundleBuildInfo(bundle: BundleBuildInfo, buildInfoDirectory: string, host: EmitUsingBuildInfoHost): readonly SourceFile[] { @@ -780,6 +782,8 @@ namespace ts { const outputFiles: OutputFile[] = []; const prependNodes = createPrependNodes(config.projectReferences, getCommandLine, f => host.readFile(f)); const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle, buildInfoDirectory, host); + let changedDtsText: string | undefined; + let changedDtsData: WriteFileCallbackData | undefined; const emitHost: EmitHost = { getPrependNodes: memoize(() => [...prependNodes, ownPrependInput]), getCanonicalFileName: host.getCanonicalFileName, @@ -806,6 +810,11 @@ namespace ts { case buildInfoPath: const newBuildInfo = data!.buildInfo!; newBuildInfo.program = buildInfo.program; + if (newBuildInfo.program && changedDtsText !== undefined && config.options.composite) { + // Update the output signature + newBuildInfo.program.outSignature = computeSignature(changedDtsText, changedDtsData, maybeBind(host, host.createHash)); + newBuildInfo.program.dtsChangeTime = getCurrentTime(host).getTime(); + } // Update sourceFileInfo const { js, dts, sourceFiles } = buildInfo.bundle!; newBuildInfo.bundle!.js!.sources = js!.sources; @@ -817,6 +826,8 @@ namespace ts { return; case declarationFilePath: if (declarationText === text) return; + changedDtsText = text; + changedDtsData = data; break; case declarationMapPath: if (declarationMapText === text) return; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 3dfc4462b2f23..5a61adac9eb62 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -68,10 +68,6 @@ namespace ts { return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => new Map()); } - function newer(date1: Date | undefined, date2: Date): Date | undefined { - return date1 ? date2 > date1 ? date2 : date1 : date2; - } - /*@internal*/ export function getCurrentTime(host: { now?(): Date; }) { return host.now ? host.now() : new Date(); @@ -987,33 +983,23 @@ namespace ts { // Actual Emit const { host, compilerHost } = state; let resultFlags = BuildResultFlags.DeclarationOutputUnchanged; - let newestDeclarationFileContentChangedTime: Date | undefined; + const existingBuildInfo = state.buildInfoCache.get(projectPath)?.buildInfo || undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); - const isOutFile = outFile(config.options); outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { - if (resultFlags === BuildResultFlags.DeclarationOutputUnchanged && isDeclarationFileName(name)) { - // Check for unchanged .d.ts files - if (state.readFileWithCache(name) === text) { - if (config.options.composite && isOutFile) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, name)); - } - } - else { + emittedOutputs.set(toPath(state, name), name); + if (buildInfo) { + setBuildInfo(state, buildInfo, projectPath, program!.getCompilerOptions()); + if (buildInfo.program?.dtsChangeTime !== existingBuildInfo?.program?.dtsChangeTime) { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; } } - - const path = toPath(state, name); - emittedOutputs.set(path, name); - if (buildInfo) setBuildInfo(state, buildInfo, projectPath, program!.getCompilerOptions()); writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); finishEmit( emitterDiagnostics, emittedOutputs, - newestDeclarationFileContentChangedTime, outputFiles.length ? outputFiles[0].name : getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()), resultFlags ); @@ -1045,7 +1031,6 @@ namespace ts { function finishEmit( emitterDiagnostics: DiagnosticCollection, emittedOutputs: ESMap, - newestDeclarationFileContentChangedTime: Date | undefined, oldestOutputFileName: string, resultFlags: BuildResultFlags ) { @@ -1068,12 +1053,11 @@ namespace ts { } // Update time stamps for rest of the outputs - const anyDtsChange = !(resultFlags & BuildResultFlags.DeclarationOutputUnchanged); - newestDeclarationFileContentChangedTime = updateOutputTimestampsWorker(state, config, anyDtsChange, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, newestDeclarationFileContentChangedTime, emittedOutputs); + updateOutputTimestampsWorker(state, config, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); state.diagnostics.delete(projectPath); state.projectStatus.set(projectPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: newestDeclarationFileContentChangedTime || getDtsChangeTime(state, config.options, projectPath), + newestDeclarationFileContentChangedTime: getDtsChangeTime(state, config.options, projectPath), oldestOutputFileName }); afterProgramDone(state, program, config); @@ -1124,19 +1108,24 @@ namespace ts { Debug.assert(!!outputFiles.length); const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); + let resultFlags = BuildResultFlags.DeclarationOutputUnchanged; + const existingBuildInfo = state.buildInfoCache.get(projectPath)!.buildInfo as BuildInfo; outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { - const path = toPath(state, name); - emittedOutputs.set(path, name); - if (buildInfo) setBuildInfo(state, buildInfo, projectPath, config.options); + emittedOutputs.set(toPath(state, name), name); + if (buildInfo) { + setBuildInfo(state, buildInfo, projectPath, config.options); + if (buildInfo.program?.dtsChangeTime !== existingBuildInfo.program?.dtsChangeTime) { + resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; + } + } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); const emitDiagnostics = finishEmit( emitterDiagnostics, emittedOutputs, - /*newestDeclarationFileContentChangedTime*/ undefined, outputFiles[0].name, - BuildResultFlags.DeclarationOutputUnchanged + resultFlags ); return { emitSkipped: false, diagnostics: emitDiagnostics }; } @@ -1718,13 +1707,24 @@ namespace ts { return actual; } - function updateOutputTimestampsWorker(state: SolutionBuilderState, proj: ParsedCommandLine, anyDtsChange: boolean, verboseMessage: DiagnosticMessage, newestDeclarationFileContentChangedTime?: Date, skipOutputs?: ESMap) { - if (proj.options.noEmit) return undefined; - + function updateOutputTimestampsWorker( + state: SolutionBuilderState, + proj: ParsedCommandLine, + verboseMessage: DiagnosticMessage, + skipOutputs?: ESMap + ) { + if (proj.options.noEmit) return; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); + if (buildInfoPath) { + if (!skipOutputs?.has(toPath(state, buildInfoPath))) { + if (!!state.options.verbose) reportStatus(state, verboseMessage, proj.options.configFilePath!); + state.host.setModifiedTime(buildInfoPath, getCurrentTime(state.host)); + } + return; + } + const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); - const isOutFile = outFile(proj.options); if (!skipOutputs || outputs.length !== skipOutputs.size) { let reportVerbose = !!state.options.verbose; let now: Date | undefined; @@ -1733,26 +1733,18 @@ namespace ts { continue; } - if (proj.options.composite && isOutFile && !anyDtsChange && isDeclarationFileName(file)) { - newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, ts.getModifiedTime(host, file)); + if (reportVerbose) { + reportVerbose = false; + reportStatus(state, verboseMessage, proj.options.configFilePath!); } - if (!buildInfoPath || file === buildInfoPath) { - if (reportVerbose) { - reportVerbose = false; - reportStatus(state, verboseMessage, proj.options.configFilePath!); - } - - host.setModifiedTime(file, now ||= getCurrentTime(state.host)); - } + host.setModifiedTime(file, now ||= getCurrentTime(state.host)); } } - - return newestDeclarationFileContentChangedTime; } function getDtsChangeTime(state: SolutionBuilderState, options: CompilerOptions, resolvedConfigPath: ResolvedConfigFilePath) { - if (!options.composite || outFile(options)) return undefined; + if (!options.composite) return undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options)!; const buildInfo = getBuildInfo(state, buildInfoPath, resolvedConfigPath, /*modifiedTime*/ undefined); return buildInfo?.program?.dtsChangeTime ? new Date(buildInfo.program.dtsChangeTime) : undefined; @@ -1762,10 +1754,10 @@ namespace ts { if (state.options.dry) { return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath!); } - const priorNewestUpdateTime = updateOutputTimestampsWorker(state, proj, /*anyDtsChange*/ false, Diagnostics.Updating_output_timestamps_of_project_0); + updateOutputTimestampsWorker(state, proj, Diagnostics.Updating_output_timestamps_of_project_0); state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: priorNewestUpdateTime || getDtsChangeTime(state, proj.options, resolvedPath), + newestDeclarationFileContentChangedTime: getDtsChangeTime(state, proj.options, resolvedPath), oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames()) }); } diff --git a/src/compiler/types.ts b/src/compiler/types.ts index e6d2323b66970..1134ca75d5b7d 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6422,6 +6422,7 @@ namespace ts { affectsEmit?: true; // true if the options affects emit affectsProgramStructure?: true; // true if program should be reconstructed from root files if option changes and does not affect module resolution as affectsModuleResolution indirectly means program needs to reconstructed affectsDeclarationPath?: true; // true if the options affects declaration file path computed + affectsOutFileBuildInfo?: true; // true if this options should be emitted in buildInfo with --out transpileOptionValue?: boolean | undefined; // If set this means that the option should be set to this value when transpiling extraValidation?: (value: CompilerOptionsValue) => [DiagnosticMessage, ...string[]] | undefined; // Additional validation to be performed for the value to be valid } diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index e1b6799035a7f..6d807f6630f83 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -7,7 +7,6 @@ namespace ts { getBuildInfo?(fileName: string, configFilePath: string | undefined): BuildInfo | undefined; } export function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost) { - if (outFile(compilerOptions)) return undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions); if (!buildInfoPath) return undefined; let buildInfo; diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index b2ce523d028d9..8821292d6bd61 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -200,9 +200,9 @@ interface Symbol { type ReadableProgramBuilderInfoFilePendingEmit = [string, "DtsOnly" | "Full"]; type ReadableProgramBuildInfoEmitSignature = string | [string, string]; interface ReadableProgramBuildInfo { - fileNames: readonly string[]; + fileNames: readonly string[] | undefined; fileNamesList: readonly (readonly string[])[] | undefined; - fileInfos: MapLike; + fileInfos: MapLike | undefined; options: CompilerOptions | undefined; referencedMap?: MapLike; exportedModulesMap?: MapLike; @@ -210,17 +210,18 @@ interface Symbol { affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly string[]; emitSignatures?: readonly ReadableProgramBuildInfoEmitSignature[]; + outSignature?: string; dtsChangeTime?: number; } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { const fileInfos: ReadableProgramBuildInfo["fileInfos"] = {}; - buildInfo.program?.fileInfos.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toBuilderStateFileInfo(fileInfo)); + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toBuilderStateFileInfo(fileInfo)); const fileNamesList = buildInfo.program?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); const program: ReadableProgramBuildInfo | undefined = buildInfo.program && { fileNames: buildInfo.program.fileNames, fileNamesList, - fileInfos, + fileInfos: buildInfo.program.fileInfos ? fileInfos : undefined, options: buildInfo.program.options, referencedMap: toMapOfReferencedSet(buildInfo.program.referencedMap), exportedModulesMap: toMapOfReferencedSet(buildInfo.program.exportedModulesMap), @@ -241,6 +242,7 @@ interface Symbol { toFileName(s) : [toFileName(s[0]), s[1]] ), + outSignature: buildInfo.program.outSignature, dtsChangeTime: buildInfo.program.dtsChangeTime, }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; @@ -254,7 +256,7 @@ interface Symbol { sys.writeFile(`${buildInfoPath}.readable.baseline.txt`, JSON.stringify(result, /*replacer*/ undefined, 2)); function toFileName(fileId: ProgramBuildInfoFileId) { - return buildInfo.program!.fileNames[fileId - 1]; + return buildInfo.program!.fileNames![fileId - 1]; } function toFileNames(fileIdsListId: ProgramBuildInfoFileIdListId) { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 89c46724459b6..6b1af804d4de2 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -77,9 +77,9 @@ Output:: [12:00:08 AM] Building project '/src/lib/tsconfig.json'... -[12:00:17 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:18 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:18 AM] Building project '/src/app/tsconfig.json'... +[12:00:19 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -512,7 +512,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -624,8 +624,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 20000 + }, "version": "FakeTSVersion", - "size": 438 + "size": 838 } //// [/src/lib/module.d.ts] @@ -896,7 +904,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -963,8 +971,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 245 + "size": 552 } @@ -978,17 +994,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:32 AM] Projects in this build: +[12:00:34 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:33 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:34 AM] Building project '/src/lib/tsconfig.json'... +[12:00:36 AM] Building project '/src/lib/tsconfig.json'... -[12:00:43 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:45 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:44 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:46 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -996,12 +1012,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -1247,7 +1261,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1360,8 +1374,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 20000 + }, "version": "FakeTSVersion", - "size": 438 + "size": 838 } //// [/src/lib/module.d.ts] file written with same contents @@ -1533,7 +1555,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1601,7 +1623,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 245 + "size": 552 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 511fe0af37ca0..e14ba2ef89262 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -89,9 +89,9 @@ Output:: [12:00:14 AM] Building project '/src/lib/tsconfig.json'... -[12:00:23 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/app/tsconfig.json'... +[12:00:25 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1160,7 +1160,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1365,8 +1365,16 @@ declare const appfile4_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 743 + "size": 1339 } //// [/src/lib/module.d.ts] @@ -1991,7 +1999,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2138,8 +2146,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 544 + "size": 950 } @@ -2155,17 +2171,17 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/app --verbose -[12:00:38 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:39 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:41 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:40 AM] Building project '/src/lib/tsconfig.json'... +[12:00:42 AM] Building project '/src/lib/tsconfig.json'... -[12:00:49 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:51 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:50 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:52 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2173,12 +2189,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -2953,7 +2967,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3159,8 +3173,16 @@ declare const appfile4_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 743 + "size": 1339 } //// [/src/lib/module.d.ts] file written with same contents @@ -3632,7 +3654,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3780,8 +3802,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 544 + "size": 950 } @@ -3795,17 +3825,17 @@ export const x = 10;function forlibfile1Rest() { }console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:01:01 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:02 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:04 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:03 AM] Building project '/src/lib/tsconfig.json'... +[12:01:05 AM] Building project '/src/lib/tsconfig.json'... -[12:01:12 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:14 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:13 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:15 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3813,12 +3843,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -4508,7 +4536,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4712,8 +4740,16 @@ declare const appfile4_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 743 + "size": 1339 } //// [/src/lib/module.d.ts] file written with same contents @@ -5078,7 +5114,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -5204,7 +5240,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 456 + "size": 862 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 344387f9df214..ab953af894e48 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -82,9 +82,9 @@ Output:: [12:00:15 AM] Building project '/src/lib/tsconfig.json'... -[12:00:24 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:25 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/app/tsconfig.json'... +[12:00:26 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -606,7 +606,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -784,8 +784,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 896 + "size": 1296 } //// [/src/lib/module.d.ts] @@ -1111,7 +1119,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1249,8 +1257,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 16000 + }, "version": "FakeTSVersion", - "size": 763 + "size": 1071 } @@ -1264,17 +1280,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:39 AM] Projects in this build: +[12:00:41 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:40 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:42 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:41 AM] Building project '/src/lib/tsconfig.json'... +[12:00:43 AM] Building project '/src/lib/tsconfig.json'... -[12:00:50 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:52 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:51 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:53 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1282,12 +1298,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -1617,7 +1631,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1796,8 +1810,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 896 + "size": 1296 } //// [/src/lib/module.d.ts] file written with same contents @@ -2021,7 +2043,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2160,8 +2182,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 16000 + }, "version": "FakeTSVersion", - "size": 763 + "size": 1071 } @@ -2176,17 +2206,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:01:02 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:03 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:05 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:04 AM] Building project '/src/lib/tsconfig.json'... +[12:01:06 AM] Building project '/src/lib/tsconfig.json'... -[12:01:13 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:15 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:14 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:16 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2194,12 +2224,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -2721,7 +2749,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2901,8 +2929,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 896 + "size": 1296 } //// [/src/lib/module.d.ts] file written with same contents @@ -3261,7 +3297,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3401,7 +3437,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 16000 + }, "version": "FakeTSVersion", - "size": 763 + "size": 1071 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 19b29655d9202..8cac0676acfcf 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -80,9 +80,9 @@ Output:: [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/app/tsconfig.json'... +[12:00:22 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -525,7 +525,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -637,8 +637,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 442 + "size": 868 } //// [/src/lib/module.d.ts] @@ -917,7 +925,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -984,8 +992,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 247 + "size": 582 } @@ -1000,17 +1016,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:35 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:36 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:37 AM] Building project '/src/lib/tsconfig.json'... +[12:00:39 AM] Building project '/src/lib/tsconfig.json'... -[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:48 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:49 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1018,12 +1034,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -1274,7 +1288,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1387,8 +1401,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 442 + "size": 868 } //// [/src/lib/module.d.ts] file written with same contents @@ -1564,7 +1586,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1632,7 +1654,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 247 + "size": 582 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 920dd3085a356..7300cf7875087 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -103,9 +103,9 @@ Output:: [12:00:11 AM] Building project '/src/lib/tsconfig.json'... -[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/app/tsconfig.json'... +[12:00:22 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2021,7 +2021,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2226,8 +2226,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 442 + "size": 894 } //// [/src/lib/module.d.ts] @@ -4609,7 +4617,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4865,8 +4873,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 515 + "size": 2079 } @@ -4905,17 +4921,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:35 AM] Projects in this build: +[12:00:37 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:36 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:37 AM] Building project '/src/lib/tsconfig.json'... +[12:00:39 AM] Building project '/src/lib/tsconfig.json'... -[12:00:46 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:48 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:47 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:49 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -4923,12 +4939,10 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -6617,7 +6631,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -6823,8 +6837,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 442 + "size": 894 } //// [/src/lib/module.d.ts] file written with same contents @@ -8439,7 +8461,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -8696,8 +8718,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 515 + "size": 2079 } @@ -8736,17 +8766,17 @@ export namespace normalN { Output:: /lib/tsc --b /src/app --verbose -[12:00:58 AM] Projects in this build: +[12:01:00 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:59 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:01 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:01:00 AM] Building project '/src/lib/tsconfig.json'... +[12:01:02 AM] Building project '/src/lib/tsconfig.json'... -[12:01:09 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:01:11 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:01:10 AM] Updating output of project '/src/app/tsconfig.json'... +[12:01:12 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -8754,7 +8784,6 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, @@ -10654,7 +10683,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":73000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -10859,8 +10888,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 73000 + }, "version": "FakeTSVersion", - "size": 442 + "size": 866 } //// [/src/lib/module.d.ts] file written with same contents @@ -13218,7 +13255,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -13490,7 +13527,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 587 + "size": 2151 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 2f5e4e13a8bf9..6d4c77adabfe5 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -87,9 +87,9 @@ Output:: [12:00:12 AM] Building project '/src/lib/tsconfig.json'... -[12:00:21 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/app/tsconfig.json'... +[12:00:23 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -648,7 +648,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -784,8 +784,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 572 + "size": 1147 } //// [/src/lib/module.d.ts] @@ -1119,7 +1127,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1198,8 +1206,16 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 308 + "size": 700 } @@ -1213,17 +1229,17 @@ export const x = 10;console.log(x); Output:: /lib/tsc --b /src/app --verbose -[12:00:36 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:37 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:39 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' -[12:00:38 AM] Building project '/src/lib/tsconfig.json'... +[12:00:40 AM] Building project '/src/lib/tsconfig.json'... -[12:00:47 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:00:49 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -[12:00:48 AM] Updating output of project '/src/app/tsconfig.json'... +[12:00:50 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -1231,13 +1247,11 @@ getModifiedTime:: { "/src/lib/module.tsbuildinfo": 1, "/src/lib/file0.ts": 1, "/src/lib/file1.ts": 1, - "/src/lib/module.d.ts": 1, "/src/app/module.tsbuildinfo": 1, "/src/app/file3.ts": 1, "/src/app/file4.ts": 1, "/src/app/tripleRef.d.ts": 1, - "/src/app/tsconfig.json": 1, - "/src/app/module.d.ts": 1 + "/src/app/tsconfig.json": 1 } setModifiedTime:: {} @@ -1559,7 +1573,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1696,8 +1710,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 572 + "size": 1147 } //// [/src/lib/module.d.ts] file written with same contents @@ -1907,7 +1929,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1987,7 +2009,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 308 + "size": 700 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 537f8997a773a..9cfd4853c1ff8 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -77,9 +77,9 @@ Output:: [12:00:10 AM] Building project '/src/lib/tsconfig.json'... -[12:00:19 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/app/tsconfig.json'... +[12:00:21 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success @@ -495,7 +495,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -607,8 +607,16 @@ declare const myVar = 30; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 430 + "size": 838 } //// [/src/module.d.ts] @@ -880,7 +888,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -947,7 +955,15 @@ declare const globalConst = 10; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./module.js" + }, + "outSignature": "29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 261 + "size": 577 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index a597a5f010f6c..86789ede24943 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -160,7 +160,7 @@ type Nominal = T & { //// [/src/common/common.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/common/common.tsbuildinfo.baseline.txt] ====================================================================== @@ -209,8 +209,16 @@ type Nominal = T & { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./common.js" + }, + "outSignature": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 205 + "size": 391 } //// [/src/sub-project/sub-project.d.ts] @@ -236,7 +244,7 @@ var c = /** @type {*} */ (null); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -330,8 +338,16 @@ type MyNominal = Nominal; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./sub-project.js" + }, + "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 425 + "size": 762 } //// [/src/sub-project-2/sub-project-2.d.ts] @@ -373,7 +389,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -483,8 +499,16 @@ declare namespace variable { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./sub-project-2.js" + }, + "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", + "dtsChangeTime": 31000 + }, "version": "FakeTSVersion", - "size": 451 + "size": 960 } @@ -511,11 +535,9 @@ getModifiedTime:: { "/src/tsconfig.base.json": 2, "/src/sub-project/sub-project.tsbuildinfo": 1, "/src/sub-project/index.js": 1, - "/src/sub-project/sub-project.d.ts": 1, "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/tsconfig.json": 1, - "/src/sub-project-2/sub-project-2.d.ts": 1 + "/src/sub-project-2/tsconfig.json": 1 } setModifiedTime:: {} @@ -549,7 +571,7 @@ var c = /** @type {*} */ (undefined); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -643,8 +665,16 @@ type MyNominal = Nominal; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./sub-project.js" + }, + "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 425 + "size": 762 } //// [/src/sub-project-2/sub-project-2.js] @@ -668,7 +698,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -778,7 +808,15 @@ declare namespace variable { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./sub-project-2.js" + }, + "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", + "dtsChangeTime": 31000 + }, "version": "FakeTSVersion", - "size": 451 + "size": 960 } diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index 2e60f138d171e..6cbc905d3cad5 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -234,7 +234,15 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 6000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 491 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index e10d6389bec32..75023ce348fe2 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -114,8 +114,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -145,7 +153,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -203,8 +211,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/first/first_PART1.ts] @@ -344,7 +360,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -497,8 +513,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 408ca5609ad50..d3e34a18e5370 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -114,8 +114,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -145,7 +153,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -203,8 +211,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/first/first_PART1.ts] @@ -344,7 +360,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -497,8 +513,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js new file mode 100644 index 0000000000000..a6086e2388dc4 --- /dev/null +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js @@ -0,0 +1,214 @@ +1:: Make incremental build with change in file that doesnt affect dts +*** Needs explaination +File: /src/third/thirdjs/output/third-output.js.map +CleanBuild: +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} +IncrementalBuild: +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;OAAA;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC"} +File: /src/third/thirdjs/output/third-output.js +CleanBuild: +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map +IncrementalBuild: +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +eturn C; +}()); +var c = new C(); +c +//# sourceMappingURL=third-output.js.map +File: /src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-144):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-144) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +prepend: (144-429):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (144-429) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +text: (429-465) +var c = new C(); +c.doSomething(); + +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-144):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-144) +var s = "Hello, world"; +console.log(s); +console.log(s); +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +prepend: (144-429):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (144-429) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +text: (429-465) +eturn C; +}()); +var c = new C(); +c +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index a3066b096426f..f31568bc17e19 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -211,7 +211,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -276,8 +276,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -307,7 +315,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -365,8 +373,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -600,27 +616,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:43 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:44 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:45 AM] Building project '/src/first/tsconfig.json'... +[12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:54 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:55 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:56 AM] Building project '/src/third/tsconfig.json'... +[12:00:58 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -665,7 +680,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -724,8 +739,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -782,50 +805,48 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:01:02 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:03 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:05 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:04 AM] Building project '/src/first/tsconfig.json'... +[12:01:06 AM] Building project '/src/first/tsconfig.json'... -[12:01:13 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:15 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:16 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:15 AM] Building project '/src/third/tsconfig.json'... +[12:01:17 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 + "/src/third/third_part1.ts": 1, + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/bin/first-output.js": 2, + "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 + "/src/node_modules/@types": 1, + "/node_modules/@types": 1 } @@ -846,7 +867,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -906,12 +927,18 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } -//// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents -//// [/src/third/thirdjs/output/third-output.d.ts.map] file written with same contents //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -936,12 +963,14 @@ var C = (function () { }; return C; }()); +eturn C; +}()); var c = new C(); -c.doSomething(); +c //# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.js.map] -{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;OAAA;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] {"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} @@ -984,9 +1013,10 @@ var C = (function () { ---------------------------------------------------------------------- text: (429-465) +eturn C; +}()); var c = new C(); -c.doSomething(); - +c ====================================================================== ====================================================================== File:: /src/third/thirdjs/output/third-output.d.ts diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index cbe2c4b6571f1..9f083021fea14 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -114,8 +114,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -145,7 +153,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -203,8 +211,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/first/first_PART1.ts] @@ -344,7 +360,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -497,8 +513,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } //// [/src/third/third_part1.ts] @@ -533,22 +557,22 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:41 AM] Projects in this build: +[12:00:44 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:42 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:45 AM] Project 'src/first/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:43 AM] Building project '/src/first/tsconfig.json'... +[12:00:46 AM] Building project '/src/first/tsconfig.json'... -[12:00:52 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:00:56 AM] Project 'src/second/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:00:53 AM] Building project '/src/second/tsconfig.json'... +[12:00:57 AM] Building project '/src/second/tsconfig.json'... -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion' -[12:01:03 AM] Building project '/src/third/tsconfig.json'... +[12:01:08 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -558,7 +582,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":58000},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] @@ -588,8 +612,16 @@ exitCode:: ExitStatus.Success ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 58000 + }, "version": "FakeTSCurrentVersion", - "size": 262 + "size": 499 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -597,7 +629,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":47000},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -628,8 +660,16 @@ exitCode:: ExitStatus.Success ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 47000 + }, "version": "FakeTSCurrentVersion", - "size": 259 + "size": 558 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -637,7 +677,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] @@ -718,7 +758,15 @@ exitCode:: ExitStatus.Success ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSCurrentVersion", - "size": 727 + "size": 1160 } diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index dc212e151f089..d01b26b7d4efa 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -210,7 +210,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -275,8 +275,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -306,7 +314,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -364,8 +372,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index c1b7c484c9585..10524f85aafdb 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -114,8 +114,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -200,8 +208,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/first/first_PART1.ts] @@ -341,7 +357,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -494,8 +510,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } //// [/src/third/third_part1.ts] @@ -530,49 +554,48 @@ c.doSomething(); Output:: /lib/tsc --b /src/third --verbose -[12:00:42 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:43 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist -[12:00:44 AM] Building project '/src/first/tsconfig.json'... +[12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:00:55 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:59 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/third_part1.ts": 1 } setModifiedTime:: {} fileExists:: { - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.js": 2, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 } @@ -581,10 +604,53 @@ directoryExists:: { //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":48000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + } + }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 48000 + }, + "version": "FakeTSVersion", + "size": 551 +} + +//// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents +//// [/src/third/thirdjs/output/third-output.d.ts.map] file written with same contents +//// [/src/third/thirdjs/output/third-output.js] file written with same contents +//// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 3fac0310d039b..b86bbcea0b225 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -140,36 +140,36 @@ Output:: [12:00:08 AM] Building project '/src/first/tsconfig.json'... -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -583,7 +583,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -648,8 +648,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -953,7 +961,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1011,8 +1019,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1751,7 +1767,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1904,8 +1920,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } @@ -1930,20 +1954,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:05 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1954,9 +1978,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -1964,8 +1988,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2297,7 +2320,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2355,8 +2378,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 54000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3095,7 +3126,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3248,8 +3279,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 66000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } @@ -3274,20 +3313,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:22 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3298,7 +3337,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -3309,6 +3347,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -3316,15 +3355,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3532,7 +3569,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3591,8 +3628,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 54000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.js] @@ -4096,7 +4141,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4250,7 +4295,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 66000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index d43987af6fdfc..7fcb77f76cb83 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -138,13 +138,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -624,8 +624,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 25000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -929,7 +937,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -987,8 +995,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index d18fc1d9bd9c2..582c2ae4be697 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -146,36 +146,36 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -733,7 +733,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -826,8 +826,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 365 + "size": 659 } //// [/src/first/bin/first-output.d.ts] @@ -1277,7 +1285,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1363,8 +1371,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 714 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2494,7 +2510,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2683,8 +2699,16 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 36000 + }, "version": "FakeTSVersion", - "size": 836 + "size": 1431 } @@ -2711,20 +2735,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:04 AM] Building project '/src/third/tsconfig.json'... +[12:01:08 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2735,9 +2759,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -2745,8 +2769,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -3224,7 +3247,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3310,8 +3333,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 712 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -4441,7 +4472,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4630,8 +4661,16 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 836 + "size": 1429 } @@ -4658,20 +4697,20 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4682,7 +4721,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -4693,6 +4731,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -4700,15 +4739,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -5041,7 +5078,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5128,8 +5165,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 712 } //// [/src/third/thirdjs/output/third-output.js] @@ -5966,7 +6011,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6156,8 +6201,16 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 836 + "size": 1429 } @@ -6182,20 +6235,20 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:42 AM] Projects in this build: +[12:01:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:44 AM] Building project '/src/first/tsconfig.json'... +[12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -6206,7 +6259,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -6217,6 +6269,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -6224,15 +6277,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -6606,7 +6657,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6667,8 +6718,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 602 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -7717,7 +7776,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7905,7 +7964,15 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 836 + "size": 1429 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 565f8ab3cab77..fc229c43cea39 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -142,13 +142,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -708,7 +708,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -801,8 +801,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 365 + "size": 659 } //// [/src/first/bin/first-output.d.ts] @@ -1143,7 +1151,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1203,8 +1211,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 604 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2124,7 +2140,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2302,8 +2318,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 794 + "size": 1336 } @@ -2328,35 +2352,33 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:50 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:52 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:06 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2582,7 +2604,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2643,8 +2665,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 604 } //// [/src/third/thirdjs/output/third-output.js] @@ -3292,7 +3322,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3471,8 +3501,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 794 + "size": 1336 } @@ -3499,35 +3537,33 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:01:14 AM] Projects in this build: +[12:01:17 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:15 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:16 AM] Building project '/src/first/tsconfig.json'... +[12:01:19 AM] Building project '/src/first/tsconfig.json'... -[12:01:25 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:26 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:29 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:27 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:30 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4010,7 +4046,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4097,8 +4133,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 714 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5112,7 +5156,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5293,7 +5337,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 794 + "size": 1336 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 311ceb53b938e..13c1f945168e2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -148,9 +148,9 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:18 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:19 AM] Building project '/src/second/tsconfig.json'... +[12:00:20 AM] Building project '/src/second/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -158,9 +158,9 @@ src/second/second_part1.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' src/second/second_part2.ts Matched by include pattern '**/*' in 'src/second/tsconfig.json' -[12:00:29 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:30 AM] Building project '/src/third/tsconfig.json'... +[12:00:32 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -584,7 +584,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -649,8 +649,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -954,7 +962,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1012,8 +1020,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1752,7 +1768,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1905,8 +1921,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } @@ -1931,14 +1955,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:00:48 AM] Projects in this build: +[12:00:51 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:53 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -1948,11 +1972,11 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:05 AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -2294,7 +2318,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2352,8 +2376,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 54000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3092,7 +3124,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3245,8 +3277,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 66000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } @@ -3271,14 +3311,14 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose --explainFiles -[12:01:15 AM] Projects in this build: +[12:01:20 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:22 AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts Default library for target 'es5' @@ -3288,26 +3328,24 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:33 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3515,7 +3553,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3574,8 +3612,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 54000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.js] @@ -4079,7 +4125,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4233,7 +4279,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 66000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1153 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 634033483b9d2..59b7c5a890075 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -158,13 +158,13 @@ Output:: [12:00:17 AM] Building project '/src/first/tsconfig.json'... -[12:00:27 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:28 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:28 AM] Building project '/src/second/tsconfig.json'... +[12:00:29 AM] Building project '/src/second/tsconfig.json'... -[12:00:38 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:40 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:39 AM] Building project '/src/third/tsconfig.json'... +[12:00:41 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -954,7 +954,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1100,8 +1100,16 @@ declare const secondsecond_part2_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", + "dtsChangeTime": 30000 + }, "version": "FakeTSVersion", - "size": 556 + "size": 968 } //// [/src/first/bin/first-output.d.ts] @@ -1779,7 +1787,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1918,8 +1926,16 @@ declare const firstfirst_part3_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "dtsChangeTime": 18000 + }, "version": "FakeTSVersion", - "size": 553 + "size": 1019 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3637,7 +3653,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3899,8 +3915,16 @@ declare const thirdthird_part1_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", + "dtsChangeTime": 42000 + }, "version": "FakeTSVersion", - "size": 1031 + "size": 1972 } @@ -3927,35 +3951,33 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:57 AM] Projects in this build: +[12:01:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:01 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:59 AM] Building project '/src/first/tsconfig.json'... +[12:01:02 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4463,7 +4485,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4603,8 +4625,16 @@ declare const firstfirst_part3_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "dtsChangeTime": 18000 + }, "version": "FakeTSVersion", - "size": 553 + "size": 1019 } //// [/src/third/thirdjs/output/third-output.js] @@ -5867,7 +5897,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6130,8 +6160,16 @@ declare const thirdthird_part1_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", + "dtsChangeTime": 42000 + }, "version": "FakeTSVersion", - "size": 1031 + "size": 1972 } @@ -6156,35 +6194,33 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:21 AM] Projects in this build: +[12:01:24 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:23 AM] Building project '/src/first/tsconfig.json'... +[12:01:26 AM] Building project '/src/first/tsconfig.json'... -[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:36 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:34 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:37 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -6784,7 +6820,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6902,8 +6938,16 @@ declare const firstfirst_part3_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "dtsChangeTime": 18000 + }, "version": "FakeTSVersion", - "size": 463 + "size": 929 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -8534,7 +8578,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8795,7 +8839,15 @@ declare const thirdthird_part1_ar: number[]; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", + "dtsChangeTime": 42000 + }, "version": "FakeTSVersion", - "size": 1029 + "size": 1970 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index bd9a29a23937b..bfed5df14d13f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -148,13 +148,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -800,7 +800,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -922,8 +922,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 25000 + }, "version": "FakeTSVersion", - "size": 466 + "size": 823 } //// [/src/first/bin/first-output.d.ts] @@ -1373,7 +1381,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1459,8 +1467,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 714 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2698,7 +2714,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2934,8 +2950,16 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 988 + "size": 1646 } @@ -2962,35 +2986,33 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 }; Output:: /lib/tsc --b /src/third --verbose -[12:00:52 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:54 AM] Building project '/src/first/tsconfig.json'... +[12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3323,7 +3345,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3410,8 +3432,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 362 + "size": 714 } //// [/src/third/thirdjs/output/third-output.js] @@ -4320,7 +4350,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4557,8 +4587,16 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 988 + "size": 1646 } @@ -4583,35 +4621,33 @@ function forfirstfirst_PART1Rest() { }console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:16 AM] Projects in this build: +[12:01:19 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:18 AM] Building project '/src/first/tsconfig.json'... +[12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4985,7 +5021,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5046,8 +5082,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 604 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6203,7 +6247,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6438,7 +6482,15 @@ declare function forthirdthird_part1Rest(): void; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 986 + "size": 1644 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 941521f50c876..1a693dce72124 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -145,36 +145,36 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/second/tsconfig.json'... +[12:00:28 AM] Building project '/src/second/tsconfig.json'... -[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:39 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:38 AM] Building project '/src/third/tsconfig.json'... +[12:00:40 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -627,7 +627,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -762,8 +762,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 774 + "size": 1011 } //// [/src/first/bin/first-output.d.ts] @@ -1084,7 +1092,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1188,8 +1196,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 588 + "size": 887 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1991,7 +2007,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2217,8 +2233,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 41000 + }, "version": "FakeTSVersion", - "size": 1268 + "size": 1701 } @@ -2244,20 +2268,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:56 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:58 AM] Building project '/src/first/tsconfig.json'... +[12:01:01 AM] Building project '/src/first/tsconfig.json'... -[12:01:07 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:08 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:09 AM] Building project '/src/third/tsconfig.json'... +[12:01:13 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2268,9 +2292,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -2278,8 +2302,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2628,7 +2651,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2732,8 +2755,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 62000 + }, "version": "FakeTSVersion", - "size": 588 + "size": 886 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3535,7 +3566,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3761,8 +3792,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 74000 + }, "version": "FakeTSVersion", - "size": 1268 + "size": 1701 } @@ -3788,20 +3827,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:23 AM] Projects in this build: +[12:01:28 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:25 AM] Building project '/src/first/tsconfig.json'... +[12:01:30 AM] Building project '/src/first/tsconfig.json'... -[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:39 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:40 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:41 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3812,7 +3851,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -3823,6 +3861,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -3830,15 +3869,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4062,7 +4099,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4167,8 +4204,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 62000 + }, "version": "FakeTSVersion", - "size": 588 + "size": 886 } //// [/src/third/thirdjs/output/third-output.js] @@ -4730,7 +4775,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4957,8 +5002,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 74000 + }, "version": "FakeTSVersion", - "size": 1268 + "size": 1701 } @@ -4985,20 +5038,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:47 AM] Projects in this build: +[12:01:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:49 AM] Building project '/src/first/tsconfig.json'... +[12:01:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:02:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:02:00 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5009,7 +5062,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -5020,6 +5072,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -5027,15 +5080,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -5405,7 +5456,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5528,8 +5579,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 62000 + }, "version": "FakeTSVersion", - "size": 738 + "size": 1036 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6356,7 +6415,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6592,7 +6651,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 74000 + }, "version": "FakeTSVersion", - "size": 1327 + "size": 1760 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 81b6e866210b7..45e46449cb9ff 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -142,13 +142,13 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -601,7 +601,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -718,8 +718,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 25000 + }, "version": "FakeTSVersion", - "size": 643 + "size": 880 } //// [/src/first/bin/first-output.d.ts] @@ -1025,7 +1033,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1111,8 +1119,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 445 + "size": 744 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1891,7 +1907,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2090,8 +2106,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 1031 + "size": 1464 } @@ -2116,35 +2140,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:52 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:54 AM] Building project '/src/first/tsconfig.json'... +[12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2354,7 +2376,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2441,8 +2463,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 445 + "size": 744 } //// [/src/third/thirdjs/output/third-output.js] @@ -2984,7 +3014,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3184,8 +3214,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 1031 + "size": 1464 } @@ -3211,35 +3249,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:16 AM] Projects in this build: +[12:01:19 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:18 AM] Building project '/src/first/tsconfig.json'... +[12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3595,7 +3631,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3700,8 +3736,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 591 + "size": 890 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4508,7 +4552,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4717,7 +4761,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 1090 + "size": 1523 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 2e785b9d61ef6..7692746592e7a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -144,36 +144,36 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/second/tsconfig.json'... +[12:00:24 AM] Building project '/src/second/tsconfig.json'... -[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:34 AM] Building project '/src/third/tsconfig.json'... +[12:00:36 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -593,7 +593,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -658,8 +658,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 25000 + }, "version": "FakeTSVersion", - "size": 257 + "size": 533 } //// [/src/first/bin/first-output.d.ts] @@ -970,7 +978,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1028,8 +1036,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 254 + "size": 587 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1779,7 +1795,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1932,8 +1948,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 37000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1192 } @@ -1959,20 +1983,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:52 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:54 AM] Building project '/src/first/tsconfig.json'... +[12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:07 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:08 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:05 AM] Building project '/src/third/tsconfig.json'... +[12:01:09 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -1983,9 +2007,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -1993,8 +2017,7 @@ readFiles:: { "/src/2/second-output.js.map": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2333,7 +2356,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2391,8 +2414,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 58000 + }, "version": "FakeTSVersion", - "size": 254 + "size": 586 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3142,7 +3173,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3295,8 +3326,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 70000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1191 } @@ -3322,20 +3361,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:19 AM] Projects in this build: +[12:01:24 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:21 AM] Building project '/src/first/tsconfig.json'... +[12:01:26 AM] Building project '/src/first/tsconfig.json'... -[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:36 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:32 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:37 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3346,7 +3385,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -3357,6 +3395,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/2/second-output.js": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.d.ts": 1 @@ -3364,15 +3403,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3584,7 +3621,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3643,8 +3680,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 58000 + }, "version": "FakeTSVersion", - "size": 254 + "size": 586 } //// [/src/third/thirdjs/output/third-output.js] @@ -4154,7 +4199,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4308,7 +4353,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 70000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1191 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 7722361929e78..b048ea27f7128 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -141,13 +141,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -569,7 +569,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -634,8 +634,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 257 + "size": 533 } //// [/src/first/bin/first-output.d.ts] @@ -939,7 +947,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -997,8 +1005,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1743,7 +1759,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1896,8 +1912,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1194 } @@ -1922,35 +1946,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2158,7 +2180,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2217,8 +2239,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.js] @@ -2725,7 +2755,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2879,7 +2909,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1194 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 700fb52e81655..c1fece5f6cb4e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -140,36 +140,36 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -585,7 +585,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -678,8 +678,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 448 + "size": 685 } //// [/src/first/bin/first-output.d.ts] @@ -985,7 +993,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1071,8 +1079,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 445 + "size": 744 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1813,7 +1829,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1994,8 +2010,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 36000 + }, "version": "FakeTSVersion", - "size": 914 + "size": 1347 } @@ -2020,20 +2044,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:04 AM] Building project '/src/third/tsconfig.json'... +[12:01:08 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2044,9 +2068,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -2054,8 +2078,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2389,7 +2412,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2475,8 +2498,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 445 + "size": 743 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3217,7 +3248,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3398,8 +3429,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 914 + "size": 1347 } @@ -3424,20 +3463,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3448,7 +3487,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -3459,6 +3497,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -3466,15 +3505,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3684,7 +3721,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3771,8 +3808,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 445 + "size": 743 } //// [/src/third/thirdjs/output/third-output.js] @@ -4278,7 +4323,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4460,8 +4505,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 914 + "size": 1347 } @@ -4487,20 +4540,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:42 AM] Projects in this build: +[12:01:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:44 AM] Building project '/src/first/tsconfig.json'... +[12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -4511,7 +4564,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -4522,6 +4574,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -4529,15 +4582,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4893,7 +4944,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4998,8 +5049,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 588 + "size": 886 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5765,7 +5824,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5956,7 +6015,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 972 + "size": 1405 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 2f766096fb740..36ee9020d733d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -564,7 +564,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -657,8 +657,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 448 + "size": 685 } //// [/src/first/bin/first-output.d.ts] @@ -962,7 +970,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1020,8 +1028,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1762,7 +1778,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1924,8 +1940,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 779 + "size": 1212 } @@ -1950,35 +1974,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2186,7 +2208,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2245,8 +2267,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.js] @@ -2752,7 +2782,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2915,8 +2945,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 779 + "size": 1212 } @@ -2942,35 +2980,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:13 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:14 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:15 AM] Building project '/src/first/tsconfig.json'... +[12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:24 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:25 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:26 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:29 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -3324,7 +3360,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3411,8 +3447,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 457 + "size": 756 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4178,7 +4222,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4350,7 +4394,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 837 + "size": 1270 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index 82d71af5a7f30..d7623091caa32 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -168,13 +168,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -590,7 +590,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -655,8 +655,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -1278,7 +1286,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1365,8 +1373,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 326 + "size": 1082 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2219,7 +2235,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2377,7 +2393,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1252 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index e14bf42521f23..1d16d2c3d8f0e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/second/tsconfig.json'... +[12:00:25 AM] Building project '/src/second/tsconfig.json'... -[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:35 AM] Building project '/src/third/tsconfig.json'... +[12:00:37 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2775,7 +2775,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3076,8 +3076,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2253 } //// [/src/first/bin/first-output.d.ts] @@ -3381,7 +3389,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3446,8 +3454,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 14000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5487,7 +5503,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5692,8 +5708,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 38000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -5718,38 +5742,35 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:53 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:55 AM] Building project '/src/first/tsconfig.json'... +[12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:07 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:05 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:08 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:15 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:13 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:16 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -7495,7 +7516,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7797,8 +7818,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2253 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -7990,7 +8019,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8056,8 +8085,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 14000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.js] @@ -9840,7 +9877,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10046,8 +10083,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 38000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -10072,34 +10117,32 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:25 AM] Projects in this build: +[12:01:28 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:26 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:27 AM] Building project '/src/first/tsconfig.json'... +[12:01:30 AM] Building project '/src/first/tsconfig.json'... -[12:01:36 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:39 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:37 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:40 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:43 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:44 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 @@ -10935,7 +10978,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11230,8 +11273,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 731 + "size": 2215 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11543,7 +11594,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11602,8 +11653,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 14000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11930,7 +11989,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":108000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12139,7 +12198,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 108000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 966 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 8a6ed92dfbb54..9bbe64843645e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -166,13 +166,13 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2505,7 +2505,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2749,8 +2749,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 485 + "size": 1794 } //// [/src/first/bin/first-output.d.ts] @@ -3054,7 +3062,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3119,8 +3127,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5160,7 +5176,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5401,8 +5417,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 36000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -5427,35 +5451,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:04 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -5663,7 +5685,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5729,8 +5751,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.js] @@ -7513,7 +7543,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7755,8 +7785,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 36000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -7781,27 +7819,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:15 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:16 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:17 AM] Building project '/src/first/tsconfig.json'... +[12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:26 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:28 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -8136,7 +8173,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8195,8 +8232,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8523,7 +8568,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":92000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8768,7 +8813,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 92000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1225 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 362a657324a86..0276b50cb7e33 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/second/tsconfig.json'... +[12:00:28 AM] Building project '/src/second/tsconfig.json'... -[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:39 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:38 AM] Building project '/src/third/tsconfig.json'... +[12:00:40 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -3011,7 +3011,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3312,8 +3312,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2582 } //// [/src/first/bin/first-output.d.ts] @@ -3623,7 +3631,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3688,8 +3696,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 603 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5829,7 +5845,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6034,8 +6050,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 41000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -6060,38 +6084,35 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:56 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:58 AM] Building project '/src/first/tsconfig.json'... +[12:01:01 AM] Building project '/src/first/tsconfig.json'... -[12:01:07 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:10 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:08 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:11 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:15 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:18 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:16 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:19 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -7937,7 +7958,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8239,8 +8260,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2582 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8432,7 +8461,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8498,8 +8527,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 603 } //// [/src/third/thirdjs/output/third-output.js] @@ -10382,7 +10419,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10588,7 +10625,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 41000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 97f943be60a7b..e43cfa8f88ece 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -166,13 +166,13 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2735,7 +2735,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2979,8 +2979,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 485 + "size": 2108 } //// [/src/first/bin/first-output.d.ts] @@ -3290,7 +3298,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3355,8 +3363,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 603 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5496,7 +5512,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5737,8 +5753,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 39000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -5763,35 +5787,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:54 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:56 AM] Building project '/src/first/tsconfig.json'... +[12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -5999,7 +6021,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6065,8 +6087,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 603 } //// [/src/third/thirdjs/output/third-output.js] @@ -7949,7 +7979,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8191,7 +8221,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 39000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 24bf59a15f184..ab22aa9b3caa0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -163,13 +163,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -585,7 +585,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -650,8 +650,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -1437,7 +1445,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1556,8 +1564,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 403 + "size": 1106 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2690,7 +2706,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2867,7 +2883,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 728 + "size": 1341 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 968311a5bae3f..9e2d41d2a764d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -167,36 +167,36 @@ Output:: [12:00:13 AM] Building project '/src/first/tsconfig.json'... -[12:00:23 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:24 AM] Building project '/src/second/tsconfig.json'... +[12:00:25 AM] Building project '/src/second/tsconfig.json'... -[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:36 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:35 AM] Building project '/src/third/tsconfig.json'... +[12:00:37 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/second/tsconfig.json": 1, "/src/first/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2796,7 +2796,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3097,8 +3097,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 26000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2253 } //// [/src/first/bin/first-output.d.ts] @@ -3402,7 +3410,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3467,8 +3475,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 14000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5508,7 +5524,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5713,8 +5729,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 38000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -5739,22 +5763,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:53 AM] Projects in this build: +[12:00:56 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:55 AM] Building project '/src/first/tsconfig.json'... +[12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:08 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:05 AM] Building project '/src/second/tsconfig.json'... +[12:01:09 AM] Building project '/src/second/tsconfig.json'... -[12:01:14 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' +[12:01:19 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' -[12:01:15 AM] Building project '/src/third/tsconfig.json'... +[12:01:20 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5765,20 +5789,19 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 2, + "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts": 2, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -8382,7 +8405,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8683,8 +8706,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 70000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2252 } //// [/src/first/bin/first-output.d.ts] @@ -8988,7 +9019,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9053,8 +9084,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 59000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 588 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11094,7 +11133,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11299,8 +11338,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 81000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 917 } @@ -11325,22 +11372,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:31 AM] Projects in this build: +[12:01:37 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:32 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:38 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:33 AM] Building project '/src/first/tsconfig.json'... +[12:01:39 AM] Building project '/src/first/tsconfig.json'... -[12:01:42 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:48 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:43 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:49 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:50 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:56 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:51 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:57 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -11351,7 +11398,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 2, "/src/2/second-output.js": 2, "/src/2/second-output.js.map": 2, @@ -11359,6 +11405,7 @@ readFiles:: { "/src/2/second-output.d.ts.map": 2, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -11369,16 +11416,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -13124,7 +13168,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13426,8 +13470,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 70000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2252 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -13619,7 +13671,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13685,8 +13737,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 59000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 588 } //// [/src/third/thirdjs/output/third-output.js] @@ -15469,7 +15529,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -15675,8 +15735,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 81000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 917 } @@ -15701,22 +15769,22 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:02:03 AM] Projects in this build: +[12:02:09 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:02:04 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:02:10 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:02:05 AM] Building project '/src/first/tsconfig.json'... +[12:02:11 AM] Building project '/src/first/tsconfig.json'... -[12:02:14 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:02:20 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:02:15 AM] Updating output of project '/src/second/tsconfig.json'... +[12:02:21 AM] Updating output of project '/src/second/tsconfig.json'... -[12:02:21 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:02:27 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:02:22 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:28 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -15727,7 +15795,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 2, "/src/2/second-output.js": 2, "/src/2/second-output.js.map": 2, @@ -15735,6 +15802,7 @@ readFiles:: { "/src/2/second-output.d.ts.map": 2, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -15745,12 +15813,10 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 @@ -16586,7 +16652,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -16881,8 +16947,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 70000 + }, "version": "FakeTSVersion", - "size": 731 + "size": 2214 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -17194,7 +17268,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17253,8 +17327,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 59000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -17581,7 +17663,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":149000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17790,7 +17872,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 149000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 966 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 73928e7c20ff6..4b1a5793a4b1d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -87,9 +87,9 @@ Output:: [12:00:12 AM] Building project '/src/first/tsconfig.json'... -[12:00:22 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:23 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/third/tsconfig.json'... +[12:00:24 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -204,7 +204,7 @@ sourceFile:../first_PART1.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -247,8 +247,16 @@ declare const A = 1; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-2963648387-declare const A = 1;\r\n", + "dtsChangeTime": 13000 + }, "version": "FakeTSVersion", - "size": 214 + "size": 361 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -328,7 +336,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -400,7 +408,15 @@ declare const B = 2; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "1000124863-declare const B = 2;\r\n", + "dtsChangeTime": 25000 + }, "version": "FakeTSVersion", - "size": 432 + "size": 578 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 0755bb4f9703b..8916292e6bb75 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -167,13 +167,13 @@ Output:: [12:00:16 AM] Building project '/src/first/tsconfig.json'... -[12:00:26 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:27 AM] Building project '/src/second/tsconfig.json'... +[12:00:28 AM] Building project '/src/second/tsconfig.json'... -[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:39 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:38 AM] Building project '/src/third/tsconfig.json'... +[12:00:40 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2875,7 +2875,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3176,8 +3176,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2253 } //// [/src/first/bin/first-output.d.ts] @@ -3481,7 +3489,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3546,8 +3554,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5687,7 +5703,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5892,8 +5908,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 41000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -5918,38 +5942,35 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:56 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:58 AM] Building project '/src/first/tsconfig.json'... +[12:01:01 AM] Building project '/src/first/tsconfig.json'... -[12:01:07 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:10 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:08 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:11 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:15 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:18 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:16 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:19 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -7795,7 +7816,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8097,8 +8118,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 769 + "size": 2253 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8290,7 +8319,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8356,8 +8385,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.js] @@ -10240,7 +10277,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10446,8 +10483,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 41000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 918 } @@ -10472,34 +10517,32 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:28 AM] Projects in this build: +[12:01:31 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:32 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:30 AM] Building project '/src/first/tsconfig.json'... +[12:01:33 AM] Building project '/src/first/tsconfig.json'... -[12:01:39 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:42 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:40 AM] Updating output of project '/src/second/tsconfig.json'... +[12:01:43 AM] Updating output of project '/src/second/tsconfig.json'... -[12:01:46 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:01:49 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -[12:01:47 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:50 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, - "/src/2/second-output.d.ts": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, "/src/third/tsconfig.json": 1 @@ -11335,7 +11378,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11630,8 +11673,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 29000 + }, "version": "FakeTSVersion", - "size": 731 + "size": 2215 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11943,7 +11994,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12002,8 +12053,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 17000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12330,7 +12389,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":111000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12539,7 +12598,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 111000 + }, "version": "FakeTSVersion", - "size": 464 + "size": 966 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 0d9b78f743a2a..44d1f258008e7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -166,13 +166,13 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -2605,7 +2605,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2849,8 +2849,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 485 + "size": 1794 } //// [/src/first/bin/first-output.d.ts] @@ -3154,7 +3162,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3219,8 +3227,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5360,7 +5376,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5601,8 +5617,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 39000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -5627,35 +5651,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:54 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:56 AM] Building project '/src/first/tsconfig.json'... +[12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:07 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:10 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -5863,7 +5885,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5929,8 +5951,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.js] @@ -7813,7 +7843,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8055,8 +8085,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 39000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -8081,27 +8119,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:21 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:23 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:34 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -8436,7 +8473,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8495,8 +8532,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8823,7 +8868,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":95000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9068,7 +9113,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 95000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1225 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 1f0628192e927..64df954b0154c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -166,36 +166,36 @@ Output:: [12:00:11 AM] Building project '/src/first/tsconfig.json'... -[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:22 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:22 AM] Building project '/src/second/tsconfig.json'... +[12:00:23 AM] Building project '/src/second/tsconfig.json'... -[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:34 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:33 AM] Building project '/src/third/tsconfig.json'... +[12:00:35 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2526,7 +2526,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2770,8 +2770,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 24000 + }, "version": "FakeTSVersion", - "size": 485 + "size": 1794 } //// [/src/first/bin/first-output.d.ts] @@ -3075,7 +3083,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3140,8 +3148,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 12000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 589 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5181,7 +5197,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5422,8 +5438,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 36000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1178 } @@ -5448,20 +5472,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:53 AM] Building project '/src/first/tsconfig.json'... +[12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:02 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:03 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:04 AM] Building project '/src/third/tsconfig.json'... +[12:01:08 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -5472,9 +5496,9 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/first/bin/first-output.js": 1, @@ -5482,8 +5506,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -5815,7 +5838,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5880,8 +5903,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 588 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -7921,7 +7952,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8162,8 +8193,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1177 } @@ -8188,20 +8227,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:18 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:20 AM] Building project '/src/first/tsconfig.json'... +[12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:31 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:36 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -8212,7 +8251,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -8223,6 +8261,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -8230,15 +8269,13 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -8446,7 +8483,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8512,8 +8549,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 290 + "size": 588 } //// [/src/third/thirdjs/output/third-output.js] @@ -10296,7 +10341,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10538,8 +10583,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 69000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1177 } @@ -10564,20 +10617,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:42 AM] Projects in this build: +[12:01:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:43 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:44 AM] Building project '/src/first/tsconfig.json'... +[12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:53 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:54 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:55 AM] Updating output of project '/src/third/tsconfig.json'... +[12:02:00 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -10588,7 +10641,6 @@ readFiles:: { "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -10599,6 +10651,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -10606,7 +10659,6 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -10941,7 +10993,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11000,8 +11052,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 57000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 550 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11328,7 +11388,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":121000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11573,7 +11633,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 121000 + }, "version": "FakeTSVersion", - "size": 724 + "size": 1226 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 4974b3c1cc5bc..440138bb85703 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -155,39 +155,39 @@ Output:: [12:00:14 AM] Building project '/src/first/tsconfig.json'... -[12:00:24 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:25 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:25 AM] Building project '/src/second/tsconfig.json'... +[12:00:26 AM] Building project '/src/second/tsconfig.json'... -[12:00:35 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:37 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/third/tsconfig.json'... +[12:00:38 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, + "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, + "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/second/second_part2.ts": 1, - "/src/2/second-output.d.ts": 2, + "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/third/tripleRef.d.ts": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -655,7 +655,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -731,8 +731,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 27000 + }, "version": "FakeTSVersion", - "size": 328 + "size": 677 } //// [/src/first/bin/first-output.d.ts] @@ -1093,7 +1101,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1162,8 +1170,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 15000 + }, "version": "FakeTSVersion", - "size": 318 + "size": 717 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2068,7 +2084,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2254,8 +2270,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 39000 + }, "version": "FakeTSVersion", - "size": 952 + "size": 1720 } @@ -2280,20 +2304,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:54 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:56 AM] Building project '/src/first/tsconfig.json'... +[12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:09 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' -[12:01:07 AM] Building project '/src/third/tsconfig.json'... +[12:01:11 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -2305,9 +2329,9 @@ readFiles:: { "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 2, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/third/third_part1.ts": 1, @@ -2317,8 +2341,7 @@ readFiles:: { "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/2/second-output.d.ts.map": 1 } getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, @@ -2708,7 +2731,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2777,8 +2800,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 60000 + }, "version": "FakeTSVersion", - "size": 318 + "size": 715 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3683,7 +3714,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3869,8 +3900,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 72000 + }, "version": "FakeTSVersion", - "size": 952 + "size": 1718 } @@ -3895,20 +3934,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:01:21 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:27 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:23 AM] Building project '/src/first/tsconfig.json'... +[12:01:28 AM] Building project '/src/first/tsconfig.json'... -[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:37 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:38 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:34 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:39 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { @@ -3920,7 +3959,6 @@ readFiles:: { "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/thirdjs/output/third-output.js": 1, @@ -3931,6 +3969,7 @@ readFiles:: { "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, + "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 @@ -3938,7 +3977,6 @@ readFiles:: { getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -3946,8 +3984,7 @@ getModifiedTime:: { "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -4184,7 +4221,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4254,8 +4291,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 60000 + }, "version": "FakeTSVersion", - "size": 318 + "size": 715 } //// [/src/third/thirdjs/output/third-output.js] @@ -4846,7 +4891,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5033,7 +5078,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 72000 + }, "version": "FakeTSVersion", - "size": 952 + "size": 1718 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 56a8345c7960b..d36e6a972e28a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -145,13 +145,13 @@ Output:: [12:00:10 AM] Building project '/src/first/tsconfig.json'... -[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:21 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:21 AM] Building project '/src/second/tsconfig.json'... +[12:00:22 AM] Building project '/src/second/tsconfig.json'... -[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:33 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:32 AM] Building project '/src/third/tsconfig.json'... +[12:00:34 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -621,7 +621,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -697,8 +697,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 23000 + }, "version": "FakeTSVersion", - "size": 328 + "size": 677 } //// [/src/first/bin/first-output.d.ts] @@ -1002,7 +1010,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1060,8 +1068,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1855,7 +1871,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2019,8 +2035,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 800 + "size": 1351 } @@ -2045,27 +2069,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:50 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:51 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:52 AM] Building project '/src/first/tsconfig.json'... +[12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:01 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:02 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:03 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:06 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -2073,8 +2096,7 @@ getModifiedTime:: { "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2282,7 +2304,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2341,8 +2363,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 11000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.js] @@ -2875,7 +2905,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3040,7 +3070,15 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 35000 + }, "version": "FakeTSVersion", - "size": 800 + "size": 1351 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 40cf543f35297..e74d1ce49dd72 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -562,7 +562,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -627,8 +627,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -932,7 +940,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -990,8 +998,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 3ac0bb6967f69..c424966ad7907 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -140,13 +140,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -561,7 +561,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -626,8 +626,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -931,7 +939,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -989,8 +997,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1750,27 +1766,26 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:45 AM] Projects in this build: +[12:00:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:47 AM] Building project '/src/first/tsconfig.json'... +[12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:58 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, @@ -1988,7 +2003,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2047,8 +2062,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 72a767d47daf5..50496a7bfed81 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -141,13 +141,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -563,7 +563,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -628,8 +628,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -933,7 +941,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -991,8 +999,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1731,7 +1747,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.baseline.txt] ====================================================================== @@ -1884,7 +1900,16 @@ declare var c: C; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js", + "tsBuildInfoFile": "./third.tsbuildinfo" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 720 + "size": 1193 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 190440a79eff2..bd37d51f486d5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -138,13 +138,13 @@ Output:: [12:00:09 AM] Building project '/src/first/tsconfig.json'... -[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist -[12:00:20 AM] Building project '/src/second/tsconfig.json'... +[12:00:21 AM] Building project '/src/second/tsconfig.json'... -[12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist +[12:00:32 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/third/tsconfig.json'... +[12:00:33 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success @@ -560,7 +560,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -625,8 +625,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 22000 + }, "version": "FakeTSVersion", - "size": 255 + "size": 492 } //// [/src/first/bin/first-output.d.ts] @@ -930,7 +938,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -988,8 +996,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1647,7 +1663,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1781,8 +1797,16 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 648 + "size": 1061 } @@ -1807,35 +1831,33 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:50 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:51 AM] Building project '/src/first/tsconfig.json'... +[12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:00 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:01 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:02 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:05 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success getModifiedTime:: { "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/first_PART1.ts": 1, - "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.tsbuildinfo": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, "/src/second/tsconfig.json": 1, "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 + "/src/third/tsconfig.json": 1 } setModifiedTime:: {} @@ -2043,7 +2065,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2102,8 +2124,16 @@ declare function f(): string; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 10000 + }, "version": "FakeTSVersion", - "size": 252 + "size": 551 } //// [/src/third/thirdjs/output/third-output.js] @@ -2552,7 +2582,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2687,7 +2717,15 @@ declare class C { ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 34000 + }, "version": "FakeTSVersion", - "size": 648 + "size": 1061 } diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index b9f7b8e9cdc21..89b69dd83681f 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -137,14 +137,13 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, - "/src/logic/index.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/logic/index.d.ts": 1 } getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, @@ -763,14 +762,13 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/index.d.ts": 2, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, + "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/index.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/logic/index.d.ts": 1 } getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, @@ -1215,7 +1213,6 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/index.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } @@ -1422,10 +1419,9 @@ readFiles:: { "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/logic/decls/index.d.ts": 2, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/logic/decls/index.d.ts": 1 } getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index d0d17f1a2954e..ebc4cad818c44 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -138,14 +138,13 @@ readFiles:: { "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.d.ts": 2, "/src/logic/ownFile.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, - "/src/logic/index.d.ts": 2, + "/src/core/anotherModule.d.ts": 1, "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, - "/src/tests/index.d.ts": 1 + "/src/logic/index.d.ts": 1 } getModifiedTime:: { "/src/core/tsconfig.tsbuildinfo": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 1dd82dfb1fdef..7c2e7fa80fd54 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -38,7 +38,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:52 AM] Found 0 errors. Watching for file changes. +[12:00:54 AM] Found 0 errors. Watching for file changes. @@ -94,7 +94,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -122,8 +122,16 @@ declare function foo(): number; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "517738360-declare function foo(): number;\n", + "dtsChangeTime": 30000 + }, "version": "FakeTSVersion", - "size": 203 + "size": 350 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -154,7 +162,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -208,8 +216,16 @@ declare function bar(): number; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "9641219228-declare function foo(): number;\ndeclare function bar(): number;\n", + "dtsChangeTime": 42000 + }, "version": "FakeTSVersion", - "size": 417 + "size": 598 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -284,7 +300,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:56 AM] File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... @@ -330,7 +346,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -358,8 +374,16 @@ declare function myFunc(): number; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", + "dtsChangeTime": 59000 + }, "version": "FakeTSVersion", - "size": 203 + "size": 387 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -412,7 +436,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:29 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -462,7 +486,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -516,8 +540,16 @@ declare function bar(): number; ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n", + "dtsChangeTime": 76000 + }, "version": "FakeTSVersion", - "size": 418 + "size": 636 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -589,7 +621,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:33 AM] File change detected. Starting incremental compilation... +[12:01:37 AM] File change detected. Starting incremental compilation... @@ -631,7 +663,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -659,8 +691,16 @@ function myFunc() { return 100; } ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", + "dtsChangeTime": 59000 + }, "version": "FakeTSVersion", - "size": 203 + "size": 387 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -696,9 +736,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/sample1/core/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -715,7 +753,7 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:02:03 AM] Found 0 errors. Watching for file changes. +[12:02:07 AM] Found 0 errors. Watching for file changes. @@ -747,7 +785,7 @@ function bar() { return foo() + 1; } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -801,8 +839,16 @@ function bar() { return foo() + 1; } ] } }, + "program": { + "options": { + "composite": true, + "outFile": "./index.js" + }, + "outSignature": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n", + "dtsChangeTime": 76000 + }, "version": "FakeTSVersion", - "size": 418 + "size": 636 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -844,8 +890,6 @@ fileExists:: { directoryExists:: {} -getModifiedTimes:: { - "/user/username/projects/sample1/logic/index.d.ts": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} From 62c687be8401c0595580db50ca78bc0cfe3613e3 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 19 Apr 2022 14:33:37 -0700 Subject: [PATCH 36/64] Store hash of text in the bundle info so it can be verified before manipulating text for fast updates during prepend This helps when text changes during incremental build toggling and we determine we can just manipulate text --- src/compiler/emitter.ts | 32 ++- src/compiler/program.ts | 1 + src/compiler/types.ts | 3 + src/testRunner/unittests/tsbuild/helpers.ts | 17 +- .../modules-and-globals-mixed-in-amd.js | 48 ++-- .../multiple-emitHelpers-in-all-projects.js | 60 +++-- .../multiple-prologues-in-all-projects.js | 60 +++-- .../shebang-in-all-projects.js | 48 ++-- .../amdModulesWithOut/stripInternal.js | 72 ++++-- .../triple-slash-refs-in-all-projects.js | 48 ++-- ...e-resolution-finds-original-source-file.js | 24 +- ...rojects-and-concatenates-them-correctly.js | 50 ++-- .../outFile/builds-till-project-specified.js | 12 +- .../tsbuild/outFile/clean-projects.js | 36 ++- .../outFile/cleans-till-project-specified.js | 36 ++- ...s-between-non-dts-changes-discrepancies.js | 214 ------------------ ...al-flag-changes-between-non-dts-changes.js | 97 +++++--- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 72 ++++-- ...erated-when-incremental-is-set-to-false.js | 24 +- ...-buildInfo-absence-results-in-new-build.js | 46 ++-- .../baseline-sectioned-sourcemaps.js | 84 ++++--- .../declarationMap-and-sourceMap-disabled.js | 24 +- .../emitHelpers-in-all-projects.js | 92 +++++--- ...tHelpers-in-only-one-dependency-project.js | 80 ++++--- .../tsbuild/outfile-concat/explainFiles.js | 84 ++++--- .../multiple-emitHelpers-in-all-projects.js | 70 ++++-- ...tiple-emitHelpers-in-different-projects.js | 72 ++++-- .../multiple-prologues-in-all-projects.js | 90 +++++--- ...ultiple-prologues-in-different-projects.js | 70 ++++-- .../outfile-concat/shebang-in-all-projects.js | 84 ++++--- .../shebang-in-only-one-dependency-project.js | 60 +++-- .../outfile-concat/strict-in-all-projects.js | 90 +++++--- .../strict-in-one-dependency.js | 80 ++++--- ...hen-internal-is-inside-another-internal.js | 36 ++- ...en-one-two-three-are-prepended-in-order.js | 108 ++++++--- .../stripInternal-jsdoc-style-comment.js | 84 ++++--- ...en-one-two-three-are-prepended-in-order.js | 72 ++++-- ...-jsdoc-style-with-comments-emit-enabled.js | 60 +++-- ...l-when-few-members-of-enum-are-internal.js | 36 ++- ...en-one-two-three-are-prepended-in-order.js | 144 ++++++++---- ...nal-when-prepend-is-completely-internal.js | 23 +- ...en-one-two-three-are-prepended-in-order.js | 108 ++++++--- ...tripInternal-with-comments-emit-enabled.js | 84 ++++--- .../tsbuild/outfile-concat/stripInternal.js | 108 ++++++--- .../triple-slash-refs-in-all-projects.js | 84 ++++--- .../triple-slash-refs-in-one-project.js | 60 +++-- ...roject-is-not-composite-but-incremental.js | 36 ++- ...t-composite-but-uses-project-references.js | 36 ++- ...final-project-specifies-tsBuildInfoFile.js | 36 ++- ...-source-files-are-empty-in-the-own-file.js | 60 +++-- ...ncing-project-even-for-non-local-change.js | 60 +++-- .../with---out-incremental.js | 7 +- .../module-compilation/with---out-watch.js | 7 +- .../incremental/with---out-incremental.js | 7 +- .../tscWatch/incremental/with---out-watch.js | 7 +- 55 files changed, 2039 insertions(+), 1204 deletions(-) delete mode 100644 tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 1b8fd15ddeed8..a157e0d7ff89c 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -558,6 +558,7 @@ namespace ts { if (sourceMapFilePath) { const sourceMap = sourceMapGenerator.toString(); writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap, /*writeByteOrderMark*/ false, sourceFiles); + if (printer.bundleFileInfo) printer.bundleFileInfo.mapHash = BuilderState.computeSignature(sourceMap, maybeBind(host, host.createHash)); } } else { @@ -565,7 +566,9 @@ namespace ts { } // Write the output file - writeFile(host, emitterDiagnostics, jsFilePath, writer.getText(), !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos }); + const text = writer.getText(); + writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos }); + if (printer.bundleFileInfo) printer.bundleFileInfo.hash = BuilderState.computeSignature(text, maybeBind(host, host.createHash)); // Reset state writer.clear(); @@ -712,6 +715,7 @@ namespace ts { getNewLine(): string; createHash?(data: string): string; now?(): Date; + getBuildInfo?(fileName: string, configFilePath: string | undefined): BuildInfo | undefined; } function createSourceFilesFromBundleBuildInfo(bundle: BundleBuildInfo, buildInfoDirectory: string, host: EmitUsingBuildInfoHost): readonly SourceFile[] { @@ -748,23 +752,38 @@ namespace ts { getCommandLine: (ref: ProjectReference) => ParsedCommandLine | undefined, customTransformers?: CustomTransformers ): EmitUsingBuildInfoResult { + const createHash = maybeBind(host, host.createHash); const { buildInfoPath, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle(config.options, /*forceDtsPaths*/ false); - const buildInfoText = host.readFile(Debug.checkDefined(buildInfoPath)); - if (!buildInfoText) return buildInfoPath!; + let buildInfo: BuildInfo; + if (host.getBuildInfo) { + const hostBuildInfo = host.getBuildInfo(buildInfoPath!, config.options.configFilePath); + if (!hostBuildInfo) return buildInfoPath!; + buildInfo = hostBuildInfo; + } + else { + const buildInfoText = host.readFile(buildInfoPath!); + if (!buildInfoText) return buildInfoPath!; + buildInfo = getBuildInfo(buildInfoText); + } + if (!buildInfo.bundle || !buildInfo.bundle.js || (declarationFilePath && !buildInfo.bundle.dts)) return buildInfoPath!; + const jsFileText = host.readFile(Debug.checkDefined(jsFilePath)); if (!jsFileText) return jsFilePath!; + if (BuilderState.computeSignature(jsFileText, createHash) !== buildInfo.bundle.js.hash) return jsFilePath!; const sourceMapText = sourceMapFilePath && host.readFile(sourceMapFilePath); // error if no source map or for now if inline sourcemap if ((sourceMapFilePath && !sourceMapText) || config.options.inlineSourceMap) return sourceMapFilePath || "inline sourcemap decoding"; + if (sourceMapFilePath && BuilderState.computeSignature(sourceMapText!, createHash) !== buildInfo.bundle.js.mapHash) return sourceMapFilePath; + // read declaration text const declarationText = declarationFilePath && host.readFile(declarationFilePath); if (declarationFilePath && !declarationText) return declarationFilePath; + if (declarationFilePath && BuilderState.computeSignature(declarationText!, createHash) !== buildInfo.bundle.dts!.hash) return declarationFilePath; const declarationMapText = declarationMapPath && host.readFile(declarationMapPath); // error if no source map or for now if inline sourcemap if ((declarationMapPath && !declarationMapText) || config.options.inlineSourceMap) return declarationMapPath || "inline sourcemap decoding"; + if (declarationMapPath && BuilderState.computeSignature(declarationMapText!, createHash) !== buildInfo.bundle.dts!.mapHash) return declarationMapPath; - const buildInfo = getBuildInfo(buildInfoText); - if (!buildInfo.bundle || !buildInfo.bundle.js || (declarationText && !buildInfo.bundle.dts)) return buildInfoPath!; const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath!, host.getCurrentDirectory())); const ownPrependInput = createInputFiles( jsFileText, @@ -812,7 +831,7 @@ namespace ts { newBuildInfo.program = buildInfo.program; if (newBuildInfo.program && changedDtsText !== undefined && config.options.composite) { // Update the output signature - newBuildInfo.program.outSignature = computeSignature(changedDtsText, changedDtsData, maybeBind(host, host.createHash)); + newBuildInfo.program.outSignature = computeSignature(changedDtsText, changedDtsData, createHash); newBuildInfo.program.dtsChangeTime = getCurrentTime(host).getTime(); } // Update sourceFileInfo @@ -845,6 +864,7 @@ namespace ts { getSourceFileFromReference: returnUndefined, redirectTargetsMap: createMultiMap(), getFileIncludeReasons: notImplemented, + createHash, }; emitFiles( notImplementedResolver, diff --git a/src/compiler/program.ts b/src/compiler/program.ts index bf6b2a81f62e7..8e9298d5e5970 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1867,6 +1867,7 @@ namespace ts { getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref), redirectTargetsMap, getFileIncludeReasons: program.getFileIncludeReasons, + createHash: maybeBind(host, host.createHash), }; } diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 1134ca75d5b7d..6f08f15b240e6 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7095,6 +7095,7 @@ namespace ts { getProgramBuildInfo(): ProgramBuildInfo | undefined; getSourceFileFromReference: Program["getSourceFileFromReference"]; readonly redirectTargetsMap: RedirectTargetsMap; + createHash?(data: string): string; } /* @internal */ @@ -8242,6 +8243,8 @@ namespace ts { /*@internal*/ export interface BundleFileInfo { sections: BundleFileSection[]; + hash?: string; + mapHash?: string; sources?: SourceFileInfo; } diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index 8821292d6bd61..c37716f2a3212 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -247,7 +247,22 @@ interface Symbol { }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { - bundle: buildInfo.bundle, + // Baseline fixed order for bundle + bundle: buildInfo.bundle && { + ...buildInfo.bundle, + js: buildInfo.bundle.js && { + sections: buildInfo.bundle.js.sections, + hash: buildInfo.bundle.js.hash, + mapHash: buildInfo.bundle.js.mapHash, + sources: buildInfo.bundle.js.sources, + }, + dts: buildInfo.bundle.dts && { + sections: buildInfo.bundle.dts.sections, + hash: buildInfo.bundle.dts.hash, + mapHash: buildInfo.bundle.dts.mapHash, + sources: buildInfo.bundle.dts.sources, + }, + }, program, version, size: getBuildInfoText({ ...buildInfo, version }).length, diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 6b1af804d4de2..dec721d50d0fa 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -512,7 +512,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -599,7 +599,9 @@ declare const myVar = 30; "end": 685, "kind": "text" } - ] + ], + "hash": "-13733503289-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -621,7 +623,9 @@ declare const myVar = 30; "end": 253, "kind": "text" } - ] + ], + "hash": "-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -633,7 +637,7 @@ declare const myVar = 30; "dtsChangeTime": 20000 }, "version": "FakeTSVersion", - "size": 838 + "size": 2866 } //// [/src/lib/module.d.ts] @@ -904,7 +908,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}],"mapHash":"15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -959,7 +963,9 @@ declare const globalConst = 10; "end": 459, "kind": "text" } - ] + ], + "hash": "10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -968,7 +974,9 @@ declare const globalConst = 10; "end": 171, "kind": "text" } - ] + ], + "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -980,7 +988,7 @@ declare const globalConst = 10; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 552 + "size": 1995 } @@ -1261,7 +1269,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1349,7 +1357,9 @@ declare const myVar = 30; "end": 714, "kind": "text" } - ] + ], + "hash": "-22321753400-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1371,7 +1381,9 @@ declare const myVar = 30; "end": 253, "kind": "text" } - ] + ], + "hash": "-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -1383,7 +1395,7 @@ declare const myVar = 30; "dtsChangeTime": 20000 }, "version": "FakeTSVersion", - "size": 838 + "size": 2939 } //// [/src/lib/module.d.ts] file written with same contents @@ -1555,7 +1567,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}],"mapHash":"32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1611,7 +1623,9 @@ declare const globalConst = 10; "end": 488, "kind": "text" } - ] + ], + "hash": "-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1620,7 +1634,9 @@ declare const globalConst = 10; "end": 171, "kind": "text" } - ] + ], + "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -1632,6 +1648,6 @@ declare const globalConst = 10; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 552 + "size": 2068 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index e14ba2ef89262..9adc842deb53f 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -1160,7 +1160,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1334,6 +1334,8 @@ declare const appfile4_ar: number[]; "kind": "text" } ], + "hash": "51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map", + "mapHash": "25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -1362,7 +1364,9 @@ declare const appfile4_ar: number[]; "end": 441, "kind": "text" } - ] + ], + "hash": "39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}" } }, "program": { @@ -1374,7 +1378,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1339 + "size": 6665 } //// [/src/lib/module.d.ts] @@ -1999,7 +2003,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2128,6 +2132,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "helpers": [ "typescript:read", @@ -2143,7 +2149,9 @@ declare const globalConst = 10; "end": 265, "kind": "text" } - ] + ], + "hash": "13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -2155,7 +2163,7 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 950 + "size": 4798 } @@ -2967,7 +2975,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3142,6 +3150,8 @@ declare const appfile4_ar: number[]; "kind": "text" } ], + "hash": "-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map", + "mapHash": "18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -3170,7 +3180,9 @@ declare const appfile4_ar: number[]; "end": 441, "kind": "text" } - ] + ], + "hash": "39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}" } }, "program": { @@ -3182,7 +3194,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1339 + "size": 6737 } //// [/src/lib/module.d.ts] file written with same contents @@ -3654,7 +3666,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3784,6 +3796,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "helpers": [ "typescript:read", @@ -3799,7 +3813,9 @@ declare const globalConst = 10; "end": 265, "kind": "text" } - ] + ], + "hash": "13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -3811,7 +3827,7 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 950 + "size": 4870 } @@ -4536,7 +4552,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4709,6 +4725,8 @@ declare const appfile4_ar: number[]; "kind": "text" } ], + "hash": "-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map", + "mapHash": "10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -4737,7 +4755,9 @@ declare const appfile4_ar: number[]; "end": 441, "kind": "text" } - ] + ], + "hash": "39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}" } }, "program": { @@ -4749,7 +4769,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1339 + "size": 6517 } //// [/src/lib/module.d.ts] file written with same contents @@ -5114,7 +5134,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -5223,6 +5243,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "helpers": [ "typescript:read", @@ -5237,7 +5259,9 @@ declare const globalConst = 10; "end": 265, "kind": "text" } - ] + ], + "hash": "13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -5249,6 +5273,6 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 862 + "size": 4025 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index ab953af894e48..6d7da73d54b09 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -606,7 +606,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -732,6 +732,8 @@ declare const myVar = 30; "kind": "text" } ], + "hash": "10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -781,7 +783,9 @@ declare const myVar = 30; "end": 253, "kind": "text" } - ] + ], + "hash": "-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -793,7 +797,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1296 + "size": 3532 } //// [/src/lib/module.d.ts] @@ -1119,7 +1123,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1203,6 +1207,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -1254,7 +1260,9 @@ declare const globalConst = 10; "end": 171, "kind": "text" } - ] + ], + "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -1266,7 +1274,7 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1071 + "size": 2646 } @@ -1631,7 +1639,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1758,6 +1766,8 @@ declare const myVar = 30; "kind": "text" } ], + "hash": "-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -1807,7 +1817,9 @@ declare const myVar = 30; "end": 253, "kind": "text" } - ] + ], + "hash": "-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -1819,7 +1831,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1296 + "size": 3603 } //// [/src/lib/module.d.ts] file written with same contents @@ -2043,7 +2055,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2128,6 +2140,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -2179,7 +2193,9 @@ declare const globalConst = 10; "end": 171, "kind": "text" } - ] + ], + "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -2191,7 +2207,7 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1071 + "size": 2718 } @@ -2749,7 +2765,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2877,6 +2893,8 @@ declare const myVar = 30; "kind": "text" } ], + "hash": "1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -2926,7 +2944,9 @@ declare const myVar = 30; "end": 253, "kind": "text" } - ] + ], + "hash": "-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -2938,7 +2958,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1296 + "size": 3639 } //// [/src/lib/module.d.ts] file written with same contents @@ -3297,7 +3317,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3383,6 +3403,8 @@ declare const globalConst = 10; "kind": "text" } ], + "hash": "-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -3434,7 +3456,9 @@ declare const globalConst = 10; "end": 171, "kind": "text" } - ] + ], + "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -3446,6 +3470,6 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 1071 + "size": 2761 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 8cac0676acfcf..22b368e8a0691 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -525,7 +525,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -612,7 +612,9 @@ declare const myVar = 30; "end": 710, "kind": "text" } - ] + ], + "hash": "18621375477-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -634,7 +636,9 @@ declare const myVar = 30; "end": 278, "kind": "text" } - ] + ], + "hash": "-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -646,7 +650,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 868 + "size": 2952 } //// [/src/lib/module.d.ts] @@ -925,7 +929,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -980,7 +984,9 @@ declare const globalConst = 10; "end": 484, "kind": "text" } - ] + ], + "hash": "29113258623-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -989,7 +995,9 @@ declare const globalConst = 10; "end": 196, "kind": "text" } - ] + ], + "hash": "-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -1001,7 +1009,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 582 + "size": 2081 } @@ -1288,7 +1296,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1376,7 +1384,9 @@ declare const myVar = 30; "end": 739, "kind": "text" } - ] + ], + "hash": "-25412899146-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1398,7 +1408,9 @@ declare const myVar = 30; "end": 278, "kind": "text" } - ] + ], + "hash": "-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -1410,7 +1422,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 868 + "size": 3026 } //// [/src/lib/module.d.ts] file written with same contents @@ -1586,7 +1598,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}]},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1642,7 +1654,9 @@ declare const globalConst = 10; "end": 513, "kind": "text" } - ] + ], + "hash": "-14818255616-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1651,7 +1665,9 @@ declare const globalConst = 10; "end": 196, "kind": "text" } - ] + ], + "hash": "-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -1663,6 +1679,6 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 582 + "size": 2154 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 7300cf7875087..0f37edaad4dd3 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -2021,7 +2021,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2201,7 +2201,9 @@ declare const myVar = 30; "end": 4608, "kind": "text" } - ] + ], + "hash": "-90621758844-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2223,7 +2225,9 @@ declare const myVar = 30; "end": 299, "kind": "text" } - ] + ], + "hash": "17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -2235,7 +2239,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 894 + "size": 9037 } //// [/src/lib/module.d.ts] @@ -4617,7 +4621,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4826,7 +4830,9 @@ declare const globalConst = 10; "end": 4382, "kind": "text" } - ] + ], + "hash": "-103876932274-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -4870,7 +4876,9 @@ declare const globalConst = 10; "end": 1333, "kind": "text" } - ] + ], + "hash": "6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -4882,7 +4890,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2079 + "size": 11666 } @@ -6631,7 +6639,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -6812,7 +6820,9 @@ declare const myVar = 30; "end": 4637, "kind": "text" } - ] + ], + "hash": "-25974477915-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -6834,7 +6844,9 @@ declare const myVar = 30; "end": 299, "kind": "text" } - ] + ], + "hash": "17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -6846,7 +6858,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 894 + "size": 9109 } //// [/src/lib/module.d.ts] file written with same contents @@ -8461,7 +8473,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -8671,7 +8683,9 @@ declare const globalConst = 10; "end": 4411, "kind": "text" } - ] + ], + "hash": "-60704068049-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -8715,7 +8729,9 @@ declare const globalConst = 10; "end": 1333, "kind": "text" } - ] + ], + "hash": "6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -8727,7 +8743,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2079 + "size": 11737 } @@ -10683,7 +10699,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":73000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":73000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -10863,7 +10879,9 @@ declare const myVar = 30; "end": 4651, "kind": "text" } - ] + ], + "hash": "-28060741068-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -10885,7 +10903,9 @@ declare const myVar = 30; "end": 273, "kind": "text" } - ] + ], + "hash": "20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -10897,7 +10917,7 @@ declare const myVar = 30; "dtsChangeTime": 73000 }, "version": "FakeTSVersion", - "size": 866 + "size": 9041 } //// [/src/lib/module.d.ts] file written with same contents @@ -13255,7 +13275,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -13470,7 +13490,9 @@ declare const globalConst = 10; "end": 4425, "kind": "text" } - ] + ], + "hash": "-22692085506-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -13524,7 +13546,9 @@ declare const globalConst = 10; "end": 1333, "kind": "text" } - ] + ], + "hash": "6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -13536,6 +13560,6 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2151 + "size": 11833 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 6d4c77adabfe5..ddf741d9bed69 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -648,7 +648,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -747,7 +747,9 @@ declare const myVar = 30; "end": 835, "kind": "text" } - ] + ], + "hash": "-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -781,7 +783,9 @@ declare const myVar = 30; "end": 416, "kind": "text" } - ] + ], + "hash": "-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -793,7 +797,7 @@ declare const myVar = 30; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1147 + "size": 3689 } //// [/src/lib/module.d.ts] @@ -1127,7 +1131,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1188,7 +1192,9 @@ declare const globalConst = 10; "end": 534, "kind": "text" } - ] + ], + "hash": "-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1203,7 +1209,9 @@ declare const globalConst = 10; "end": 249, "kind": "text" } - ] + ], + "hash": "31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -1215,7 +1223,7 @@ declare const globalConst = 10; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 700 + "size": 2394 } @@ -1573,7 +1581,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1673,7 +1681,9 @@ declare const myVar = 30; "end": 864, "kind": "text" } - ] + ], + "hash": "-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1707,7 +1717,9 @@ declare const myVar = 30; "end": 416, "kind": "text" } - ] + ], + "hash": "-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -1719,7 +1731,7 @@ declare const myVar = 30; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1147 + "size": 3759 } //// [/src/lib/module.d.ts] file written with same contents @@ -1929,7 +1941,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1991,7 +2003,9 @@ declare const globalConst = 10; "end": 563, "kind": "text" } - ] + ], + "hash": "-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2006,7 +2020,9 @@ declare const globalConst = 10; "end": 249, "kind": "text" } - ] + ], + "hash": "31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -2018,6 +2034,6 @@ declare const globalConst = 10; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 700 + "size": 2465 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 9cfd4853c1ff8..699db62cf96bf 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -495,7 +495,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -582,7 +582,9 @@ declare const myVar = 30; "end": 693, "kind": "text" } - ] + ], + "hash": "-17566287533-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -604,7 +606,9 @@ declare const myVar = 30; "end": 261, "kind": "text" } - ] + ], + "hash": "24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}" } }, "program": { @@ -616,7 +620,7 @@ declare const myVar = 30; "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 838 + "size": 2882 } //// [/src/module.d.ts] @@ -888,7 +892,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -943,7 +947,9 @@ declare const globalConst = 10; "end": 467, "kind": "text" } - ] + ], + "hash": "-27587743651-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map", + "mapHash": "-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -952,7 +958,9 @@ declare const globalConst = 10; "end": 179, "kind": "text" } - ] + ], + "hash": "34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map", + "mapHash": "34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}" } }, "program": { @@ -964,6 +972,6 @@ declare const globalConst = 10; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 577 + "size": 2068 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 86789ede24943..40307a8443e3f 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -160,7 +160,7 @@ type Nominal = T & { //// [/src/common/common.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/common/common.tsbuildinfo.baseline.txt] ====================================================================== @@ -197,7 +197,8 @@ type Nominal = T & { "end": 84, "kind": "text" } - ] + ], + "hash": "4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n" }, "dts": { "sections": [ @@ -206,7 +207,8 @@ type Nominal = T & { "end": 64, "kind": "text" } - ] + ], + "hash": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n" } }, "program": { @@ -218,7 +220,7 @@ type Nominal = T & { "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 391 + "size": 595 } //// [/src/sub-project/sub-project.d.ts] @@ -244,7 +246,7 @@ var c = /** @type {*} */ (null); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -313,7 +315,8 @@ type MyNominal = Nominal; "end": 182, "kind": "text" } - ] + ], + "hash": "10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n" }, "dts": { "sections": [ @@ -335,7 +338,8 @@ type MyNominal = Nominal; "end": 199, "kind": "text" } - ] + ], + "hash": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n" } }, "program": { @@ -347,7 +351,7 @@ type MyNominal = Nominal; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 762 + "size": 1219 } //// [/src/sub-project-2/sub-project-2.d.ts] @@ -389,7 +393,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -474,7 +478,8 @@ declare namespace variable { "end": 338, "kind": "text" } - ] + ], + "hash": "13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n" }, "dts": { "sections": [ @@ -496,7 +501,8 @@ declare namespace variable { "end": 356, "kind": "text" } - ] + ], + "hash": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n" } }, "program": { @@ -508,7 +514,7 @@ declare namespace variable { "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 960 + "size": 1761 } @@ -571,7 +577,7 @@ var c = /** @type {*} */ (undefined); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -640,7 +646,8 @@ type MyNominal = Nominal; "end": 187, "kind": "text" } - ] + ], + "hash": "8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n" }, "dts": { "sections": [ @@ -662,7 +669,8 @@ type MyNominal = Nominal; "end": 199, "kind": "text" } - ] + ], + "hash": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n" } }, "program": { @@ -674,7 +682,7 @@ type MyNominal = Nominal; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 762 + "size": 1223 } //// [/src/sub-project-2/sub-project-2.js] @@ -698,7 +706,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -783,7 +791,8 @@ declare namespace variable { "end": 343, "kind": "text" } - ] + ], + "hash": "-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n" }, "dts": { "sections": [ @@ -805,7 +814,8 @@ declare namespace variable { "end": 356, "kind": "text" } - ] + ], + "hash": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n" } }, "program": { @@ -817,6 +827,6 @@ declare namespace variable { "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 960 + "size": 1766 } diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index 6cbc905d3cad5..4859cf15838c4 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":6000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -222,7 +222,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -231,7 +233,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -243,6 +247,6 @@ declare class C { "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 491 + "size": 1795 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 75023ce348fe2..6e4c0faf786b8 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -102,7 +102,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -111,7 +113,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -123,7 +127,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -153,7 +157,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -199,7 +203,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -208,7 +214,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -220,7 +228,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/first/first_PART1.ts] @@ -360,7 +368,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -475,7 +483,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -510,7 +520,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -522,7 +534,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index d3e34a18e5370..50b168f8071da 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -102,7 +102,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -111,7 +113,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -123,7 +127,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -153,7 +157,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -199,7 +203,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -208,7 +214,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -220,7 +228,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/first/first_PART1.ts] @@ -360,7 +368,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -475,7 +483,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -510,7 +520,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -522,7 +534,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js deleted file mode 100644 index a6086e2388dc4..0000000000000 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes-discrepancies.js +++ /dev/null @@ -1,214 +0,0 @@ -1:: Make incremental build with change in file that doesnt affect dts -*** Needs explaination -File: /src/third/thirdjs/output/third-output.js.map -CleanBuild: -{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} -IncrementalBuild: -{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;OAAA;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC"} -File: /src/third/thirdjs/output/third-output.js -CleanBuild: -var s = "Hello, world"; -console.log(s); -console.log(s); -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); -var c = new C(); -c.doSomething(); -//# sourceMappingURL=third-output.js.map -IncrementalBuild: -var s = "Hello, world"; -console.log(s); -console.log(s); -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); -eturn C; -}()); -var c = new C(); -c -//# sourceMappingURL=third-output.js.map -File: /src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/third/thirdjs/output/third-output.js ----------------------------------------------------------------------- -prepend: (0-144):: ../../../first/bin/first-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (0-144) -var s = "Hello, world"; -console.log(s); -console.log(s); -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - ----------------------------------------------------------------------- -prepend: (144-429):: ../../../2/second-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (144-429) -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); - ----------------------------------------------------------------------- -text: (429-465) -var c = new C(); -c.doSomething(); - -====================================================================== -====================================================================== -File:: /src/third/thirdjs/output/third-output.d.ts ----------------------------------------------------------------------- -prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - ----------------------------------------------------------------------- -prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (157-257) -declare namespace N { -} -declare namespace N { -} -declare class C { - doSomething(): void; -} - ----------------------------------------------------------------------- -text: (257-276) -declare var c: C; - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/third/thirdjs/output/third-output.js ----------------------------------------------------------------------- -prepend: (0-144):: ../../../first/bin/first-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (0-144) -var s = "Hello, world"; -console.log(s); -console.log(s); -console.log(s); -console.log(f()); -function f() { - return "JS does hoists"; -} - ----------------------------------------------------------------------- -prepend: (144-429):: ../../../2/second-output.js texts:: 1 ->>-------------------------------------------------------------------- -text: (144-429) -var N; -(function (N) { - function f() { - console.log('testing'); - } - f(); -})(N || (N = {})); -var C = (function () { - function C() { - } - C.prototype.doSomething = function () { - console.log("something got done"); - }; - return C; -}()); - ----------------------------------------------------------------------- -text: (429-465) -eturn C; -}()); -var c = new C(); -c -====================================================================== -====================================================================== -File:: /src/third/thirdjs/output/third-output.d.ts ----------------------------------------------------------------------- -prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (0-157) -interface TheFirst { - none: any; -} -declare const s = "Hello, world"; -interface NoJsForHereEither { - none: any; -} -declare function f(): string; - ----------------------------------------------------------------------- -prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 ->>-------------------------------------------------------------------- -text: (157-257) -declare namespace N { -} -declare namespace N { -} -declare class C { - doSomething(): void; -} - ----------------------------------------------------------------------- -text: (257-276) -declare var c: C; - -====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index f31568bc17e19..73344398fbd70 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -211,7 +211,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -264,7 +264,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -273,7 +275,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -285,7 +289,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -315,7 +319,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -361,7 +365,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -370,7 +376,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -382,7 +390,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -437,7 +445,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -552,7 +560,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -587,11 +597,13 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "version": "FakeTSVersion", - "size": 720 + "size": 3043 } @@ -680,7 +692,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -727,7 +739,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -736,7 +750,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -748,7 +764,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -820,6 +836,10 @@ Output:: [12:01:17 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:18 AM] Cannot update output of project '/src/third/tsconfig.json' because there was error reading file 'src/third/thirdjs/output/third-output.js' + +[12:01:19 AM] Building project '/src/third/tsconfig.json'... + exitCode:: ExitStatus.Success getModifiedTime:: { @@ -837,16 +857,18 @@ getModifiedTime:: { setModifiedTime:: {} fileExists:: { - "/src/first/bin/first-output.js": 1, + "/src/first/bin/first-output.js": 2, "/src/first/bin/first-output.d.ts": 1, + "/src/2/second-output.js": 1, "/src/third/thirdjs/output/third-output.js": 1, "/src/third/thirdjs/output/third-output.d.ts": 1 } directoryExists:: { "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 + "/src/node_modules/@types": 2, + "/node_modules/@types": 2, + "/src/third/node_modules/@types": 1 } @@ -867,7 +889,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -915,7 +937,9 @@ declare function f(): string; "end": 144, "kind": "text" } - ] + ], + "hash": "6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -924,7 +948,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -936,9 +962,11 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1810 } +//// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents +//// [/src/third/thirdjs/output/third-output.d.ts.map] file written with same contents //// [/src/third/thirdjs/output/third-output.js] var s = "Hello, world"; console.log(s); @@ -963,17 +991,15 @@ var C = (function () { }; return C; }()); -eturn C; -}()); var c = new C(); -c +c.doSomething(); //# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.js.map] -{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;OAAA;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC"} +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}],"mapHash":"56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1013,10 +1039,9 @@ var C = (function () { ---------------------------------------------------------------------- text: (429-465) -eturn C; -}()); var c = new C(); -c +c.doSomething(); + ====================================================================== ====================================================================== File:: /src/third/thirdjs/output/third-output.d.ts @@ -1091,7 +1116,9 @@ declare var c: C; "end": 465, "kind": "text" } - ] + ], + "hash": "-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1126,10 +1153,12 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "version": "FakeTSVersion", - "size": 720 + "size": 3163 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 9f083021fea14..38b1da82ada61 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -102,7 +102,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -111,7 +113,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -123,7 +127,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -153,7 +157,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -199,7 +203,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -208,7 +214,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -220,7 +228,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/first/first_PART1.ts] @@ -360,7 +368,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -475,7 +483,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -510,7 +520,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -522,7 +534,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } //// [/src/third/third_part1.ts] @@ -582,7 +594,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":58000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":58000},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] @@ -600,7 +612,9 @@ exitCode:: ExitStatus.Success "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -609,7 +623,9 @@ exitCode:: ExitStatus.Success "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -621,7 +637,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 58000 }, "version": "FakeTSCurrentVersion", - "size": 499 + "size": 1803 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -629,7 +645,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":47000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":47000},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -648,7 +664,9 @@ exitCode:: ExitStatus.Success "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -657,7 +675,9 @@ exitCode:: ExitStatus.Success "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -669,7 +689,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 47000 }, "version": "FakeTSCurrentVersion", - "size": 558 + "size": 1699 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -677,7 +697,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] @@ -720,7 +740,9 @@ exitCode:: ExitStatus.Success "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -755,7 +777,9 @@ exitCode:: ExitStatus.Success "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -767,6 +791,6 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 69000 }, "version": "FakeTSCurrentVersion", - "size": 1160 + "size": 3483 } diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index d01b26b7d4efa..a2c0aa73755c1 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -210,7 +210,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -263,7 +263,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -272,7 +274,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -284,7 +288,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -314,7 +318,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -360,7 +364,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -369,7 +375,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -381,7 +389,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 10524f85aafdb..46451a3cf5a0b 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -102,7 +102,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -111,7 +113,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -123,7 +127,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -196,7 +200,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -205,7 +211,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -217,7 +225,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/first/first_PART1.ts] @@ -357,7 +365,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -472,7 +480,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -507,7 +517,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -519,7 +531,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } //// [/src/third/third_part1.ts] @@ -604,7 +616,7 @@ directoryExists:: { //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":48000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":48000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -623,7 +635,9 @@ directoryExists:: { "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -632,7 +646,9 @@ directoryExists:: { "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -644,7 +660,7 @@ directoryExists:: { "dtsChangeTime": 48000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index b86bbcea0b225..7c0c40108c398 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -583,7 +583,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -636,7 +636,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -645,7 +647,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -657,7 +661,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -961,7 +965,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1007,7 +1011,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1016,7 +1022,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1028,7 +1036,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1767,7 +1775,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1882,7 +1890,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1917,7 +1927,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1929,7 +1941,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } @@ -2320,7 +2332,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2366,7 +2378,9 @@ declare function f(): string; "end": 109, "kind": "text" } - ] + ], + "hash": "-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2375,7 +2389,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2387,7 +2403,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1690 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3126,7 +3142,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3241,7 +3257,9 @@ declare var c: C; "end": 430, "kind": "text" } - ] + ], + "hash": "3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3276,7 +3294,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3288,7 +3308,7 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3472 } @@ -3569,7 +3589,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3616,7 +3636,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3625,7 +3647,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3637,7 +3661,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1747 } //// [/src/third/thirdjs/output/third-output.js] @@ -4141,7 +4165,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4257,7 +4281,9 @@ declare var c: C; "end": 447, "kind": "text" } - ] + ], + "hash": "22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -4292,7 +4318,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4304,6 +4332,6 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3531 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 7fcb77f76cb83..c6b15d57cda3f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -612,7 +612,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -621,7 +623,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -633,7 +637,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -937,7 +941,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -983,7 +987,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -992,7 +998,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1004,7 +1012,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 582c2ae4be697..bb2d964918fb2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -733,7 +733,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -810,6 +810,8 @@ declare class C { "kind": "text" } ], + "hash": "-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "helpers": [ "typescript:rest" @@ -823,7 +825,9 @@ declare class C { "end": 153, "kind": "text" } - ] + ], + "hash": "-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -835,7 +839,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 659 + "size": 2869 } //// [/src/first/bin/first-output.d.ts] @@ -1285,7 +1289,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1355,6 +1359,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -1368,7 +1374,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1380,7 +1388,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 714 + "size": 2751 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2510,7 +2518,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2657,6 +2665,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -2696,7 +2706,9 @@ declare function forthirdthird_part1Rest(): void; "end": 431, "kind": "text" } - ] + ], + "hash": "-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -2708,7 +2720,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 1431 + "size": 5374 } @@ -3247,7 +3259,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3317,6 +3329,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -3330,7 +3344,9 @@ declare function f(): string; "end": 207, "kind": "text" } - ] + ], + "hash": "-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3342,7 +3358,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 712 + "size": 2746 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -4472,7 +4488,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4619,6 +4635,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -4658,7 +4676,9 @@ declare function forthirdthird_part1Rest(): void; "end": 430, "kind": "text" } - ] + ], + "hash": "-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -4670,7 +4690,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1429 + "size": 5368 } @@ -5078,7 +5098,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5149,6 +5169,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -5162,7 +5184,9 @@ declare function f(): string; "end": 207, "kind": "text" } - ] + ], + "hash": "-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5174,7 +5198,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 712 + "size": 2805 } //// [/src/third/thirdjs/output/third-output.js] @@ -6011,7 +6035,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6159,6 +6183,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -6198,7 +6224,9 @@ declare function forthirdthird_part1Rest(): void; "end": 430, "kind": "text" } - ] + ], + "hash": "-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -6210,7 +6238,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1429 + "size": 5429 } @@ -6657,7 +6685,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6706,7 +6734,9 @@ declare function f(): string; "end": 166, "kind": "text" } - ] + ], + "hash": "-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -6715,7 +6745,9 @@ declare function f(): string; "end": 207, "kind": "text" } - ] + ], + "hash": "-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -6727,7 +6759,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 602 + "size": 1946 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -7776,7 +7808,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7922,6 +7954,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -7961,7 +7995,9 @@ declare function forthirdthird_part1Rest(): void; "end": 430, "kind": "text" } - ] + ], + "hash": "-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -7973,6 +8009,6 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1429 + "size": 5217 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index fc229c43cea39..6ef9154342e4e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -708,7 +708,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -785,6 +785,8 @@ declare class C { "kind": "text" } ], + "hash": "-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "helpers": [ "typescript:rest" @@ -798,7 +800,9 @@ declare class C { "end": 153, "kind": "text" } - ] + ], + "hash": "-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -810,7 +814,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 659 + "size": 2869 } //// [/src/first/bin/first-output.d.ts] @@ -1151,7 +1155,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1199,7 +1203,9 @@ declare function f(): string; "end": 150, "kind": "text" } - ] + ], + "hash": "32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1208,7 +1214,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1220,7 +1228,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 604 + "size": 1892 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2140,7 +2148,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2280,7 +2288,9 @@ declare var c: C; "end": 1092, "kind": "text" } - ] + ], + "hash": "5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2315,7 +2325,9 @@ declare var c: C; "end": 380, "kind": "text" } - ] + ], + "hash": "-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2327,7 +2339,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1336 + "size": 4704 } @@ -2604,7 +2616,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2653,7 +2665,9 @@ declare function f(): string; "end": 167, "kind": "text" } - ] + ], + "hash": "26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2662,7 +2676,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2674,7 +2690,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 604 + "size": 1951 } //// [/src/third/thirdjs/output/third-output.js] @@ -3322,7 +3338,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3463,7 +3479,9 @@ declare var c: C; "end": 1109, "kind": "text" } - ] + ], + "hash": "-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3498,7 +3516,9 @@ declare var c: C; "end": 380, "kind": "text" } - ] + ], + "hash": "-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3510,7 +3530,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1336 + "size": 4763 } @@ -4046,7 +4066,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4117,6 +4137,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -4130,7 +4152,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -4142,7 +4166,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 714 + "size": 2811 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5156,7 +5180,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5299,7 +5323,9 @@ declare var c: C; "end": 1186, "kind": "text" } - ] + ], + "hash": "-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5334,7 +5360,9 @@ declare var c: C; "end": 380, "kind": "text" } - ] + ], + "hash": "-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5346,6 +5374,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1336 + "size": 4978 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 13c1f945168e2..4d1f6120c8b2f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -584,7 +584,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -637,7 +637,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -646,7 +648,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -658,7 +662,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -962,7 +966,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1008,7 +1012,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1017,7 +1023,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1029,7 +1037,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1691 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1768,7 +1776,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1883,7 +1891,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1918,7 +1928,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1930,7 +1942,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3476 } @@ -2318,7 +2330,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2364,7 +2376,9 @@ declare function f(): string; "end": 109, "kind": "text" } - ] + ], + "hash": "-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2373,7 +2387,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2385,7 +2401,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1690 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3124,7 +3140,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3239,7 +3255,9 @@ declare var c: C; "end": 430, "kind": "text" } - ] + ], + "hash": "3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3274,7 +3292,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3286,7 +3306,7 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3472 } @@ -3553,7 +3573,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3600,7 +3620,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3609,7 +3631,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3621,7 +3645,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1747 } //// [/src/third/thirdjs/output/third-output.js] @@ -4125,7 +4149,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4241,7 +4265,9 @@ declare var c: C; "end": 447, "kind": "text" } - ] + ], + "hash": "22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -4276,7 +4302,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4288,6 +4316,6 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 1153 + "size": 3531 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 59b7c5a890075..d14ab6caf1c91 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -954,7 +954,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","dtsChangeTime":30000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1082,6 +1082,8 @@ declare const secondsecond_part2_ar: number[]; "kind": "text" } ], + "hash": "10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -1097,7 +1099,9 @@ declare const secondsecond_part2_ar: number[]; "end": 267, "kind": "text" } - ] + ], + "hash": "-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}" } }, "program": { @@ -1109,7 +1113,7 @@ declare const secondsecond_part2_ar: number[]; "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 968 + "size": 4829 } //// [/src/first/bin/first-output.d.ts] @@ -1787,7 +1791,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1908,6 +1912,8 @@ declare const firstfirst_part3_ar: number[]; "kind": "text" } ], + "hash": "-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -1923,7 +1929,9 @@ declare const firstfirst_part3_ar: number[]; "end": 318, "kind": "text" } - ] + ], + "hash": "-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -1935,7 +1943,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1019 + "size": 4699 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3653,7 +3661,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3871,6 +3879,8 @@ declare const thirdthird_part1_ar: number[]; "kind": "text" } ], + "hash": "-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -3912,7 +3922,9 @@ declare const thirdthird_part1_ar: number[]; "end": 765, "kind": "text" } - ] + ], + "hash": "-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -3924,7 +3936,7 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 1972 + "size": 8908 } @@ -4485,7 +4497,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4607,6 +4619,8 @@ declare const firstfirst_part3_ar: number[]; "kind": "text" } ], + "hash": "-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -4622,7 +4636,9 @@ declare const firstfirst_part3_ar: number[]; "end": 318, "kind": "text" } - ] + ], + "hash": "-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -4634,7 +4650,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 1019 + "size": 4759 } //// [/src/third/thirdjs/output/third-output.js] @@ -5897,7 +5913,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6116,6 +6132,8 @@ declare const thirdthird_part1_ar: number[]; "kind": "text" } ], + "hash": "-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -6157,7 +6175,9 @@ declare const thirdthird_part1_ar: number[]; "end": 765, "kind": "text" } - ] + ], + "hash": "-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -6169,7 +6189,7 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 1972 + "size": 8966 } @@ -6820,7 +6840,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6921,6 +6941,8 @@ declare const firstfirst_part3_ar: number[]; "kind": "text" } ], + "hash": "42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:read", @@ -6935,7 +6957,9 @@ declare const firstfirst_part3_ar: number[]; "end": 318, "kind": "text" } - ] + ], + "hash": "-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -6947,7 +6971,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 929 + "size": 3917 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -8578,7 +8602,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8795,6 +8819,8 @@ declare const thirdthird_part1_ar: number[]; "kind": "text" } ], + "hash": "72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}", "sources": { "helpers": [ "typescript:rest", @@ -8836,7 +8862,9 @@ declare const thirdthird_part1_ar: number[]; "end": 765, "kind": "text" } - ] + ], + "hash": "-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}" } }, "program": { @@ -8848,6 +8876,6 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 1970 + "size": 8751 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index bfed5df14d13f..2f4268b60921b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -800,7 +800,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -905,6 +905,8 @@ declare class C { "kind": "text" } ], + "hash": "53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "helpers": [ "typescript:read", @@ -919,7 +921,9 @@ declare class C { "end": 214, "kind": "text" } - ] + ], + "hash": "-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -931,7 +935,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 823 + "size": 3787 } //// [/src/first/bin/first-output.d.ts] @@ -1381,7 +1385,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1451,6 +1455,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -1464,7 +1470,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1476,7 +1484,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 714 + "size": 2751 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2714,7 +2722,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2908,6 +2916,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -2947,7 +2957,9 @@ declare function forthirdthird_part1Rest(): void; "end": 492, "kind": "text" } - ] + ], + "hash": "2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -2959,7 +2971,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1646 + "size": 6881 } @@ -3345,7 +3357,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3416,6 +3428,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -3429,7 +3443,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3441,7 +3457,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 714 + "size": 2811 } //// [/src/third/thirdjs/output/third-output.js] @@ -4350,7 +4366,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4545,6 +4561,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -4584,7 +4602,9 @@ declare function forthirdthird_part1Rest(): void; "end": 492, "kind": "text" } - ] + ], + "hash": "2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -4596,7 +4616,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1646 + "size": 6939 } @@ -5021,7 +5041,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5070,7 +5090,9 @@ declare function f(): string; "end": 167, "kind": "text" } - ] + ], + "hash": "26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -5079,7 +5101,9 @@ declare function f(): string; "end": 208, "kind": "text" } - ] + ], + "hash": "-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5091,7 +5115,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 604 + "size": 1951 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6247,7 +6271,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6440,6 +6464,8 @@ declare function forthirdthird_part1Rest(): void; "kind": "text" } ], + "hash": "15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}", "sources": { "helpers": [ "typescript:rest" @@ -6479,7 +6505,9 @@ declare function forthirdthird_part1Rest(): void; "end": 492, "kind": "text" } - ] + ], + "hash": "2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}" } }, "program": { @@ -6491,6 +6519,6 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1644 + "size": 6724 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 1a693dce72124..7a8d40941b55c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -627,7 +627,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -708,6 +708,8 @@ declare class C { "kind": "text" } ], + "hash": "1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "prologues": [ { @@ -759,7 +761,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -771,7 +775,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 1011 + "size": 2404 } //// [/src/first/bin/first-output.d.ts] @@ -1092,7 +1096,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1157,6 +1161,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -1193,7 +1199,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1205,7 +1213,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 887 + "size": 2080 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2007,7 +2015,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2159,6 +2167,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -2230,7 +2240,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2242,7 +2254,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 1701 + "size": 4148 } @@ -2651,7 +2663,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2716,6 +2728,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -2752,7 +2766,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2764,7 +2780,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 886 + "size": 2077 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3566,7 +3582,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3718,6 +3734,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -3789,7 +3807,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3801,7 +3821,7 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 1701 + "size": 4146 } @@ -4099,7 +4119,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4165,6 +4185,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -4201,7 +4223,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -4213,7 +4237,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 886 + "size": 2138 } //// [/src/third/thirdjs/output/third-output.js] @@ -4775,7 +4799,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4928,6 +4952,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -4999,7 +5025,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5011,7 +5039,7 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 1701 + "size": 4204 } @@ -5456,7 +5484,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5531,6 +5559,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -5576,7 +5606,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5588,7 +5620,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 1036 + "size": 2320 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6415,7 +6447,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6577,6 +6609,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -6648,7 +6682,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -6660,6 +6696,6 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 1760 + "size": 4301 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 45e46449cb9ff..e8d0a84f9117e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -601,7 +601,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -673,6 +673,8 @@ declare class C { "kind": "text" } ], + "hash": "-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "prologues": [ { @@ -715,7 +717,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -727,7 +731,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 880 + "size": 2254 } //// [/src/first/bin/first-output.d.ts] @@ -1033,7 +1037,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1089,6 +1093,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -1116,7 +1122,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1128,7 +1136,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 744 + "size": 1905 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1907,7 +1915,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2050,6 +2058,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -2103,7 +2113,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2115,7 +2127,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1464 + "size": 3873 } @@ -2376,7 +2388,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2433,6 +2445,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -2460,7 +2474,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2472,7 +2488,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 744 + "size": 1963 } //// [/src/third/thirdjs/output/third-output.js] @@ -3014,7 +3030,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3158,6 +3174,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -3211,7 +3229,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3223,7 +3243,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1464 + "size": 3933 } @@ -3631,7 +3651,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3697,6 +3717,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -3733,7 +3755,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3745,7 +3769,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 890 + "size": 2145 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4552,7 +4576,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4705,6 +4729,8 @@ declare var c: C; "kind": "text" } ], + "hash": "18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -4758,7 +4784,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4770,6 +4798,6 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1523 + "size": 4028 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 7692746592e7a..f36ccbd3335ad 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -593,7 +593,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -646,7 +646,9 @@ declare class C { "end": 320, "kind": "text" } - ] + ], + "hash": "4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -655,7 +657,9 @@ declare class C { "end": 135, "kind": "text" } - ] + ], + "hash": "-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -667,7 +671,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 533 + "size": 1915 } //// [/src/first/bin/first-output.d.ts] @@ -978,7 +982,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1024,7 +1028,9 @@ declare function f(): string; "end": 143, "kind": "text" } - ] + ], + "hash": "-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1033,7 +1039,9 @@ declare function f(): string; "end": 190, "kind": "text" } - ] + ], + "hash": "15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1045,7 +1053,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 587 + "size": 1800 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1795,7 +1803,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1910,7 +1918,9 @@ declare var c: C; "end": 464, "kind": "text" } - ] + ], + "hash": "-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1945,7 +1955,9 @@ declare var c: C; "end": 309, "kind": "text" } - ] + ], + "hash": "7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1957,7 +1969,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 1192 + "size": 3586 } @@ -2356,7 +2368,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2402,7 +2414,9 @@ declare function f(): string; "end": 142, "kind": "text" } - ] + ], + "hash": "13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2411,7 +2425,9 @@ declare function f(): string; "end": 189, "kind": "text" } - ] + ], + "hash": "18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2423,7 +2439,7 @@ declare function f(): string; "dtsChangeTime": 58000 }, "version": "FakeTSVersion", - "size": 586 + "size": 1794 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3173,7 +3189,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3288,7 +3304,9 @@ declare var c: C; "end": 463, "kind": "text" } - ] + ], + "hash": "-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3323,7 +3341,9 @@ declare var c: C; "end": 308, "kind": "text" } - ] + ], + "hash": "16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3335,7 +3355,7 @@ declare var c: C; "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 1191 + "size": 3584 } @@ -3621,7 +3641,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3668,7 +3688,9 @@ declare function f(): string; "end": 159, "kind": "text" } - ] + ], + "hash": "14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3677,7 +3699,9 @@ declare function f(): string; "end": 189, "kind": "text" } - ] + ], + "hash": "18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3689,7 +3713,7 @@ declare function f(): string; "dtsChangeTime": 58000 }, "version": "FakeTSVersion", - "size": 586 + "size": 1853 } //// [/src/third/thirdjs/output/third-output.js] @@ -4199,7 +4223,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}]},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4315,7 +4339,9 @@ declare var c: C; "end": 480, "kind": "text" } - ] + ], + "hash": "62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -4350,7 +4376,9 @@ declare var c: C; "end": 308, "kind": "text" } - ] + ], + "hash": "16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4362,6 +4390,6 @@ declare var c: C; "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 1191 + "size": 3642 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index b048ea27f7128..fae66e53d618d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -569,7 +569,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -622,7 +622,9 @@ declare class C { "end": 320, "kind": "text" } - ] + ], + "hash": "4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -631,7 +633,9 @@ declare class C { "end": 135, "kind": "text" } - ] + ], + "hash": "-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -643,7 +647,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 533 + "size": 1915 } //// [/src/first/bin/first-output.d.ts] @@ -947,7 +951,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -993,7 +997,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1002,7 +1008,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1014,7 +1022,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1759,7 +1767,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1874,7 +1882,9 @@ declare var c: C; "end": 466, "kind": "text" } - ] + ], + "hash": "-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1909,7 +1919,9 @@ declare var c: C; "end": 311, "kind": "text" } - ] + ], + "hash": "33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1921,7 +1933,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1194 + "size": 3591 } @@ -2180,7 +2192,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2227,7 +2239,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2236,7 +2250,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2248,7 +2264,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.js] @@ -2755,7 +2771,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}]},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2871,7 +2887,9 @@ declare var c: C; "end": 483, "kind": "text" } - ] + ], + "hash": "-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2906,7 +2924,9 @@ declare var c: C; "end": 311, "kind": "text" } - ] + ], + "hash": "33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2918,6 +2938,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1194 + "size": 3647 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index c1fece5f6cb4e..1c1ca44d883a8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -585,7 +585,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -648,6 +648,8 @@ declare class C { "kind": "text" } ], + "hash": "-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "prologues": [ { @@ -675,7 +677,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -687,7 +691,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 685 + "size": 2009 } //// [/src/first/bin/first-output.d.ts] @@ -993,7 +997,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1049,6 +1053,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -1076,7 +1082,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1088,7 +1096,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 744 + "size": 1905 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1829,7 +1837,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1954,6 +1962,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -2007,7 +2017,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2019,7 +2031,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 1347 + "size": 3690 } @@ -2412,7 +2424,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2468,6 +2480,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -2495,7 +2509,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2507,7 +2523,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 743 + "size": 1902 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3248,7 +3264,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3373,6 +3389,8 @@ declare var c: C; "kind": "text" } ], + "hash": "-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -3426,7 +3444,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3438,7 +3458,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1347 + "size": 3687 } @@ -3721,7 +3741,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3778,6 +3798,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -3805,7 +3827,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3817,7 +3841,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 743 + "size": 1960 } //// [/src/third/thirdjs/output/third-output.js] @@ -4323,7 +4347,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4449,6 +4473,8 @@ declare var c: C; "kind": "text" } ], + "hash": "36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -4502,7 +4528,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4514,7 +4542,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1347 + "size": 3745 } @@ -4944,7 +4972,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5010,6 +5038,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -5046,7 +5076,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5058,7 +5090,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 886 + "size": 2138 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5824,7 +5856,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5959,6 +5991,8 @@ declare var c: C; "kind": "text" } ], + "hash": "53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}", "sources": { "prologues": [ { @@ -6012,7 +6046,9 @@ declare var c: C; "end": 275, "kind": "text" } - ] + ], + "hash": "-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -6024,6 +6060,6 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1405 + "size": 3838 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index 36ee9020d733d..ec25961cf214e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -564,7 +564,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -627,6 +627,8 @@ declare class C { "kind": "text" } ], + "hash": "-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}", "sources": { "prologues": [ { @@ -654,7 +656,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -666,7 +670,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 685 + "size": 2009 } //// [/src/first/bin/first-output.d.ts] @@ -970,7 +974,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1016,7 +1020,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1025,7 +1031,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1037,7 +1045,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1778,7 +1786,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1902,7 +1910,9 @@ declare var c: C; "end": 446, "kind": "text" } - ] + ], + "hash": "-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1937,7 +1947,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1949,7 +1961,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1212 + "size": 3555 } @@ -2208,7 +2220,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2255,7 +2267,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2264,7 +2278,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2276,7 +2292,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.js] @@ -2782,7 +2798,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2907,7 +2923,9 @@ declare var c: C; "end": 463, "kind": "text" } - ] + ], + "hash": "-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2942,7 +2960,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2954,7 +2974,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1212 + "size": 3615 } @@ -3360,7 +3380,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3417,6 +3437,8 @@ declare function f(): string; "kind": "text" } ], + "hash": "-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}", "sources": { "prologues": [ { @@ -3444,7 +3466,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3456,7 +3480,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 756 + "size": 1990 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4222,7 +4246,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4356,7 +4380,9 @@ declare var c: C; "end": 478, "kind": "text" } - ] + ], + "hash": "-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -4391,7 +4417,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -4403,6 +4431,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1270 + "size": 3706 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index d7623091caa32..c7f2e4aeaefa4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -590,7 +590,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -643,7 +643,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -652,7 +654,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -664,7 +668,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -1286,7 +1290,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1351,7 +1355,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1370,7 +1376,9 @@ declare function f(): string; "end": 587, "kind": "text" } - ] + ], + "hash": "30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1382,7 +1390,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1082 + "size": 3053 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2235,7 +2243,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2355,7 +2363,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2390,7 +2400,9 @@ declare var c: C; "end": 365, "kind": "text" } - ] + ], + "hash": "51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2402,6 +2414,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1252 + "size": 3750 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 1d16d2c3d8f0e..04d00ea0809d5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -2775,7 +2775,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3016,7 +3016,9 @@ declare class C { "end": 3163, "kind": "text" } - ] + ], + "hash": "144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -3073,7 +3075,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -3085,7 +3089,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 2253 + "size": 10773 } //// [/src/first/bin/first-output.d.ts] @@ -3389,7 +3393,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3437,7 +3441,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3451,7 +3457,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3463,7 +3471,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5503,7 +5511,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5683,7 +5691,9 @@ declare var c: C; "end": 3199, "kind": "text" } - ] + ], + "hash": "154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5705,7 +5715,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5717,7 +5729,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 7866 } @@ -7516,7 +7528,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7758,7 +7770,9 @@ declare class C { "end": 3180, "kind": "text" } - ] + ], + "hash": "-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -7815,7 +7829,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -7827,7 +7843,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 2253 + "size": 10832 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8019,7 +8035,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8068,7 +8084,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8082,7 +8100,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8094,7 +8114,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1789 } //// [/src/third/thirdjs/output/third-output.js] @@ -9877,7 +9897,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10058,7 +10078,9 @@ declare var c: C; "end": 3216, "kind": "text" } - ] + ], + "hash": "-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -10080,7 +10102,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -10092,7 +10116,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 7926 } @@ -10978,7 +11002,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"68891964848-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11218,7 +11242,9 @@ declare class C { "end": 3180, "kind": "text" } - ] + ], + "hash": "-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -11270,7 +11296,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "68891964848-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -11282,7 +11310,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 2215 + "size": 10793 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11594,7 +11622,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11641,7 +11669,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -11650,7 +11680,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -11662,7 +11694,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11989,7 +12021,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":108000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":108000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12173,7 +12205,9 @@ declare var c: C; "end": 3216, "kind": "text" } - ] + ], + "hash": "-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -12195,7 +12229,9 @@ declare var c: C; "end": 336, "kind": "text" } - ] + ], + "hash": "-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -12207,6 +12243,6 @@ declare var c: C; "dtsChangeTime": 108000 }, "version": "FakeTSVersion", - "size": 966 + "size": 8067 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 9bbe64843645e..6ea702a9e5c73 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -2505,7 +2505,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"109269358215-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2707,7 +2707,9 @@ declare class C { "end": 3053, "kind": "text" } - ] + ], + "hash": "-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -2746,7 +2748,9 @@ declare class C { "end": 1076, "kind": "text" } - ] + ], + "hash": "-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "109269358215-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -2758,7 +2762,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1794 + "size": 9558 } //// [/src/first/bin/first-output.d.ts] @@ -3062,7 +3066,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3110,7 +3114,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3124,7 +3130,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3136,7 +3144,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5176,7 +5184,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5379,7 +5387,9 @@ declare var c: C; "end": 3199, "kind": "text" } - ] + ], + "hash": "154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5414,7 +5424,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5426,7 +5438,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8126 } @@ -5685,7 +5697,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5734,7 +5746,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -5748,7 +5762,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5760,7 +5776,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1789 } //// [/src/third/thirdjs/output/third-output.js] @@ -7543,7 +7559,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7747,7 +7763,9 @@ declare var c: C; "end": 3216, "kind": "text" } - ] + ], + "hash": "-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -7782,7 +7800,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -7794,7 +7814,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8186 } @@ -8173,7 +8193,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8220,7 +8240,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8229,7 +8251,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8241,7 +8265,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8568,7 +8592,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":92000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":92000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8775,7 +8799,9 @@ declare var c: C; "end": 3216, "kind": "text" } - ] + ], + "hash": "-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -8810,7 +8836,9 @@ declare var c: C; "end": 336, "kind": "text" } - ] + ], + "hash": "-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -8822,6 +8850,6 @@ declare var c: C; "dtsChangeTime": 92000 }, "version": "FakeTSVersion", - "size": 1225 + "size": 8326 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 0276b50cb7e33..95827f3c91511 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -3011,7 +3011,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3252,7 +3252,9 @@ declare class C { "end": 3545, "kind": "text" } - ] + ], + "hash": "-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -3309,7 +3311,9 @@ declare class C { "end": 1563, "kind": "text" } - ] + ], + "hash": "28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -3321,7 +3325,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2582 + "size": 12214 } //// [/src/first/bin/first-output.d.ts] @@ -3631,7 +3635,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3679,7 +3683,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3693,7 +3699,9 @@ declare function f(): string; "end": 172, "kind": "text" } - ] + ], + "hash": "-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3705,7 +3713,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 603 + "size": 1769 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5845,7 +5853,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6025,7 +6033,9 @@ declare var c: C; "end": 3581, "kind": "text" } - ] + ], + "hash": "-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -6047,7 +6057,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -6059,7 +6071,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 918 + "size": 8429 } @@ -7958,7 +7970,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8200,7 +8212,9 @@ declare class C { "end": 3562, "kind": "text" } - ] + ], + "hash": "52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -8257,7 +8271,9 @@ declare class C { "end": 1563, "kind": "text" } - ] + ], + "hash": "28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -8269,7 +8285,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2582 + "size": 12273 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8461,7 +8477,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8510,7 +8526,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8524,7 +8542,9 @@ declare function f(): string; "end": 172, "kind": "text" } - ] + ], + "hash": "-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8536,7 +8556,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 603 + "size": 1827 } //// [/src/third/thirdjs/output/third-output.js] @@ -10419,7 +10439,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10600,7 +10620,9 @@ declare var c: C; "end": 3598, "kind": "text" } - ] + ], + "hash": "26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -10622,7 +10644,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -10634,6 +10658,6 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 918 + "size": 8486 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index e43cfa8f88ece..eec6ee7f4e19e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -2735,7 +2735,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}],"mapHash":"-12724997-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"62726964264-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2937,7 +2937,9 @@ declare class C { "end": 3435, "kind": "text" } - ] + ], + "hash": "33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -2976,7 +2978,9 @@ declare class C { "end": 1391, "kind": "text" } - ] + ], + "hash": "62726964264-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-12724997-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -2988,7 +2992,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2108 + "size": 10958 } //// [/src/first/bin/first-output.d.ts] @@ -3298,7 +3302,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3346,7 +3350,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3360,7 +3366,9 @@ declare function f(): string; "end": 172, "kind": "text" } - ] + ], + "hash": "-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3372,7 +3380,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 603 + "size": 1769 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5512,7 +5520,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5715,7 +5723,9 @@ declare var c: C; "end": 3581, "kind": "text" } - ] + ], + "hash": "-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5750,7 +5760,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5762,7 +5774,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8689 } @@ -6021,7 +6033,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6070,7 +6082,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -6084,7 +6098,9 @@ declare function f(): string; "end": 172, "kind": "text" } - ] + ], + "hash": "-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -6096,7 +6112,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 603 + "size": 1827 } //// [/src/third/thirdjs/output/third-output.js] @@ -7979,7 +7995,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8183,7 +8199,9 @@ declare var c: C; "end": 3598, "kind": "text" } - ] + ], + "hash": "26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -8218,7 +8236,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -8230,6 +8250,6 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8746 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index ab22aa9b3caa0..ca6b52e6d4c61 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -585,7 +585,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -638,7 +638,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -647,7 +649,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -659,7 +663,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -1445,7 +1449,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1532,7 +1536,9 @@ declare function f(): string; "end": 1131, "kind": "text" } - ] + ], + "hash": "12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1561,7 +1567,9 @@ declare function f(): string; "end": 533, "kind": "text" } - ] + ], + "hash": "-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1573,7 +1581,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1106 + "size": 4298 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2706,7 +2714,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2845,7 +2853,9 @@ declare var c: C; "end": 1452, "kind": "text" } - ] + ], + "hash": "32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2880,7 +2890,9 @@ declare var c: C; "end": 439, "kind": "text" } - ] + ], + "hash": "-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2892,6 +2904,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1341 + "size": 5362 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 9e2d41d2a764d..8ae077bfec3d4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -2796,7 +2796,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3037,7 +3037,9 @@ declare class C { "end": 3163, "kind": "text" } - ] + ], + "hash": "144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -3094,7 +3096,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -3106,7 +3110,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 2253 + "size": 10773 } //// [/src/first/bin/first-output.d.ts] @@ -3410,7 +3414,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3458,7 +3462,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3472,7 +3478,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3484,7 +3492,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5524,7 +5532,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5704,7 +5712,9 @@ declare var c: C; "end": 3199, "kind": "text" } - ] + ], + "hash": "154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5726,7 +5736,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5738,7 +5750,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 918 + "size": 7866 } @@ -8405,7 +8417,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8646,7 +8658,9 @@ declare class C { "end": 3162, "kind": "text" } - ] + ], + "hash": "-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -8703,7 +8717,9 @@ declare class C { "end": 1232, "kind": "text" } - ] + ], + "hash": "-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -8715,7 +8731,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 2252 + "size": 10770 } //// [/src/first/bin/first-output.d.ts] @@ -9019,7 +9035,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9067,7 +9083,9 @@ declare function f(): string; "end": 109, "kind": "text" } - ] + ], + "hash": "-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -9081,7 +9099,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -9093,7 +9113,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 588 + "size": 1729 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11133,7 +11153,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11313,7 +11333,9 @@ declare var c: C; "end": 3198, "kind": "text" } - ] + ], + "hash": "-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -11335,7 +11357,9 @@ declare var c: C; "end": 294, "kind": "text" } - ] + ], + "hash": "-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -11347,7 +11371,7 @@ declare var c: C; "dtsChangeTime": 81000 }, "version": "FakeTSVersion", - "size": 917 + "size": 7864 } @@ -13168,7 +13192,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13410,7 +13434,9 @@ declare class C { "end": 3179, "kind": "text" } - ] + ], + "hash": "-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -13467,7 +13493,9 @@ declare class C { "end": 1232, "kind": "text" } - ] + ], + "hash": "-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -13479,7 +13507,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 2252 + "size": 10829 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -13671,7 +13699,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13720,7 +13748,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -13734,7 +13764,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -13746,7 +13778,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 588 + "size": 1786 } //// [/src/third/thirdjs/output/third-output.js] @@ -15529,7 +15561,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -15710,7 +15742,9 @@ declare var c: C; "end": 3215, "kind": "text" } - ] + ], + "hash": "12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -15732,7 +15766,9 @@ declare var c: C; "end": 294, "kind": "text" } - ] + ], + "hash": "-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -15744,7 +15780,7 @@ declare var c: C; "dtsChangeTime": 81000 }, "version": "FakeTSVersion", - "size": 917 + "size": 7923 } @@ -16652,7 +16688,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"-5262111010-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -16892,7 +16928,9 @@ declare class C { "end": 3179, "kind": "text" } - ] + ], + "hash": "-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -16944,7 +16982,9 @@ declare class C { "end": 1232, "kind": "text" } - ] + ], + "hash": "-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-5262111010-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -16956,7 +16996,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 2214 + "size": 10790 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -17268,7 +17308,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17315,7 +17355,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -17324,7 +17366,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -17336,7 +17380,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1747 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -17663,7 +17707,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":149000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":149000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17847,7 +17891,9 @@ declare var c: C; "end": 3215, "kind": "text" } - ] + ], + "hash": "12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -17869,7 +17915,9 @@ declare var c: C; "end": 335, "kind": "text" } - ] + ], + "hash": "-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -17881,6 +17929,6 @@ declare var c: C; "dtsChangeTime": 149000 }, "version": "FakeTSVersion", - "size": 966 + "size": 8065 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 4b1a5793a4b1d..172e81b732a17 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -204,7 +204,7 @@ sourceFile:../first_PART1.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -235,7 +235,9 @@ declare const A = 1; "end": 28, "kind": "text" } - ] + ], + "hash": "-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}" }, "dts": { "sections": [ @@ -244,7 +246,9 @@ declare const A = 1; "end": 20, "kind": "internal" } - ] + ], + "hash": "10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}" } }, "program": { @@ -256,7 +260,7 @@ declare const A = 1; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 361 + "size": 923 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -336,7 +340,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -389,7 +393,9 @@ declare const B = 2; "end": 40, "kind": "text" } - ] + ], + "hash": "-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}" }, "dts": { "sections": [ @@ -405,7 +411,8 @@ declare const B = 2; "end": 22, "kind": "text" } - ] + ], + "hash": "1000124863-declare const B = 2;\r\n" } }, "program": { @@ -417,6 +424,6 @@ declare const B = 2; "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 578 + "size": 993 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 8916292e6bb75..75c0fa80889db 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -2875,7 +2875,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3116,7 +3116,9 @@ declare class C { "end": 3527, "kind": "text" } - ] + ], + "hash": "35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -3173,7 +3175,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -3185,7 +3189,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2253 + "size": 11315 } //// [/src/first/bin/first-output.d.ts] @@ -3489,7 +3493,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3537,7 +3541,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3551,7 +3557,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3563,7 +3571,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5703,7 +5711,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5883,7 +5891,9 @@ declare var c: C; "end": 3563, "kind": "text" } - ] + ], + "hash": "41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5905,7 +5915,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5917,7 +5929,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 918 + "size": 8410 } @@ -7816,7 +7828,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8058,7 +8070,9 @@ declare class C { "end": 3544, "kind": "text" } - ] + ], + "hash": "-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -8115,7 +8129,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -8127,7 +8143,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2253 + "size": 11374 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8319,7 +8335,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8368,7 +8384,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8382,7 +8400,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8394,7 +8414,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1789 } //// [/src/third/thirdjs/output/third-output.js] @@ -10277,7 +10297,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10458,7 +10478,9 @@ declare var c: C; "end": 3580, "kind": "text" } - ] + ], + "hash": "-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -10480,7 +10502,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -10492,7 +10516,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 918 + "size": 8469 } @@ -11378,7 +11402,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"28410673828-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11618,7 +11642,9 @@ declare class C { "end": 3544, "kind": "text" } - ] + ], + "hash": "-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -11670,7 +11696,9 @@ declare class C { "end": 1233, "kind": "text" } - ] + ], + "hash": "-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "28410673828-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -11682,7 +11710,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2215 + "size": 11336 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11994,7 +12022,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12041,7 +12069,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -12050,7 +12080,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -12062,7 +12094,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12389,7 +12421,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":111000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":111000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12573,7 +12605,9 @@ declare var c: C; "end": 3580, "kind": "text" } - ] + ], + "hash": "-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -12595,7 +12629,9 @@ declare var c: C; "end": 336, "kind": "text" } - ] + ], + "hash": "-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -12607,6 +12643,6 @@ declare var c: C; "dtsChangeTime": 111000 }, "version": "FakeTSVersion", - "size": 966 + "size": 8610 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 44d1f258008e7..3a6a16b219e98 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -2605,7 +2605,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2807,7 +2807,9 @@ declare class C { "end": 3417, "kind": "text" } - ] + ], + "hash": "-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -2846,7 +2848,9 @@ declare class C { "end": 1076, "kind": "text" } - ] + ], + "hash": "-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -2858,7 +2862,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 1794 + "size": 10105 } //// [/src/first/bin/first-output.d.ts] @@ -3162,7 +3166,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3210,7 +3214,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3224,7 +3230,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3236,7 +3244,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5376,7 +5384,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5579,7 +5587,9 @@ declare var c: C; "end": 3563, "kind": "text" } - ] + ], + "hash": "41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5614,7 +5624,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5626,7 +5638,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8670 } @@ -5885,7 +5897,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5934,7 +5946,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -5948,7 +5962,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5960,7 +5976,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1789 } //// [/src/third/thirdjs/output/third-output.js] @@ -7843,7 +7859,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8047,7 +8063,9 @@ declare var c: C; "end": 3580, "kind": "text" } - ] + ], + "hash": "-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -8082,7 +8100,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -8094,7 +8114,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8729 } @@ -8473,7 +8493,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8520,7 +8540,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8529,7 +8551,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8541,7 +8565,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8868,7 +8892,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":95000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":95000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9075,7 +9099,9 @@ declare var c: C; "end": 3580, "kind": "text" } - ] + ], + "hash": "-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -9110,7 +9136,9 @@ declare var c: C; "end": 336, "kind": "text" } - ] + ], + "hash": "-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -9122,6 +9150,6 @@ declare var c: C; "dtsChangeTime": 95000 }, "version": "FakeTSVersion", - "size": 1225 + "size": 8869 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 64df954b0154c..2a7271120f69c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -2526,7 +2526,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2728,7 +2728,9 @@ declare class C { "end": 3053, "kind": "text" } - ] + ], + "hash": "-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -2767,7 +2769,9 @@ declare class C { "end": 1076, "kind": "text" } - ] + ], + "hash": "-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -2779,7 +2783,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1794 + "size": 9559 } //// [/src/first/bin/first-output.d.ts] @@ -3083,7 +3087,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3131,7 +3135,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -3145,7 +3151,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -3157,7 +3165,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 589 + "size": 1731 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5197,7 +5205,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5400,7 +5408,9 @@ declare var c: C; "end": 3199, "kind": "text" } - ] + ], + "hash": "154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5435,7 +5445,9 @@ declare var c: C; "end": 295, "kind": "text" } - ] + ], + "hash": "12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5447,7 +5459,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 1178 + "size": 8126 } @@ -5838,7 +5850,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5886,7 +5898,9 @@ declare function f(): string; "end": 109, "kind": "text" } - ] + ], + "hash": "-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -5900,7 +5914,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -5912,7 +5928,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 588 + "size": 1729 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -7952,7 +7968,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8155,7 +8171,9 @@ declare var c: C; "end": 3198, "kind": "text" } - ] + ], + "hash": "-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -8190,7 +8208,9 @@ declare var c: C; "end": 294, "kind": "text" } - ] + ], + "hash": "-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -8202,7 +8222,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1177 + "size": 8124 } @@ -8483,7 +8503,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8532,7 +8552,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -8546,7 +8568,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -8558,7 +8582,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 588 + "size": 1786 } //// [/src/third/thirdjs/output/third-output.js] @@ -10341,7 +10365,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10545,7 +10569,9 @@ declare var c: C; "end": 3215, "kind": "text" } - ] + ], + "hash": "12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -10580,7 +10606,9 @@ declare var c: C; "end": 294, "kind": "text" } - ] + ], + "hash": "-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -10592,7 +10620,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 1177 + "size": 8183 } @@ -10993,7 +11021,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11040,7 +11068,9 @@ declare function f(): string; "end": 126, "kind": "text" } - ] + ], + "hash": "8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -11049,7 +11079,9 @@ declare function f(): string; "end": 156, "kind": "text" } - ] + ], + "hash": "-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -11061,7 +11093,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 550 + "size": 1747 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11388,7 +11420,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":121000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":121000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11595,7 +11627,9 @@ declare var c: C; "end": 3215, "kind": "text" } - ] + ], + "hash": "12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -11630,7 +11664,9 @@ declare var c: C; "end": 335, "kind": "text" } - ] + ], + "hash": "-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -11642,6 +11678,6 @@ declare var c: C; "dtsChangeTime": 121000 }, "version": "FakeTSVersion", - "size": 1226 + "size": 8325 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 440138bb85703..430e46c67bd3c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -655,7 +655,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -713,7 +713,9 @@ declare class C { "end": 336, "kind": "text" } - ] + ], + "hash": "22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -728,7 +730,9 @@ declare class C { "end": 205, "kind": "text" } - ] + ], + "hash": "7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -740,7 +744,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 677 + "size": 2226 } //// [/src/first/bin/first-output.d.ts] @@ -1101,7 +1105,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1152,7 +1156,9 @@ declare function f(): string; "end": 158, "kind": "text" } - ] + ], + "hash": "28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1167,7 +1173,9 @@ declare function f(): string; "end": 252, "kind": "text" } - ] + ], + "hash": "17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1179,7 +1187,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 717 + "size": 2089 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2084,7 +2092,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2214,7 +2222,9 @@ declare var c: C; "end": 578, "kind": "text" } - ] + ], + "hash": "-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2267,7 +2277,9 @@ declare var c: C; "end": 592, "kind": "text" } - ] + ], + "hash": "-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2279,7 +2291,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 1720 + "size": 4808 } @@ -2731,7 +2743,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2782,7 +2794,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2797,7 +2811,9 @@ declare function f(): string; "end": 251, "kind": "text" } - ] + ], + "hash": "25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2809,7 +2825,7 @@ declare function f(): string; "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 715 + "size": 2084 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3714,7 +3730,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3844,7 +3860,9 @@ declare var c: C; "end": 577, "kind": "text" } - ] + ], + "hash": "-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3897,7 +3915,9 @@ declare var c: C; "end": 591, "kind": "text" } - ] + ], + "hash": "9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3909,7 +3929,7 @@ declare var c: C; "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 1718 + "size": 4801 } @@ -4221,7 +4241,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4273,7 +4293,9 @@ declare function f(): string; "end": 174, "kind": "text" } - ] + ], + "hash": "9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -4288,7 +4310,9 @@ declare function f(): string; "end": 251, "kind": "text" } - ] + ], + "hash": "25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -4300,7 +4324,7 @@ declare function f(): string; "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 715 + "size": 2142 } //// [/src/third/thirdjs/output/third-output.js] @@ -4891,7 +4915,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5022,7 +5046,9 @@ declare var c: C; "end": 594, "kind": "text" } - ] + ], + "hash": "-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -5075,7 +5101,9 @@ declare var c: C; "end": 591, "kind": "text" } - ] + ], + "hash": "9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -5087,6 +5115,6 @@ declare var c: C; "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 1718 + "size": 4860 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index d36e6a972e28a..e59b2f75ffa95 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -621,7 +621,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -679,7 +679,9 @@ declare class C { "end": 336, "kind": "text" } - ] + ], + "hash": "22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -694,7 +696,9 @@ declare class C { "end": 205, "kind": "text" } - ] + ], + "hash": "7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -706,7 +710,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 677 + "size": 2226 } //// [/src/first/bin/first-output.d.ts] @@ -1010,7 +1014,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1056,7 +1060,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -1065,7 +1071,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1077,7 +1085,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1871,7 +1879,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1991,7 +1999,9 @@ declare var c: C; "end": 482, "kind": "text" } - ] + ], + "hash": "-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -2032,7 +2042,9 @@ declare var c: C; "end": 387, "kind": "text" } - ] + ], + "hash": "-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -2044,7 +2056,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1351 + "size": 3926 } @@ -2304,7 +2316,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2351,7 +2363,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2360,7 +2374,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2372,7 +2388,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.js] @@ -2905,7 +2921,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3026,7 +3042,9 @@ declare var c: C; "end": 499, "kind": "text" } - ] + ], + "hash": "45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -3067,7 +3085,9 @@ declare var c: C; "end": 387, "kind": "text" } - ] + ], + "hash": "-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -3079,6 +3099,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1351 + "size": 3983 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index e74d1ce49dd72..16cea0484fc77 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -562,7 +562,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -615,7 +615,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -624,7 +626,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -636,7 +640,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -940,7 +944,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -986,7 +990,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -995,7 +1001,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1007,7 +1015,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1746,7 +1754,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1861,7 +1869,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1896,10 +1906,12 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "version": "FakeTSVersion", - "size": 720 + "size": 3043 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index c424966ad7907..f98c503741b0d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -561,7 +561,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -614,7 +614,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -623,7 +625,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -635,7 +639,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -939,7 +943,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -985,7 +989,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -994,7 +1000,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1006,7 +1014,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2003,7 +2011,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2050,7 +2058,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2059,7 +2069,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2071,7 +2083,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 50496a7bfed81..0097389cb4738 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -563,7 +563,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -616,7 +616,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -625,7 +627,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -637,7 +641,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -941,7 +945,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -987,7 +991,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -996,7 +1002,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1008,7 +1016,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1747,7 +1755,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.baseline.txt] ====================================================================== @@ -1862,7 +1870,9 @@ declare var c: C; "end": 431, "kind": "text" } - ] + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" }, "dts": { "sections": [ @@ -1897,7 +1907,9 @@ declare var c: C; "end": 276, "kind": "text" } - ] + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, "program": { @@ -1910,6 +1922,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1193 + "size": 3516 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index bd37d51f486d5..6f4f6b121a9be 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -560,7 +560,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -613,7 +613,9 @@ declare class C { "end": 285, "kind": "text" } - ] + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -622,7 +624,9 @@ declare class C { "end": 100, "kind": "text" } - ] + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -634,7 +638,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 492 + "size": 1796 } //// [/src/first/bin/first-output.d.ts] @@ -938,7 +942,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -984,7 +988,9 @@ declare function f(): string; "end": 110, "kind": "text" } - ] + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -993,7 +999,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -1005,7 +1013,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1692 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1663,7 +1671,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1764,7 +1772,9 @@ declare class C { } ] } - ] + ], + "hash": "12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -1794,7 +1804,9 @@ declare class C { } ] } - ] + ], + "hash": "-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -1806,7 +1818,7 @@ declare class C { "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1061 + "size": 3221 } @@ -2065,7 +2077,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2112,7 +2124,9 @@ declare function f(): string; "end": 127, "kind": "text" } - ] + ], + "hash": "18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" }, "dts": { "sections": [ @@ -2121,7 +2135,9 @@ declare function f(): string; "end": 157, "kind": "text" } - ] + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" } }, "program": { @@ -2133,7 +2149,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 551 + "size": 1750 } //// [/src/third/thirdjs/output/third-output.js] @@ -2582,7 +2598,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}]},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}]}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2684,7 +2700,9 @@ declare class C { } ] } - ] + ], + "hash": "-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" }, "dts": { "sections": [ @@ -2714,7 +2732,9 @@ declare class C { } ] } - ] + ], + "hash": "-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" } }, "program": { @@ -2726,6 +2746,6 @@ declare class C { "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 1061 + "size": 3281 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 7c2e7fa80fd54..b9e0337941631 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -94,7 +94,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","dtsChangeTime":30000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -110,7 +110,8 @@ declare function foo(): number; "end": 30, "kind": "text" } - ] + ], + "hash": "3762995390-function foo() { return 10; }\n" }, "dts": { "sections": [ @@ -119,7 +120,8 @@ declare function foo(): number; "end": 32, "kind": "text" } - ] + ], + "hash": "517738360-declare function foo(): number;\n" } }, "program": { @@ -131,7 +133,7 @@ declare function foo(): number; "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 350 + "size": 455 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -162,7 +164,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -191,7 +193,8 @@ declare function bar(): number; "end": 69, "kind": "text" } - ] + ], + "hash": "9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n" }, "dts": { "sections": [ @@ -213,7 +216,8 @@ declare function bar(): number; "end": 64, "kind": "text" } - ] + ], + "hash": "9641219228-declare function foo(): number;\ndeclare function bar(): number;\n" } }, "program": { @@ -225,7 +229,7 @@ declare function bar(): number; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 598 + "size": 778 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -346,7 +350,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -362,7 +366,8 @@ declare function myFunc(): number; "end": 63, "kind": "text" } - ] + ], + "hash": "-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n" }, "dts": { "sections": [ @@ -371,7 +376,8 @@ declare function myFunc(): number; "end": 67, "kind": "text" } - ] + ], + "hash": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n" } }, "program": { @@ -383,7 +389,7 @@ declare function myFunc(): number; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 387 + "size": 564 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -486,7 +492,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -515,7 +521,8 @@ declare function bar(): number; "end": 102, "kind": "text" } - ] + ], + "hash": "-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n" }, "dts": { "sections": [ @@ -537,7 +544,8 @@ declare function bar(): number; "end": 99, "kind": "text" } - ] + ], + "hash": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n" } }, "program": { @@ -549,7 +557,7 @@ declare function bar(): number; "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 636 + "size": 889 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -663,7 +671,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -679,7 +687,8 @@ function myFunc() { return 100; } "end": 64, "kind": "text" } - ] + ], + "hash": "-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n" }, "dts": { "sections": [ @@ -688,7 +697,8 @@ function myFunc() { return 100; } "end": 67, "kind": "text" } - ] + ], + "hash": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n" } }, "program": { @@ -700,7 +710,7 @@ function myFunc() { return 100; } "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 387 + "size": 565 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -785,7 +795,7 @@ function bar() { return foo() + 1; } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}]},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}]}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -814,7 +824,8 @@ function bar() { return foo() + 1; } "end": 103, "kind": "text" } - ] + ], + "hash": "-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n" }, "dts": { "sections": [ @@ -836,7 +847,8 @@ function bar() { return foo() + 1; } "end": 99, "kind": "text" } - ] + ], + "hash": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n" } }, "program": { @@ -848,7 +860,7 @@ function bar() { return foo() + 1; } "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 636 + "size": 889 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 1d6efa49bda83..80fc6edb280dc 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -70,7 +70,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -87,11 +87,12 @@ define("file2", ["require", "exports"], function (require, exports) { "end": 334, "kind": "text" } - ] + ], + "hash": "-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n" } }, "version": "FakeTSVersion", - "size": 163 + "size": 548 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index d17e2587e9a51..d2177c14f3a70 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -87,7 +87,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -104,11 +104,12 @@ define("file2", ["require", "exports"], function (require, exports) { "end": 334, "kind": "text" } - ] + ], + "hash": "-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n" } }, "version": "FakeTSVersion", - "size": 163 + "size": 548 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 9489a5180523b..58e83d4dfa392 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -60,7 +60,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -77,11 +77,12 @@ var y = 20; "end": 24, "kind": "text" } - ] + ], + "hash": "-5596233073-var x = 10;\nvar y = 20;\n" } }, "version": "FakeTSVersion", - "size": 162 + "size": 210 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 68c0f77056c19..efef1ec7d372e 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -77,7 +77,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}]}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -94,11 +94,12 @@ var y = 20; "end": 24, "kind": "text" } - ] + ], + "hash": "-5596233073-var x = 10;\nvar y = 20;\n" } }, "version": "FakeTSVersion", - "size": 162 + "size": 210 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] From 128008a326eafcd9ab788f0a225b1ec339d5cf74 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 19 Apr 2022 15:53:22 -0700 Subject: [PATCH 37/64] Since buildinfo is cached no need to maintain version check state --- src/compiler/tsbuildPublic.ts | 23 ++++++++++--------- .../baseline-sectioned-sourcemaps.js | 5 ++-- .../emitHelpers-in-all-projects.js | 5 ++-- .../multiple-prologues-in-all-projects.js | 5 ++-- .../outfile-concat/shebang-in-all-projects.js | 5 ++-- .../outfile-concat/strict-in-all-projects.js | 5 ++-- ...en-one-two-three-are-prepended-in-order.js | 5 ++-- .../tsbuild/outfile-concat/stripInternal.js | 5 ++-- .../triple-slash-refs-in-all-projects.js | 5 ++-- .../reference/tsbuild/sample1/sample.js | 3 --- .../when-logic-specifies-tsBuildInfoFile.js | 3 --- 11 files changed, 28 insertions(+), 41 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 5a61adac9eb62..37746a6122e2e 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -243,7 +243,6 @@ namespace ts { readonly configFileCache: ESMap; /** Map from config file name to up-to-date status */ readonly projectStatus: ESMap; - readonly buildInfoChecked: ESMap; readonly extendedConfigCache: ESMap; readonly buildInfoCache: ESMap; @@ -329,7 +328,6 @@ namespace ts { resolvedConfigFilePaths: new Map(), configFileCache: new Map(), projectStatus: new Map(), - buildInfoChecked: new Map(), extendedConfigCache: new Map(), buildInfoCache: new Map(), @@ -490,7 +488,6 @@ namespace ts { // Config file cache mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete); - mutateMapSkippingNewValues(state.buildInfoChecked, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete); @@ -1507,6 +1504,13 @@ namespace ts { const buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); buildInfoTime = buildInfoCacheEntry?.modifiedTime || ts.getModifiedTime(host, buildInfoPath); if (buildInfoTime === missingFileModifiedTime) { + if (!buildInfoCacheEntry) { + state.buildInfoCache.set(resolvedPath, { + path: toPath(state, buildInfoPath), + buildInfo: false, + modifiedTime: buildInfoTime + }); + } return { type: UpToDateStatusType.OutputMissing, missingOutputFileName: buildInfoPath @@ -1514,14 +1518,11 @@ namespace ts { } const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath, resolvedPath, buildInfoTime)); - if (!state.buildInfoChecked.has(resolvedPath)) { - state.buildInfoChecked.set(resolvedPath, true); - if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { - return { - type: UpToDateStatusType.TsVersionOutputOfDate, - version: buildInfo.version - }; - } + if ((buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) { + return { + type: UpToDateStatusType.TsVersionOutputOfDate, + version: buildInfo.version + }; } if (buildInfo.program) { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 7c0c40108c398..4c649f010c968 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -153,17 +153,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index bb2d964918fb2..eb3bbe1502685 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -159,17 +159,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 7a8d40941b55c..2df9b38576807 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -158,17 +158,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index f36ccbd3335ad..57f5818f954b9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -157,17 +157,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/2/second-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 1c1ca44d883a8..ce0e102f75702 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -153,17 +153,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 8ae077bfec3d4..2bc71f3f285a8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -180,20 +180,19 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/second/tsconfig.json": 1, "/src/first/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/first/bin/first-output.d.ts": 1, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/first/bin/first-output.js.map": 1, "/src/first/bin/first-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/2/second-output.js": 1, "/src/2/second-output.js.map": 1, "/src/2/second-output.d.ts.map": 1 diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 2a7271120f69c..a0a7002adc9c9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -179,17 +179,16 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 430e46c67bd3c..c62d1a11bd960 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -168,20 +168,19 @@ readFiles:: { "/src/third/tsconfig.json": 1, "/src/first/tsconfig.json": 1, "/src/second/tsconfig.json": 1, - "/src/first/bin/first-output.tsbuildinfo": 2, "/src/first/first_PART1.ts": 1, "/src/first/first_part2.ts": 1, "/src/first/tripleRef.d.ts": 1, "/src/first/first_part3.ts": 1, - "/src/2/second-output.tsbuildinfo": 2, "/src/second/second_part1.ts": 1, "/src/second/tripleRef.d.ts": 1, "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, "/src/first/bin/first-output.d.ts": 1, "/src/2/second-output.d.ts": 1, "/src/third/third_part1.ts": 1, "/src/third/tripleRef.d.ts": 1, + "/src/first/bin/first-output.tsbuildinfo": 1, + "/src/2/second-output.tsbuildinfo": 1, "/src/first/bin/first-output.js": 1, "/src/2/second-output.js": 1, "/src/first/bin/first-output.js.map": 1, diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 89b69dd83681f..d852211b1671d 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -133,15 +133,12 @@ readFiles:: { "/src/tests/tsconfig.json": 1, "/src/core/tsconfig.json": 1, "/src/logic/tsconfig.json": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index ebc4cad818c44..df496b436cca2 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -134,15 +134,12 @@ readFiles:: { "/src/tests/tsconfig.json": 1, "/src/core/tsconfig.json": 1, "/src/logic/tsconfig.json": 1, - "/src/core/tsconfig.tsbuildinfo": 1, "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, "/src/core/some_decl.d.ts": 1, - "/src/logic/ownFile.tsbuildinfo": 1, "/src/logic/index.ts": 1, "/src/core/index.d.ts": 1, "/src/core/anotherModule.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } From 4fb6773b78ca63ea289019056bab41f7accb9132 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 19 Apr 2022 16:30:10 -0700 Subject: [PATCH 38/64] Store output time stamps for non incremental builds --- src/compiler/tsbuildPublic.ts | 51 ++++++++--- ...al-flag-changes-between-non-dts-changes.js | 16 ++-- ...t-composite-but-uses-project-references.js | 12 +-- .../when-rootDir-is-not-specified.js | 4 +- .../outputPaths/when-rootDir-is-specified.js | 4 +- ...for-changes-to-package-json-main-fields.js | 23 +++-- ...t-correctly-with-cts-and-mts-extensions.js | 45 +++++----- ...when-watching-when-no-files-are-emitted.js | 14 +-- .../does-not-emit-any-files-on-error.js | 62 ++++++-------- ...e-down-stream-project-and-then-fixes-it.js | 18 ++-- ...hen-noUnusedParameters-changes-to-false.js | 6 +- .../works-with-extended-source-files.js | 24 +++--- .../reexport/Reports-errors-correctly.js | 36 ++++---- ...e-projects-with-single-watcher-per-file.js | 85 +++++++++---------- .../same-file-in-multiple-projects.js | 85 +++++++++---------- ...-different-folders-with-no-files-clause.js | 44 +++++----- ...nsitive-references-in-different-folders.js | 44 +++++----- .../on-transitive-references.js | 44 +++++----- ...roject-uses-different-module-resolution.js | 4 +- 19 files changed, 300 insertions(+), 321 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 37746a6122e2e..4751543ae57cb 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -245,6 +245,7 @@ namespace ts { readonly projectStatus: ESMap; readonly extendedConfigCache: ESMap; readonly buildInfoCache: ESMap; + readonly outputTimeStamps: ESMap>; readonly builderPrograms: ESMap; readonly diagnostics: ESMap; @@ -330,6 +331,7 @@ namespace ts { projectStatus: new Map(), extendedConfigCache: new Map(), buildInfoCache: new Map(), + outputTimeStamps: new Map(), builderPrograms: new Map(), diagnostics: new Map(), @@ -493,6 +495,7 @@ namespace ts { mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete); mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete); + mutateMapSkippingNewValues(state.outputTimeStamps, currentProjects, noopOnDelete); // Remove watches for the program no longer in the solution if (state.watch) { @@ -983,15 +986,23 @@ namespace ts { const existingBuildInfo = state.buildInfoCache.get(projectPath)?.buildInfo || undefined; const emitterDiagnostics = createDiagnosticCollection(); const emittedOutputs = new Map(); + const options = program.getCompilerOptions(); + const isIncremental = isIncrementalCompilation(options); + let outputTimeStampMap: ESMap | undefined; + let now: Date | undefined; outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { + const path = toPath(state, name); emittedOutputs.set(toPath(state, name), name); if (buildInfo) { - setBuildInfo(state, buildInfo, projectPath, program!.getCompilerOptions()); + setBuildInfo(state, buildInfo, projectPath, options); if (buildInfo.program?.dtsChangeTime !== existingBuildInfo?.program?.dtsChangeTime) { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; } } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); + if (!isIncremental) { + (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)).set(path, now ||= getCurrentTime(state.host)); + } }); finishEmit( @@ -1050,7 +1061,7 @@ namespace ts { } // Update time stamps for rest of the outputs - updateOutputTimestampsWorker(state, config, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); + updateOutputTimestampsWorker(state, config, projectPath, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs); state.diagnostics.delete(projectPath); state.projectStatus.set(projectPath, { type: UpToDateStatusType.UpToDate, @@ -1402,6 +1413,12 @@ namespace ts { }; } + function getOutputTimeStampMap(state: SolutionBuilderState, resolvedConfigFilePath: ResolvedConfigFilePath) { + let result = state.outputTimeStamps.get(resolvedConfigFilePath); + if (!result) state.outputTimeStamps.set(resolvedConfigFilePath, result = new Map()); + return result; + } + function setBuildInfo(state: SolutionBuilderState, buildInfo: BuildInfo, resolvedConfigPath: ResolvedConfigFilePath, options: CompilerOptions) { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options)!; const existing = getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath); @@ -1573,9 +1590,12 @@ namespace ts { if (!buildInfoPath) { // Collect the expected outputs of this project const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, resolvedPath); for (const output of outputs) { + const path = toPath(state, output); // Output is missing; can stop checking - const outputTime = ts.getModifiedTime(state.host, output); + let outputTime = outputTimeStampMap.get(path); + if (!outputTime) outputTimeStampMap.set(path, outputTime = ts.getModifiedTime(state.host, output)); if (outputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, @@ -1711,37 +1731,46 @@ namespace ts { function updateOutputTimestampsWorker( state: SolutionBuilderState, proj: ParsedCommandLine, + projectPath: ResolvedConfigFilePath, verboseMessage: DiagnosticMessage, skipOutputs?: ESMap ) { if (proj.options.noEmit) return; + let now: Date | undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); if (buildInfoPath) { if (!skipOutputs?.has(toPath(state, buildInfoPath))) { if (!!state.options.verbose) reportStatus(state, verboseMessage, proj.options.configFilePath!); - state.host.setModifiedTime(buildInfoPath, getCurrentTime(state.host)); + state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host)); + getBuildInfoCacheEntry(state, buildInfoPath, projectPath)!.modifiedTime = now; } + state.outputTimeStamps.delete(projectPath); return; } const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); + const modifiedOutputs = new Set(); if (!skipOutputs || outputs.length !== skipOutputs.size) { let reportVerbose = !!state.options.verbose; - let now: Date | undefined; for (const file of outputs) { - if (skipOutputs && skipOutputs.has(toPath(state, file))) { - continue; - } - + const path = toPath(state, file); + if (skipOutputs?.has(path)) continue; if (reportVerbose) { reportVerbose = false; reportStatus(state, verboseMessage, proj.options.configFilePath!); } - host.setModifiedTime(file, now ||= getCurrentTime(state.host)); + outputTimeStampMap.set(path, now); + modifiedOutputs.add(path); } } + + // Clear out timestamps not in output list any more + outputTimeStampMap.forEach((_value, key) => { + if (!skipOutputs?.has(key) && !modifiedOutputs.has(key)) outputTimeStampMap.delete(key); + }); } function getDtsChangeTime(state: SolutionBuilderState, options: CompilerOptions, resolvedConfigPath: ResolvedConfigFilePath) { @@ -1755,7 +1784,7 @@ namespace ts { if (state.options.dry) { return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath!); } - updateOutputTimestampsWorker(state, proj, Diagnostics.Updating_output_timestamps_of_project_0); + updateOutputTimestampsWorker(state, proj, resolvedPath, Diagnostics.Updating_output_timestamps_of_project_0); state.projectStatus.set(resolvedPath, { type: UpToDateStatusType.UpToDate, newestDeclarationFileContentChangedTime: getDtsChangeTime(state, proj.options, resolvedPath), diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 73344398fbd70..713a6acc3c25c 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -821,24 +821,24 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:01:04 AM] Projects in this build: +[12:01:05 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:05 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:06 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:01:06 AM] Building project '/src/first/tsconfig.json'... +[12:01:07 AM] Building project '/src/first/tsconfig.json'... -[12:01:15 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:16 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:01:16 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:17 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:17 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:18 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:18 AM] Cannot update output of project '/src/third/tsconfig.json' because there was error reading file 'src/third/thirdjs/output/third-output.js' +[12:01:19 AM] Cannot update output of project '/src/third/tsconfig.json' because there was error reading file 'src/third/thirdjs/output/third-output.js' -[12:01:19 AM] Building project '/src/third/tsconfig.json'... +[12:01:20 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index f98c503741b0d..44127c94b3238 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1774,20 +1774,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:47 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' -[12:00:49 AM] Building project '/src/first/tsconfig.json'... +[12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' -[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:00 AM] Building project '/src/third/tsconfig.json'... +[12:01:01 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index c125f7ffb0b7e..75ba640f1b6af 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -63,10 +63,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:14 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index 030f746857cdb..524d08f002ba7 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -63,10 +63,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:14 AM] Projects in this build: +[12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index d5e676c9d8651..862b2be5d1ddb 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -110,7 +110,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:15 AM] Found 0 errors. Watching for file changes. +[12:01:16 AM] Found 0 errors. Watching for file changes. @@ -349,11 +349,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... +[12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' +[12:01:21 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' -[12:01:21 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:22 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -385,7 +385,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:22 AM] Found 1 error. Watching for file changes. +[12:01:23 AM] Found 1 error. Watching for file changes. @@ -463,7 +463,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1 } @@ -486,11 +485,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:26 AM] File change detected. Starting incremental compilation... +[12:01:27 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' +[12:01:28 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' -[12:01:28 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:29 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -529,7 +528,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:34 AM] Found 0 errors. Watching for file changes. @@ -617,8 +616,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index e0e06d483e5e1..0d01719e69c42 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -107,7 +107,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -[12:01:09 AM] Found 0 errors. Watching for file changes. +[12:01:10 AM] Found 0 errors. Watching for file changes. @@ -332,11 +332,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... +[12:01:14 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:15 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:15 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:16 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -385,7 +385,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:16 AM] Found 1 error. Watching for file changes. +[12:01:17 AM] Found 1 error. Watching for file changes. @@ -484,7 +484,6 @@ directoryExists:: { } getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1, "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, "/user/username/projects/myproject/packages/pkg2/package.json": 1, "/a/lib/package.json": 1, @@ -511,11 +510,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:20 AM] File change detected. Starting incremental compilation... +[12:01:21 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:22 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:22 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:23 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -553,7 +552,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. @@ -646,9 +645,7 @@ directoryExists:: { "/": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -669,11 +666,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:32 AM] File change detected. Starting incremental compilation... -[12:01:31 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:33 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' -[12:01:32 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... +[12:01:34 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. 'package.json' does not have a 'typesVersions' field. @@ -722,7 +719,7 @@ File '/package.json' does not exist. 1 import type { TheNum } from 'pkg2'    ~~~~~~ -[12:01:33 AM] Found 1 error. Watching for file changes. +[12:01:35 AM] Found 1 error. Watching for file changes. @@ -820,9 +817,7 @@ directoryExists:: { "/": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -847,11 +842,11 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:40 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:41 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' +[12:01:43 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' -[12:01:42 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +[12:01:44 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module './const.cjs' from '/user/username/projects/myproject/packages/pkg2/index.cts'. ======== Module resolution kind is not specified, using 'Node12'. @@ -916,7 +911,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":103000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2020.full.d.ts","../const.cts","../index.cts"],"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,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-9649133742-export declare type TheNum = 42;\n","impliedFormat":1},{"version":"-9668872159-export type { TheNum } from './const.cjs';","signature":"-9835135925-export type { TheNum } from './const.cjs';\n","impliedFormat":1}],"options":{"composite":true,"module":100,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":105000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -969,7 +964,7 @@ exitCode:: ExitStatus.undefined "../const.cts", "../index.cts" ], - "dtsChangeTime": 103000 + "dtsChangeTime": 105000 }, "version": "FakeTSVersion", "size": 1042 diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 599dae03d7e73..763a226614b85 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -117,7 +117,7 @@ Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... -[12:00:34 AM] Project 'tsconfig.json' is out of date because output file 'b.js' does not exist +[12:00:34 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'a.js' [12:00:35 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -164,10 +164,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -190,7 +187,7 @@ Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... -[12:00:41 AM] Project 'tsconfig.json' is out of date because output file 'b.js' does not exist +[12:00:41 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'a.js' [12:00:42 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -242,9 +239,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 1, - "/user/username/projects/myproject/b.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index 8caaccf9f0c9d..6c20c80534173 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -197,9 +197,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -229,7 +227,7 @@ Output:: [12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -310,9 +308,7 @@ directoryExists:: { "/user/username/projects/noemitonerror/dev-build/src": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -334,18 +330,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:10 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:11 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' -[12:01:11 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:12 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:12 AM] Found 1 error. Watching for file changes. +[12:01:13 AM] Found 1 error. Watching for file changes. @@ -396,9 +392,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -417,18 +411,18 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... -[12:01:17 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:18 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' -[12:01:18 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:19 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10;    ~ -[12:01:19 AM] Found 1 error. Watching for file changes. +[12:01:20 AM] Found 1 error. Watching for file changes. @@ -477,9 +471,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} @@ -501,15 +493,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:24 AM] File change detected. Starting incremental compilation... -[12:01:24 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:25 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' -[12:01:25 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:26 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:29 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:31 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -568,9 +560,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, @@ -592,15 +582,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:36 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:38 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' -[12:01:37 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:39 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:01:40 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:01:40 AM] Found 0 errors. Watching for file changes. +[12:01:42 AM] Found 0 errors. Watching for file changes. @@ -652,9 +642,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index faafb66ddb3d3..ee941e091f097 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -50,7 +50,7 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... -[12:00:42 AM] Found 0 errors. Watching for file changes. +[12:00:43 AM] Found 0 errors. Watching for file changes. @@ -222,7 +222,7 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:00:46 AM] File change detected. Starting incremental compilation... +[12:00:47 AM] File change detected. Starting incremental compilation... App/app.ts:2:20 - error TS2551: Property 'message' does not exist on type 'SomeObject'. Did you mean 'message2'? @@ -234,7 +234,7 @@ Output::    ~~~~~~~~ 'message2' is declared here. -[12:01:01 AM] Found 1 error. Watching for file changes. +[12:01:02 AM] Found 1 error. Watching for file changes. @@ -308,7 +308,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":47000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":48000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -337,7 +337,7 @@ export {}; "../../../../../a/lib/lib.d.ts", "./library.ts" ], - "dtsChangeTime": 47000 + "dtsChangeTime": 48000 }, "version": "FakeTSVersion", "size": 977 @@ -391,9 +391,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:05 AM] File change detected. Starting incremental compilation... +[12:01:06 AM] File change detected. Starting incremental compilation... -[12:01:23 AM] Found 0 errors. Watching for file changes. +[12:01:25 AM] Found 0 errors. Watching for file changes. @@ -467,7 +467,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":66000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"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},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"dtsChangeTime":67000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -496,7 +496,7 @@ export {}; "../../../../../a/lib/lib.d.ts", "./library.ts" ], - "dtsChangeTime": 66000 + "dtsChangeTime": 67000 }, "version": "FakeTSVersion", "size": 975 diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index 26f7749624faa..f75b9c03b0102 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -107,7 +107,7 @@ Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... -[12:00:29 AM] Found 0 errors. Watching for file changes. +[12:00:30 AM] Found 0 errors. Watching for file changes. @@ -153,8 +153,6 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index b1f11dd741efe..52b3779160e9f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -513,7 +513,7 @@ Output:: [12:01:23 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:34 AM] Found 0 errors. Watching for file changes. @@ -610,13 +610,13 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:37 AM] File change detected. Starting incremental compilation... +[12:01:38 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:39 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' -[12:01:39 AM] Building project '/a/b/project1.tsconfig.json'... +[12:01:40 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:40 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:01:41 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... @@ -688,13 +688,13 @@ getModifiedTimes:: {} setModifiedTimes:: {} Output:: -[12:01:42 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' +[12:01:43 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' -[12:01:43 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:44 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:44 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:45 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... -[12:01:46 AM] Found 0 errors. Watching for file changes. +[12:01:47 AM] Found 0 errors. Watching for file changes. @@ -749,11 +749,7 @@ directoryExists:: { "/node_modules/@types": 1 } -getModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/a/b/commonfile1.js": 1, diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 62c1c7aa3662a..40c61e4787d0d 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -90,7 +90,7 @@ Output:: [12:00:59 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -316,15 +316,15 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:10 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:11 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:11 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:12 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:32 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' +[12:01:33 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' -[12:01:33 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:34 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... src/main/index.ts:3:14 - error TS2741: Property 'bar' is missing in type '{ foo: number; }' but required in type 'Session'. @@ -336,7 +336,7 @@ Output::    ~~~ 'bar' is declared here. -[12:01:34 AM] Found 1 error. Watching for file changes. +[12:01:35 AM] Found 1 error. Watching for file changes. @@ -412,7 +412,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/index.d.ts] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"4223553457-export interface Session {\n foo: number;\n bar: number;\n}\n","signature":"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":72000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"4223553457-export interface Session {\n foo: number;\n bar: number;\n}\n","signature":"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":73000},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -462,7 +462,7 @@ export interface Session { "../../src/pure/index.ts", "../../src/pure/session.ts" ], - "dtsChangeTime": 72000 + "dtsChangeTime": 73000 }, "version": "FakeTSVersion", "size": 1058 @@ -518,19 +518,19 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:38 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:40 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' -[12:01:40 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:41 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:02:01 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. +[12:02:02 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. -[12:02:02 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:02:03 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:02:03 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:02:04 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... -[12:02:05 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -605,7 +605,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/index.d.ts] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":101000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"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},{"version":"5375279855-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,3,2],"dtsChangeTime":102000},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -655,7 +655,7 @@ export interface Session { "../../src/pure/index.ts", "../../src/pure/session.ts" ], - "dtsChangeTime": 101000 + "dtsChangeTime": 102000 }, "version": "FakeTSVersion", "size": 1046 diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 37c55757d1d76..2254ee5f078e4 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -67,19 +67,19 @@ Output:: [12:00:50 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:00:53 AM] Project 'pkg1/tsconfig.json' is out of date because output file 'pkg1/index.js' does not exist +[12:00:54 AM] Project 'pkg1/tsconfig.json' is out of date because output file 'pkg1/index.js' does not exist -[12:00:54 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:00:55 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:00:57 AM] Project 'pkg2/tsconfig.json' is out of date because output file 'pkg2/index.js' does not exist +[12:00:59 AM] Project 'pkg2/tsconfig.json' is out of date because output file 'pkg2/index.js' does not exist -[12:00:58 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:00 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:01 AM] Project 'pkg3/tsconfig.json' is out of date because output file 'pkg3/index.js' does not exist +[12:01:04 AM] Project 'pkg3/tsconfig.json' is out of date because output file 'pkg3/index.js' does not exist -[12:01:02 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:05 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:09 AM] Found 0 errors. Watching for file changes. @@ -265,33 +265,33 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:10 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:11 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:15 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:19 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:23 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:27 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:28 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -406,12 +406,7 @@ directoryExists:: { "/user/username/projects/myproject/pkg3/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.js": 1, @@ -437,9 +432,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -499,27 +494,27 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:36 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:37 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:41 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:45 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:49 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:50 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:48 AM] Found 0 errors. Watching for file changes. +[12:01:52 AM] Found 0 errors. Watching for file changes. @@ -612,11 +607,7 @@ directoryExists:: { "/user/username/projects/myproject/pkg2/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.js": 1, @@ -641,14 +632,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... tsconfig.json:1:10 - error TS18002: The 'files' list in config file '/user/username/projects/myproject/tsconfig.json' is empty. 1 {"files":[],"include":[],"references":[]}    ~~ -[12:01:53 AM] Found 1 error. Watching for file changes. +[12:01:57 AM] Found 1 error. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index 37c55757d1d76..2254ee5f078e4 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -67,19 +67,19 @@ Output:: [12:00:50 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:00:53 AM] Project 'pkg1/tsconfig.json' is out of date because output file 'pkg1/index.js' does not exist +[12:00:54 AM] Project 'pkg1/tsconfig.json' is out of date because output file 'pkg1/index.js' does not exist -[12:00:54 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:00:55 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:00:57 AM] Project 'pkg2/tsconfig.json' is out of date because output file 'pkg2/index.js' does not exist +[12:00:59 AM] Project 'pkg2/tsconfig.json' is out of date because output file 'pkg2/index.js' does not exist -[12:00:58 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:00 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:01 AM] Project 'pkg3/tsconfig.json' is out of date because output file 'pkg3/index.js' does not exist +[12:01:04 AM] Project 'pkg3/tsconfig.json' is out of date because output file 'pkg3/index.js' does not exist -[12:01:02 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:05 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:09 AM] Found 0 errors. Watching for file changes. @@ -265,33 +265,33 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:09 AM] File change detected. Starting incremental compilation... +[12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:10 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:11 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:15 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:19 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:23 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:27 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +[12:01:28 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:30 AM] Found 0 errors. Watching for file changes. @@ -406,12 +406,7 @@ directoryExists:: { "/user/username/projects/myproject/pkg3/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.js": 1, @@ -437,9 +432,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:31 AM] Found 0 errors. Watching for file changes. +[12:01:35 AM] Found 0 errors. Watching for file changes. @@ -499,27 +494,27 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:36 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:37 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:41 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:45 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' -[12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:49 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +[12:01:50 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:48 AM] Found 0 errors. Watching for file changes. +[12:01:52 AM] Found 0 errors. Watching for file changes. @@ -612,11 +607,7 @@ directoryExists:: { "/user/username/projects/myproject/pkg2/node_modules/@types": 1 } -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} +getModifiedTimes:: {} setModifiedTimes:: { "/user/username/projects/myproject/pkg0/index.js": 1, @@ -641,14 +632,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... tsconfig.json:1:10 - error TS18002: The 'files' list in config file '/user/username/projects/myproject/tsconfig.json' is empty. 1 {"files":[],"include":[],"references":[]}    ~~ -[12:01:53 AM] Found 1 error. Watching for file changes. +[12:01:57 AM] Found 1 error. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 245ca275fe901..ada674423e887 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -215,9 +215,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:01:01 AM] Starting compilation in watch mode... +[12:01:02 AM] Starting compilation in watch mode... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -366,7 +366,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,7 +414,7 @@ export declare function gfoo(): void; "../a/index.d.ts", "./index.ts" ], - "dtsChangeTime": 68000 + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", "size": 960 @@ -453,9 +453,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:22 AM] File change detected. Starting incremental compilation... +[12:01:23 AM] File change detected. Starting incremental compilation... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:27 AM] Found 0 errors. Watching for file changes. @@ -569,9 +569,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:34 AM] File change detected. Starting incremental compilation... +[12:01:35 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Found 0 errors. Watching for file changes. +[12:01:39 AM] Found 0 errors. Watching for file changes. @@ -709,9 +709,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:42 AM] File change detected. Starting incremental compilation... +[12:01:43 AM] File change detected. Starting incremental compilation... -[12:01:46 AM] Found 0 errors. Watching for file changes. +[12:01:47 AM] Found 0 errors. Watching for file changes. @@ -849,9 +849,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:50 AM] File change detected. Starting incremental compilation... +[12:01:51 AM] File change detected. Starting incremental compilation... -[12:01:51 AM] Found 0 errors. Watching for file changes. +[12:01:52 AM] Found 0 errors. Watching for file changes. @@ -972,9 +972,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:56 AM] Found 0 errors. Watching for file changes. +[12:01:57 AM] Found 0 errors. Watching for file changes. @@ -1086,14 +1086,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:58 AM] File change detected. Starting incremental compilation... +[12:01:59 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:05 AM] Found 1 error. Watching for file changes. +[12:02:06 AM] Found 1 error. Watching for file changes. @@ -1206,9 +1206,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:09 AM] File change detected. Starting incremental compilation... -[12:02:12 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. @@ -1336,14 +1336,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:14 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:18 AM] Found 1 error. Watching for file changes. +[12:02:19 AM] Found 1 error. Watching for file changes. @@ -1462,9 +1462,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:21 AM] File change detected. Starting incremental compilation... +[12:02:22 AM] File change detected. Starting incremental compilation... -[12:02:22 AM] Found 0 errors. Watching for file changes. +[12:02:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 37238b8c572e5..184e50ec5979a 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -215,9 +215,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:01:01 AM] Starting compilation in watch mode... +[12:01:02 AM] Starting compilation in watch mode... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:06 AM] Found 0 errors. Watching for file changes. @@ -366,7 +366,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,7 +414,7 @@ export declare function gfoo(): void; "../a/index.d.ts", "./index.ts" ], - "dtsChangeTime": 68000 + "dtsChangeTime": 69000 }, "version": "FakeTSVersion", "size": 960 @@ -453,9 +453,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:22 AM] File change detected. Starting incremental compilation... +[12:01:23 AM] File change detected. Starting incremental compilation... -[12:01:26 AM] Found 0 errors. Watching for file changes. +[12:01:27 AM] Found 0 errors. Watching for file changes. @@ -565,9 +565,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:34 AM] File change detected. Starting incremental compilation... +[12:01:35 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Found 0 errors. Watching for file changes. +[12:01:39 AM] Found 0 errors. Watching for file changes. @@ -701,9 +701,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:42 AM] File change detected. Starting incremental compilation... +[12:01:43 AM] File change detected. Starting incremental compilation... -[12:01:46 AM] Found 0 errors. Watching for file changes. +[12:01:47 AM] Found 0 errors. Watching for file changes. @@ -837,9 +837,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:50 AM] File change detected. Starting incremental compilation... +[12:01:51 AM] File change detected. Starting incremental compilation... -[12:01:51 AM] Found 0 errors. Watching for file changes. +[12:01:52 AM] Found 0 errors. Watching for file changes. @@ -955,9 +955,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:55 AM] File change detected. Starting incremental compilation... +[12:01:56 AM] File change detected. Starting incremental compilation... -[12:01:56 AM] Found 0 errors. Watching for file changes. +[12:01:57 AM] Found 0 errors. Watching for file changes. @@ -1060,14 +1060,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:58 AM] File change detected. Starting incremental compilation... +[12:01:59 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:05 AM] Found 1 error. Watching for file changes. +[12:02:06 AM] Found 1 error. Watching for file changes. @@ -1174,9 +1174,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:09 AM] File change detected. Starting incremental compilation... -[12:02:12 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. @@ -1298,14 +1298,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:14 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:18 AM] Found 1 error. Watching for file changes. +[12:02:19 AM] Found 1 error. Watching for file changes. @@ -1417,9 +1417,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:21 AM] File change detected. Starting incremental compilation... +[12:02:22 AM] File change detected. Starting incremental compilation... -[12:02:22 AM] Found 0 errors. Watching for file changes. +[12:02:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 9f66a04249bac..363d0ac83ea65 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -226,9 +226,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:55 AM] Starting compilation in watch mode... +[12:00:56 AM] Starting compilation in watch mode... -[12:00:59 AM] Found 0 errors. Watching for file changes. +[12:01:00 AM] Found 0 errors. Watching for file changes. @@ -355,7 +355,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":62000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":63000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -403,7 +403,7 @@ export declare function gfoo(): void; "./a.d.ts", "./b.ts" ], - "dtsChangeTime": 62000 + "dtsChangeTime": 63000 }, "version": "FakeTSVersion", "size": 954 @@ -436,9 +436,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:16 AM] File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... -[12:01:20 AM] Found 0 errors. Watching for file changes. +[12:01:21 AM] Found 0 errors. Watching for file changes. @@ -540,9 +540,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:28 AM] File change detected. Starting incremental compilation... +[12:01:29 AM] File change detected. Starting incremental compilation... -[12:01:32 AM] Found 0 errors. Watching for file changes. +[12:01:33 AM] Found 0 errors. Watching for file changes. @@ -653,9 +653,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:36 AM] File change detected. Starting incremental compilation... +[12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Found 0 errors. Watching for file changes. +[12:01:41 AM] Found 0 errors. Watching for file changes. @@ -766,9 +766,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:44 AM] File change detected. Starting incremental compilation... +[12:01:45 AM] File change detected. Starting incremental compilation... -[12:01:45 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -877,9 +877,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:49 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... -[12:01:50 AM] Found 0 errors. Watching for file changes. +[12:01:51 AM] Found 0 errors. Watching for file changes. @@ -975,14 +975,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... +[12:01:53 AM] File change detected. Starting incremental compilation... tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 1 {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]}    ~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:01:59 AM] Found 1 error. Watching for file changes. +[12:02:00 AM] Found 1 error. Watching for file changes. @@ -1093,9 +1093,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:02 AM] File change detected. Starting incremental compilation... +[12:02:03 AM] File change detected. Starting incremental compilation... -[12:02:06 AM] Found 0 errors. Watching for file changes. +[12:02:07 AM] Found 0 errors. Watching for file changes. @@ -1201,14 +1201,14 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:08 AM] File change detected. Starting incremental compilation... +[12:02:09 AM] File change detected. Starting incremental compilation... tsconfig.b.json:10:21 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 10 "references": [ { "path": "tsconfig.a.json" } ]    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:02:12 AM] Found 1 error. Watching for file changes. +[12:02:13 AM] Found 1 error. Watching for file changes. @@ -1312,9 +1312,9 @@ setModifiedTimes:: {} Output:: >> Screen clear -[12:02:15 AM] File change detected. Starting incremental compilation... +[12:02:16 AM] File change detected. Starting incremental compilation... -[12:02:16 AM] Found 0 errors. Watching for file changes. +[12:02:17 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 22a066ab09b95..30150a3deb7d2 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -213,9 +213,9 @@ setModifiedTimes:: {} /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:55 AM] Starting compilation in watch mode... +[12:00:56 AM] Starting compilation in watch mode... -[12:00:59 AM] Found 0 errors. Watching for file changes. +[12:01:00 AM] Found 0 errors. Watching for file changes. From 7e1e9d76f0f416a45e9c32df00714f4865fe6489 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 5 Apr 2022 10:55:23 -0700 Subject: [PATCH 39/64] Revert "Baseline getModifiedTime, setModifiedTime, fileExits and directoryExits for experiment" This reverts commit 7e65cd3315ccf387f6d7e7c40263e85bcc3c961c. --- src/harness/virtualFileSystemWithWatch.ts | 35 +- src/testRunner/unittests/tsbuild/helpers.ts | 3 +- src/testRunner/unittests/tsc/helpers.ts | 56 +-- src/testRunner/unittests/tscWatch/helpers.ts | 4 +- .../unittests/tscWatch/programUpdates.ts | 2 +- src/testRunner/unittests/tscWatch/watchApi.ts | 4 +- .../modules-and-globals-mixed-in-amd.js | 67 ---- .../multiple-emitHelpers-in-all-projects.js | 92 ----- .../multiple-prologues-in-all-projects.js | 92 ----- .../shebang-in-all-projects.js | 67 ---- .../amdModulesWithOut/stripInternal.js | 92 ----- .../triple-slash-refs-in-all-projects.js | 68 ---- ...e-resolution-finds-original-source-file.js | 24 -- .../file-name-and-output-name-clashing.js | 10 - .../reports-syntax-errors-in-config-file.js | 65 ---- .../when-tsconfig-extends-the-missing-file.js | 13 - ...nce-and-both-extend-config-with-include.js | 18 - ...th-projects-extends-config-with-include.js | 18 - ...ter-initial-build-doesnt-build-anything.js | 37 -- ...ugh-triple-slash-but-uses-no-references.js | 20 - ...file-is-referenced-through-triple-slash.js | 26 -- ...d-inferred-type-from-referenced-project.js | 27 -- ...s-not-in-rootDir-at-the-import-location.js | 28 -- ...ts-the-error-about-it-by-stopping-build.js | 10 - ...ng-setup-correctly-and-reports-no-error.js | 28 -- ...-emitDeclarationOnly-and-declarationMap.js | 37 -- ...import-project-with-emitDeclarationOnly.js | 37 -- ...mports-project-with-emitDeclarationOnly.js | 53 --- ...es-is-empty-and-references-are-provided.js | 14 - ...is-empty-and-no-references-are-provided.js | 8 - .../exitCodeOnBogusFile/test-exit-code.js | 8 - ...-transitive-module-with-isolatedModules.js | 56 --- .../inferred-type-from-transitive-module.js | 56 --- ...hange-in-signature-with-isolatedModules.js | 92 ----- ...based-projects-and-emits-them-correctly.js | 32 -- ...ved-json-files-and-emits-them-correctly.js | 40 -- ...rojects-and-concatenates-them-correctly.js | 55 --- ...s-merged-and-contains-late-bound-member.js | 54 --- ...project-correctly-with-preserveSymlinks.js | 51 --- ...-file-from-referenced-project-correctly.js | 52 --- ...t-resolution-options-referenced-project.js | 21 - ...fiers-across-projects-resolve-correctly.js | 39 -- ...zed-module-specifiers-resolve-correctly.js | 25 -- .../semantic-errors-with-incremental.js | 62 --- .../tsbuild/noEmitOnError/semantic-errors.js | 73 ---- .../syntax-errors-with-incremental.js | 62 --- .../tsbuild/noEmitOnError/syntax-errors.js | 73 ---- .../tsbuild/outFile/clean-projects.js | 48 --- .../non-module-projects-without-prepend.js | 18 - ...al-flag-changes-between-non-dts-changes.js | 84 ---- ...erated-when-incremental-is-set-to-false.js | 24 -- ...-buildInfo-absence-results-in-new-build.js | 27 -- .../baseline-sectioned-sourcemaps.js | 80 ---- .../declarationMap-and-sourceMap-disabled.js | 24 -- .../emitHelpers-in-all-projects.js | 107 ----- ...tHelpers-in-only-one-dependency-project.js | 79 ---- .../tsbuild/outfile-concat/explainFiles.js | 80 ---- .../multiple-emitHelpers-in-all-projects.js | 79 ---- ...tiple-emitHelpers-in-different-projects.js | 79 ---- .../multiple-prologues-in-all-projects.js | 107 ----- ...ultiple-prologues-in-different-projects.js | 79 ---- .../outfile-concat/shebang-in-all-projects.js | 80 ---- .../shebang-in-only-one-dependency-project.js | 52 --- .../outfile-concat/strict-in-all-projects.js | 107 ----- .../strict-in-one-dependency.js | 79 ---- ...hen-internal-is-inside-another-internal.js | 25 -- ...en-one-two-three-are-prepended-in-order.js | 83 ---- .../stripInternal-jsdoc-style-comment.js | 79 ---- ...en-one-two-three-are-prepended-in-order.js | 54 --- ...-jsdoc-style-with-comments-emit-enabled.js | 52 --- ...l-when-few-members-of-enum-are-internal.js | 25 -- ...en-one-two-three-are-prepended-in-order.js | 112 ------ ...nal-when-prepend-is-completely-internal.js | 21 - ...en-one-two-three-are-prepended-in-order.js | 83 ---- ...tripInternal-with-comments-emit-enabled.js | 79 ---- .../tsbuild/outfile-concat/stripInternal.js | 107 ----- .../triple-slash-refs-in-all-projects.js | 82 ---- .../triple-slash-refs-in-one-project.js | 53 --- ...roject-is-not-composite-but-incremental.js | 25 -- ...t-composite-but-uses-project-references.js | 54 --- ...final-project-specifies-tsBuildInfoFile.js | 25 -- ...-source-files-are-empty-in-the-own-file.js | 52 --- ...otDir-is-not-specified-and-is-composite.js | 39 -- .../when-rootDir-is-not-specified.js | 40 -- ...iles-belong-to-rootDir-and-is-composite.js | 40 -- ...ied-but-not-all-files-belong-to-rootDir.js | 44 --- .../outputPaths/when-rootDir-is-specified.js | 40 -- .../builds-correctly.js | 21 - ...nfo-file-because-no-rootDir-in-the-base.js | 22 -- ...reports-error-for-same-tsbuildinfo-file.js | 21 - ...eports-no-error-when-tsbuildinfo-differ.js | 20 - .../files-containing-json-file.js | 22 -- ...ting-json-module-from-project-reference.js | 44 --- .../resolveJsonModule/include-and-files.js | 22 -- ...r-include-and-file-name-matches-ts-file.js | 22 -- ...nclude-of-json-along-with-other-include.js | 22 -- .../tsbuild/resolveJsonModule/include-only.js | 22 -- .../tsbuild/resolveJsonModule/sourcemap.js | 35 -- .../resolveJsonModule/without-outDir.js | 35 -- .../always-builds-under-with-force-option.js | 40 -- ...uilding-using-getNextInvalidatedProject.js | 76 ---- ...rectly-when-declarationDir-is-specified.js | 24 -- ...ilds-correctly-when-outDir-is-specified.js | 24 -- ...composite-or-doesnt-have-any-references.js | 17 - .../can-detect-when-and-what-to-rebuild.js | 92 ----- ...ojects-if-upstream-projects-have-errors.js | 43 -- ...does-not-write-any-files-in-a-dry-build.js | 10 - .../reference/tsbuild/sample1/explainFiles.js | 97 ----- ...it-would-skip-builds-during-a-dry-build.js | 20 - .../sample1/invalidates-projects-correctly.js | 100 ----- .../tsbuild/sample1/listEmittedFiles.js | 97 ----- .../reference/tsbuild/sample1/listFiles.js | 97 ----- ...uilds-from-start-if-force-option-is-set.js | 20 - ...uilds-when-extended-config-file-changes.js | 57 --- .../sample1/removes-all-files-it-built.js | 46 --- ...ror-if-input-file-is-missing-with-force.js | 12 - .../reports-error-if-input-file-is-missing.js | 14 - .../reference/tsbuild/sample1/sample.js | 147 ------- .../when-declaration-option-changes.js | 32 -- .../when-esModuleInterop-option-changes.js | 54 --- .../when-logic-specifies-tsBuildInfoFile.js | 24 -- .../sample1/when-module-option-changes.js | 32 -- .../sample1/when-target-option-changes.js | 34 -- ...roject-uses-different-module-resolution.js | 24 -- .../transitiveReferences/builds-correctly.js | 24 -- ...de-resolution-with-external-module-name.js | 16 - .../reports-syntax-errors-in-config-file.js | 112 ------ .../demo/updates-with-bad-reference.js | 75 ---- .../demo/updates-with-circular-reference.js | 61 --- ...for-changes-to-package-json-main-fields.js | 154 -------- ...t-correctly-with-cts-and-mts-extensions.js | 264 ------------- ...se-different-module-resolution-settings.js | 86 ---- ...n-no-files-are-emitted-with-incremental.js | 68 ---- ...when-watching-when-no-files-are-emitted.js | 69 ---- ...mit-any-files-on-error-with-incremental.js | 187 --------- .../does-not-emit-any-files-on-error.js | 192 --------- .../creates-solution-in-watch-mode.js | 35 -- .../incremental-updates-in-verbose-mode.js | 94 ----- .../when-file-with-no-error-changes.js | 71 ---- ...ing-errors-only-changed-file-is-emitted.js | 71 ---- .../when-file-with-no-error-changes.js | 48 --- ...ixing-error-files-all-files-are-emitted.js | 48 --- .../when-preserveWatchOutput-is-not-used.js | 87 ----- ...veWatchOutput-is-passed-on-command-line.js | 87 ----- ...e-of-program-emit-with-outDir-specified.js | 85 ---- ...r-recompilation-because-of-program-emit.js | 83 ---- ...-references-watches-only-those-projects.js | 31 -- ...tches-config-files-that-are-not-present.js | 83 ---- ...e-down-stream-project-and-then-fixes-it.js | 85 ---- ...ncing-project-even-for-non-local-change.js | 130 ------- ...le-is-added,-and-its-subsequent-updates.js | 199 ---------- ...hanges-and-reports-found-errors-message.js | 266 ------------- ...not-start-build-of-referencing-projects.js | 94 ----- ...le-is-added,-and-its-subsequent-updates.js | 201 ---------- ...hanges-and-reports-found-errors-message.js | 268 ------------- ...not-start-build-of-referencing-projects.js | 96 ----- ...project-with-extended-config-is-removed.js | 42 -- ...hen-noUnusedParameters-changes-to-false.js | 47 --- .../works-with-extended-source-files.js | 180 --------- .../publicApi/with-custom-transformers.js | 53 --- .../reexport/Reports-errors-correctly.js | 114 ------ ...e-projects-with-single-watcher-per-file.js | 144 ------- .../same-file-in-multiple-projects.js | 144 ------- ...and-line-but-has-tsbuild-info-in-config.js | 15 - ...and-line-but-has-tsbuild-info-in-config.js | 15 - ...setting-composite-false-on-command-line.js | 15 - ...-setting-composite-null-on-command-line.js | 15 - ...rough-indirect-symlink-moduleCaseChange.js | 60 --- ...ibling-package-through-indirect-symlink.js | 60 --- ...ther-symlinked-package-moduleCaseChange.js | 53 --- ...age-with-indirect-link-moduleCaseChange.js | 60 --- ...er-symlinked-package-with-indirect-link.js | 60 --- ...gh-source-and-another-symlinked-package.js | 53 --- ...in-another-file-through-indirect-import.js | 36 -- ...s-global-through-export-in-another-file.js | 34 -- .../incremental/noEmit-changes-composite.js | 342 ---------------- .../noEmit-changes-incremental-declaration.js | 342 ---------------- .../incremental/noEmit-changes-incremental.js | 342 ---------------- ...t-changes-with-initial-noEmit-composite.js | 90 ----- ...-initial-noEmit-incremental-declaration.js | 90 ----- ...changes-with-initial-noEmit-incremental.js | 90 ----- .../incremental/serializing-error-chains.js | 30 -- ...ault-lib-that-augments-the-global-scope.js | 16 - ...le-is-added,-the-signatures-are-updated.js | 105 ----- ...file-is-added-to-the-referenced-project.js | 96 ----- ...g-filename-for-buildinfo-on-commandline.js | 30 -- .../when-passing-rootDir-from-commandline.js | 30 -- ...when-passing-rootDir-is-in-the-tsconfig.js | 30 -- .../when-project-has-strict-true.js | 30 -- .../with-noEmitOnError-semantic-errors.js | 64 --- .../with-noEmitOnError-syntax-errors.js | 64 --- .../tsc/incremental/with-only-dts-files.js | 45 --- .../tsc/listFilesOnly/combined-with-watch.js | 8 - .../reference/tsc/listFilesOnly/loose-file.js | 10 - ...ject-contains-invalid-project-reference.js | 15 - ...eferences-composite-project-with-noEmit.js | 22 -- ...ypes-found-doesn't-crash-under---strict.js | 31 -- ...th-no-backing-types-found-doesn't-crash.js | 31 -- ...does-not-add-color-when-NO_COLOR-is-set.js | 10 - ...-when-host-can't-provide-terminal-width.js | 10 - ...tatus.DiagnosticsPresent_OutputsSkipped.js | 10 - .../createWatchOfConfigFile.js | 34 -- ...Result-on-WatchCompilerHostOfConfigFile.js | 37 -- .../consoleClearing/with---diagnostics.js | 34 -- .../with---extendedDiagnostics.js | 34 -- .../with---preserveWatchOutput.js | 34 -- ...---diagnostics-or---extendedDiagnostics.js | 34 -- ...ms-correctly-in-incremental-compilation.js | 38 -- ...s-deleted-and-created-as-part-of-change.js | 39 -- ...ndles-new-lines-carriageReturn-lineFeed.js | 34 -- .../handles-new-lines-lineFeed.js | 34 -- .../should-emit-specified-file.js | 58 --- ...elf-if-'--isolatedModules'-is-specified.js | 41 -- ...-if-'--out'-or-'--outFile'-is-specified.js | 41 -- ...should-be-up-to-date-with-deleted-files.js | 45 --- ...-be-up-to-date-with-newly-created-files.js | 48 --- ...-to-date-with-the-reference-map-changes.js | 113 ------ ...les-referencing-it-if-its-shape-changed.js | 57 --- ...should-detect-changes-in-non-root-files.js | 57 --- .../should-detect-non-existing-code-file.js | 62 --- .../should-detect-removed-code-file.js | 43 -- ...ll-files-if-a-global-file-changed-shape.js | 41 -- ...ould-return-cascaded-affected-file-list.js | 74 ---- ...fine-for-files-with-circular-references.js | 39 -- .../config-does-not-have-out-or-outFile.js | 54 --- .../config-has-out.js | 54 --- .../config-has-outFile.js | 54 --- ...ltiple-declaration-files-in-the-program.js | 24 -- ...ltiple-declaration-files-in-the-program.js | 24 -- ...-recursive-directory-watcher-is-invoked.js | 43 -- .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../with-noEmitOnError.js | 128 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../with-noEmitOnError.js | 128 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../default/with-noEmitOnError.js | 128 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../defaultAndD/with-noEmitOnError.js | 128 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../incremental/default/with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../defaultAndD/with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../isolatedModules/with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../isolatedModulesAndD/with-noEmitOnError.js | 129 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../isolatedModules/with-noEmitOnError.js | 128 ------ .../errors-for-.d.ts-change.js | 79 ---- .../errors-for-.ts-change.js | 75 ---- ...g-a-deep-multilevel-import-that-changes.js | 77 ---- .../no-circular-import/export.js | 80 ---- .../yes-circular-import/exports.js | 81 ---- .../with-noEmitOnError-with-incremental.js | 129 ------ .../isolatedModulesAndD/with-noEmitOnError.js | 128 ------ .../jsxImportSource-option-changed.js | 35 -- ...n-Windows-style-drive-root-is-lowercase.js | 39 -- ...n-Windows-style-drive-root-is-uppercase.js | 39 -- ...ry-symlink-target-and-import-match-disk.js | 44 --- ...le-symlink-target-and-import-match-disk.js | 43 -- ...nging-module-name-with-different-casing.js | 52 --- ...target-matches-disk-but-import-does-not.js | 44 --- ...target-matches-disk-but-import-does-not.js | 43 -- ...link-target,-and-disk-are-all-different.js | 43 -- ...link-target,-and-disk-are-all-different.js | 48 --- ...link-target-agree-but-do-not-match-disk.js | 44 --- ...link-target-agree-but-do-not-match-disk.js | 43 -- ...k-but-directory-symlink-target-does-not.js | 44 --- ...s-disk-but-file-symlink-target-does-not.js | 43 -- ...ative-information-file-location-changes.js | 42 -- ...hen-renaming-file-with-different-casing.js | 49 --- ...editing-module-augmentation-incremental.js | 70 ---- .../editing-module-augmentation-watch.js | 70 ---- ...lpers-backing-types-removed-incremental.js | 74 ---- ...portHelpers-backing-types-removed-watch.js | 74 ---- ...al-with-circular-references-incremental.js | 56 --- ...remental-with-circular-references-watch.js | 56 --- ...tSource-backing-types-added-incremental.js | 64 --- ...xImportSource-backing-types-added-watch.js | 64 --- ...ource-backing-types-removed-incremental.js | 78 ---- ...mportSource-backing-types-removed-watch.js | 78 ---- ...ImportSource-option-changed-incremental.js | 70 ---- .../jsxImportSource-option-changed-watch.js | 70 ---- .../own-file-emit-with-errors-incremental.js | 48 --- .../own-file-emit-with-errors-watch.js | 48 --- ...wn-file-emit-without-errors-incremental.js | 48 --- .../own-file-emit-without-errors-watch.js | 48 --- .../with---out-incremental.js | 25 -- .../module-compilation/with---out-watch.js | 25 -- .../own-file-emit-with-errors-incremental.js | 48 --- .../own-file-emit-with-errors-watch.js | 48 --- ...eters-that-are-not-relative-incremental.js | 50 --- ...-parameters-that-are-not-relative-watch.js | 50 --- ...without-commandline-options-incremental.js | 48 --- .../without-commandline-options-watch.js | 48 --- ...declaration-file-is-deleted-incremental.js | 48 --- ...lobal-declaration-file-is-deleted-watch.js | 48 --- .../incremental/with---out-incremental.js | 25 -- .../tscWatch/incremental/with---out-watch.js | 25 -- ...for-changes-to-package-json-main-fields.js | 144 ------- .../esm-mode-file-is-edited.js | 64 --- ...nerated-when-the-config-file-has-errors.js | 23 -- ...configFile-contents-when-options-change.js | 39 -- ...rs-document-is-not-contained-in-project.js | 23 -- ...rts-errors-when-the-config-file-changes.js | 55 --- ...nostics-when-'--noUnusedLabels'-changes.js | 53 --- ...-a-configured-program-without-file-list.js | 46 --- ...hould-remove-the-module-not-found-error.js | 47 --- ...has-changed-(new-file-in-list-of-files).js | 43 -- ...ot-files-has-changed-(new-file-on-disk).js | 46 --- ...-root-files-has-changed-through-include.js | 51 --- ...config-file-name-with-difference-casing.js | 23 -- ...-when-set-of-root-files-was-not-changed.js | 39 -- .../programUpdates/change-module-to-none.js | 43 -- ...iles-are-reflected-in-project-structure.js | 42 -- .../config-file-includes-the-file.js | 25 -- .../programUpdates/config-file-is-deleted.js | 39 -- ...s-changes-in-lib-section-of-config-file.js | 43 -- ...te-configured-project-without-file-list.js | 23 -- .../create-watch-without-config-file.js | 23 -- ...eleted-files-affect-project-structure-2.js | 47 --- .../deleted-files-affect-project-structure.js | 47 --- .../extended-source-files-are-watched.js | 96 ----- .../file-in-files-is-deleted.js | 43 -- ...iles-explicitly-excluded-in-config-file.js | 23 -- .../handle-recreated-files-correctly.js | 83 ---- ...se-they-were-added-with-tripleSlashRefs.js | 38 -- ...esnt-have-errors,-they-are-not-reported.js | 23 -- ...ndle-@types-if-input-file-list-is-empty.js | 20 - ...e-tolerated-without-crashing-the-server.js | 20 - ...tore-the-states-for-configured-projects.js | 83 ---- ...estore-the-states-for-inferred-projects.js | 67 ---- ...rors-correctly-with-file-not-in-rootDir.js | 44 --- ...s-errors-correctly-with-isolatedModules.js | 42 -- ...non-existing-directories-in-config-file.js | 22 -- ...ting-files-specified-in-the-config-file.js | 23 -- .../declarationDir-is-specified.js | 90 ----- ...-outDir-and-declarationDir-is-specified.js | 89 ----- .../when-outDir-is-specified.js | 87 ----- .../with-outFile.js | 86 ---- ...e-is-specified-with-declaration-enabled.js | 90 ----- .../without-outDir-or-outFile-is-specified.js | 88 ----- ...odule-resolution-changes-in-config-file.js | 53 --- .../should-reflect-change-in-config-file.js | 59 --- ...should-support-files-without-extensions.js | 18 - ...errors-and-still-try-to-build-a-project.js | 23 -- ...when-file-changes-from-global-to-module.js | 34 -- ...programs-are-not-affected-by-each-other.js | 33 -- ...-from-config-file-path-if-config-exists.js | 28 -- ...tes-diagnostics-and-emit-for-decorators.js | 54 --- ...it-when-useDefineForClassFields-changes.js | 36 -- .../updates-emit-on-jsx-option-change.js | 49 --- ...mit-when-importsNotUsedAsValues-changes.js | 74 ---- ...on-emit-is-disabled-in-compiler-options.js | 90 ----- .../with-default-options.js | 54 --- .../with-skipDefaultLibCheck.js | 54 --- .../with-skipLibCheck.js | 54 --- .../with-default-options.js | 54 --- .../with-skipDefaultLibCheck.js | 54 --- .../with-skipLibCheck.js | 54 --- ...when-ambient-modules-of-program-changes.js | 75 ---- ...orceConsistentCasingInFileNames-changes.js | 40 -- ...s-errors-when-noErrorTruncation-changes.js | 40 -- ...es-errors-when-strictNullChecks-changes.js | 72 ---- ...solution-when-resolveJsonModule-changes.js | 60 --- ...and-new-file-is-added-as-part-of-change.js | 48 --- .../when-creating-extensionless-file.js | 40 -- ...n-creating-new-file-in-symlinked-folder.js | 49 --- ...file-is-added-to-the-referenced-project.js | 153 -------- ...ibCheck-and-skipDefaultLibCheck-changes.js | 120 ------ ...-file-is-changed-but-its-content-havent.js | 39 -- .../on-sample-project.js | 170 -------- ...-different-folders-with-no-files-clause.js | 368 ------------------ ...nsitive-references-in-different-folders.js | 358 ----------------- .../on-transitive-references.js | 295 -------------- ...roject-uses-different-module-resolution.js | 53 --- .../tscWatch/resolutionCache/caching-works.js | 106 ----- .../watch-with-configFile.js | 50 --- .../watch-without-configFile.js | 44 --- .../loads-missing-files-from-disk.js | 56 --- ...module-goes-missing-and-then-comes-back.js | 78 ---- ...are-global-and-installed-at-later-point.js | 76 ---- .../with-modules-linked-to-sibling-folder.js | 40 -- ...cluded-file-with-ambient-module-changes.js | 39 -- ...-no-notification-from-fs-for-index-file.js | 144 ------- ...le-resolution-changes-to-ambient-module.js | 58 --- ...der-that-already-contains-@types-folder.js | 59 --- ...rogram-with-files-from-external-library.js | 61 --- ...es-field-when-solution-is-already-built.js | 79 ---- ...Symlinks-when-solution-is-already-built.js | 75 ---- ...n-has-types-field-with-preserveSymlinks.js | 43 -- ...-package-when-solution-is-already-built.js | 81 ---- ...Symlinks-when-solution-is-already-built.js | 77 ---- ...th-scoped-package-with-preserveSymlinks.js | 44 --- ...son-has-types-field-with-scoped-package.js | 46 --- .../when-packageJson-has-types-field.js | 45 --- ...ubFolder-when-solution-is-already-built.js | 82 ---- ...Symlinks-when-solution-is-already-built.js | 78 ---- ...le-from-subFolder-with-preserveSymlinks.js | 44 --- ...-package-when-solution-is-already-built.js | 82 ---- ...Symlinks-when-solution-is-already-built.js | 78 ---- ...th-scoped-package-with-preserveSymlinks.js | 44 --- ...file-from-subFolder-with-scoped-package.js | 46 --- .../when-referencing-file-from-subFolder.js | 46 --- ...-project-when-solution-is-already-built.js | 52 --- .../with-simple-project.js | 29 -- .../extraFileExtensions-are-supported.js | 51 --- ...noEmit-with-composite-with-emit-builder.js | 94 ----- ...it-with-composite-with-semantic-builder.js | 94 ----- ...nError-with-composite-with-emit-builder.js | 66 ---- ...or-with-composite-with-semantic-builder.js | 66 ---- .../watchApi/semantic-builder-emitOnlyDts.js | 44 --- ...createSemanticDiagnosticsBuilderProgram.js | 38 -- ...n-works-when-returned-without-extension.js | 31 -- ...assed-down-to-the-watch-status-reporter.js | 22 -- ...ing-useSourceOfProjectReferenceRedirect.js | 140 ------- ...-host-implementing-getParsedCommandLine.js | 80 ---- ...-timesouts-on-host-program-gets-updated.js | 51 --- ...polling-when-renaming-file-in-subfolder.js | 56 --- ...rectory-when-renaming-file-in-subfolder.js | 53 --- ...tchFile-when-renaming-file-in-subfolder.js | 50 --- ...ymlinks-to-folders-in-recursive-folders.js | 41 -- ...hronous-watch-directory-renaming-a-file.js | 109 ------ ...ory-with-outDir-and-declaration-enabled.js | 136 ------- .../with-non-synchronous-watch-directory.js | 240 ------------ ...lt-as-fixed-chunk-size-watch-file-works.js | 70 ---- .../using-dynamic-priority-polling.js | 97 ----- .../using-fixed-chunk-size-polling.js | 112 ------ ...eDirectories-option-extendedDiagnostics.js | 53 --- ...-directory-watching-extendedDiagnostics.js | 73 ---- ...ption-with-recursive-directory-watching.js | 73 ---- .../with-excludeDirectories-option.js | 53 --- ...excludeFiles-option-extendedDiagnostics.js | 53 --- .../watchOptions/with-excludeFiles-option.js | 53 --- .../with-fallbackPolling-option.js | 24 -- .../with-watchDirectory-option.js | 24 -- ...th-watchFile-as-watch-options-to-extend.js | 23 -- .../watchOptions/with-watchFile-option.js | 23 -- 497 files changed, 12 insertions(+), 32967 deletions(-) diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index c8b8979554d0e..784f6f867016c 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -855,26 +855,18 @@ interface Array { length: number; [n: number]: T; }` } fileExists(s: string) { - const path = this.toFullPath(s); - this.fileExistsCalls[path] = (getProperty(this.fileExistsCalls, path) || 0) + 1; - return !!this.getRealFile(path); - } - - fileExistsWithoutTracking(s: string) { const path = this.toFullPath(s); return !!this.getRealFile(path); } getModifiedTime(s: string) { const path = this.toFullPath(s); - this.getModifiedCalls[path] = (getProperty(this.getModifiedCalls, path) || 0) + 1; const fsEntry = this.fs.get(path); return (fsEntry && fsEntry.modifiedTime)!; // TODO: GH#18217 } setModifiedTime(s: string, date: Date) { const path = this.toFullPath(s); - this.setModifiedCalls[path] = (getProperty(this.setModifiedCalls, path) || 0) + 1; const fsEntry = this.fs.get(path); if (fsEntry) { fsEntry.modifiedTime = date; @@ -898,7 +890,6 @@ interface Array { length: number; [n: number]: T; }` directoryExists(s: string) { const path = this.toFullPath(s); - this.directoryExistsCalls[path] = (getProperty(this.directoryExistsCalls, path) || 0) + 1; return !!this.getRealFolder(path); } @@ -1072,14 +1063,11 @@ interface Array { length: number; [n: number]: T; }` } result.set(key, cloneValue); }); + return result; } writtenFiles?: ESMap; - getModifiedCalls: MapLike = {}; - fileExistsCalls: MapLike = {}; - directoryExistsCalls: MapLike = {}; - setModifiedCalls: MapLike = {}; diff(baseline: string[], base: ESMap = new Map()) { this.fs.forEach(newFsEntry => { diffFsEntry(baseline, base.get(newFsEntry.path), newFsEntry, this.writtenFiles); @@ -1091,18 +1079,6 @@ interface Array { length: number; [n: number]: T; }` } }); baseline.push(""); - baseline.push(`fileExists:: ${JSON.stringify(this.fileExistsCalls, /*replacer*/ undefined, " ")} `); - baseline.push(""); - baseline.push(`directoryExists:: ${JSON.stringify(this.directoryExistsCalls, /*replacer*/ undefined, " ")} `); - baseline.push(""); - baseline.push(`getModifiedTimes:: ${JSON.stringify(this.getModifiedCalls, /*replacer*/ undefined, " ")} `); - baseline.push(""); - baseline.push(`setModifiedTimes:: ${JSON.stringify(this.setModifiedCalls, /*replacer*/ undefined, " ")} `); - baseline.push(""); - this.fileExistsCalls = {}; - this.directoryExistsCalls = {}; - this.getModifiedCalls = {}; - this.setModifiedCalls = {}; } serializeWatches(baseline: string[]) { @@ -1247,13 +1223,7 @@ interface Array { length: number; [n: number]: T; }` if (baselinedOutput) baseline.push(baselinedOutput.join("")); } - export type TestServerHostTrackingWrittenFiles = TestServerHost & { - writtenFiles: ESMap; - getModifiedCalls: MapLike; - fileExistsCalls: MapLike; - directoryExistsCalls: MapLike; - setModifiedCalls: MapLike; - }; + export type TestServerHostTrackingWrittenFiles = TestServerHost & { writtenFiles: ESMap; }; export function changeToHostTrackingWrittenFiles(inputHost: TestServerHost) { const host = inputHost as TestServerHostTrackingWrittenFiles; @@ -1264,7 +1234,6 @@ interface Array { length: number; [n: number]: T; }` const path = host.toFullPath(fileName); host.writtenFiles.set(path, (host.writtenFiles.get(path) || 0) + 1); }; - return host; } export const tsbuildProjectsLocation = "/user/username/projects"; diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index c37716f2a3212..c47e0561181f4 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -296,11 +296,10 @@ interface Symbol { options: CompilerOptions, sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], - originalFileExists?: System["fileExists"], ) { const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options); if (!buildInfoPath || !sys.writtenFiles!.has(toPathWithSystem(sys, buildInfoPath))) return; - if (!(originalFileExists || sys.fileExists).call(sys, buildInfoPath)) return; + if (!sys.fileExists(buildInfoPath)) return; const buildInfo = getBuildInfo((originalReadCall || sys.readFile).call(sys, buildInfoPath, "utf8")!); generateBuildInfoProgramBaseline(sys, buildInfoPath, buildInfo); diff --git a/src/testRunner/unittests/tsc/helpers.ts b/src/testRunner/unittests/tsc/helpers.ts index a2336945309b0..aa7b4f250d6f5 100644 --- a/src/testRunner/unittests/tsc/helpers.ts +++ b/src/testRunner/unittests/tsc/helpers.ts @@ -39,21 +39,20 @@ namespace ts { export function commandLineCallbacks( sys: TscCompileSystem | tscWatch.WatchedSystem, originalReadCall?: System["readFile"], - originalFileExists?: System["fileExists"], ): CommandLineCallbacks { let programs: CommandLineProgram[] | undefined; return { cb: program => { if (isAnyProgram(program)) { - baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall, originalFileExists); + baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall); (programs || (programs = [])).push(isBuilderProgram(program) ? [program.getProgram(), program] : [program] ); } else { - baselineBuildInfo(program.options, sys, originalReadCall, originalFileExists); + baselineBuildInfo(program.options, sys, originalReadCall); } }, getPrograms: () => { @@ -162,10 +161,6 @@ ${patch ? vfs.formatPatch(patch) : ""}` export function testTscCompile(input: TestTscCompile) { let actualReadFileMap: MapLike | undefined; let getPrograms: CommandLineCallbacks["getPrograms"] | undefined; - let getModifiedCalls: MapLike | undefined; - let setModifiedCalls: MapLike | undefined; - let fileExistsCalls: MapLike | undefined; - let directoryExistsCalls: MapLike | undefined; return testTscCompileLike({ ...input, compile: commandLineCompile, @@ -183,43 +178,8 @@ ${patch ? vfs.formatPatch(patch) : ""}` } return originalReadFile.call(sys, path); }; - getModifiedCalls = {}; - setModifiedCalls = {}; - fileExistsCalls = {}; - directoryExistsCalls = {}; - const originalGetModifiedTime = sys.getModifiedTime; - sys.getModifiedTime = path => { - // Dont record libs - if (getModifiedCalls) { - getModifiedCalls[path] = (getProperty(getModifiedCalls, path) || 0) + 1; - } - return originalGetModifiedTime.call(sys, path); - }; - const originalSetModifiedTime = sys.setModifiedTime; - sys.setModifiedTime = (path, time) => { - // Dont record libs - if (setModifiedCalls) { - setModifiedCalls[path] = (getProperty(setModifiedCalls, path) || 0) + 1; - } - return originalSetModifiedTime.call(sys, path, time); - }; - const originalFileExists = sys.fileExists; - sys.fileExists = path => { - // Dont record libs - if (fileExistsCalls) { - fileExistsCalls[path] = (getProperty(fileExistsCalls, path) || 0) + 1; - } - return originalFileExists.call(sys, path); - }; - const originalDirectoryExists = sys.directoryExists; - sys.directoryExists = path => { - // Dont record libs - if (directoryExistsCalls) { - directoryExistsCalls[path] = (getProperty(directoryExistsCalls, path) || 0) + 1; - } - return originalDirectoryExists.call(sys, path); - }; - const result = commandLineCallbacks(sys, originalReadFile, originalFileExists); + + const result = commandLineCallbacks(sys, originalReadFile); executeCommandLine( sys, result.cb, @@ -239,16 +199,8 @@ ${patch ? vfs.formatPatch(patch) : ""}` if (baselineReadFileCalls) { sys.write(`readFiles:: ${JSON.stringify(actualReadFileMap, /*replacer*/ undefined, " ")} `); } - sys.write(`\ngetModifiedTime:: ${JSON.stringify(getModifiedCalls, /*replacer*/ undefined, " ")}\n`); - sys.write(`\nsetModifiedTime:: ${JSON.stringify(setModifiedCalls, /*replacer*/ undefined, " ")}\n`); - sys.write(`\nfileExists:: ${JSON.stringify(fileExistsCalls, /*replacer*/ undefined, " ")}\n`); - sys.write(`\ndirectoryExists:: ${JSON.stringify(directoryExistsCalls, /*replacer*/ undefined, " ")}\n`); if (baselineSourceMap) generateSourceMapBaselineFiles(sys); actualReadFileMap = undefined; - getModifiedCalls = undefined; - setModifiedCalls = undefined; - fileExistsCalls = undefined; - directoryExistsCalls = undefined; getPrograms = undefined; } } diff --git a/src/testRunner/unittests/tscWatch/helpers.ts b/src/testRunner/unittests/tscWatch/helpers.ts index 4a55dc97310a3..501264b40ff32 100644 --- a/src/testRunner/unittests/tscWatch/helpers.ts +++ b/src/testRunner/unittests/tscWatch/helpers.ts @@ -140,7 +140,7 @@ namespace ts.tscWatch { } = input; if (!isWatch(commandLineArgs)) sys.exit = exitCode => sys.exitCode = exitCode; - const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); + const { cb, getPrograms } = commandLineCallbacks(sys); const watchOrSolution = executeCommandLine( sys, cb, @@ -179,7 +179,7 @@ namespace ts.tscWatch { const baseline: string[] = []; baseline.push("Input::"); sys.diff(baseline); - const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); + const { cb, getPrograms } = commandLineCallbacks(sys); return { sys, baseline, oldSnap: sys.snap(), cb, getPrograms }; } diff --git a/src/testRunner/unittests/tscWatch/programUpdates.ts b/src/testRunner/unittests/tscWatch/programUpdates.ts index 39d1db0596cf9..68f03f0d20cc4 100644 --- a/src/testRunner/unittests/tscWatch/programUpdates.ts +++ b/src/testRunner/unittests/tscWatch/programUpdates.ts @@ -544,7 +544,7 @@ export class A { oldSnap, }); - const {cb: cb2, getPrograms: getPrograms2 } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); + const {cb: cb2, getPrograms: getPrograms2 } = commandLineCallbacks(sys); const oldSnap2 = sys.snap(); baseline.push("createing separate watcher"); createWatchProgram(createWatchCompilerHostOfFilesAndCompilerOptionsForBaseline({ diff --git a/src/testRunner/unittests/tscWatch/watchApi.ts b/src/testRunner/unittests/tscWatch/watchApi.ts index cb357e2b670a5..477a982eafde2 100644 --- a/src/testRunner/unittests/tscWatch/watchApi.ts +++ b/src/testRunner/unittests/tscWatch/watchApi.ts @@ -208,7 +208,7 @@ namespace ts.tscWatch { createProgram: CreateProgram, optionsToExtend?: CompilerOptions, ) { - const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); + const { cb, getPrograms } = commandLineCallbacks(sys); baseline.push(`tsc --w${optionsToExtend?.noEmit ? " --noEmit" : ""}`); const oldSnap = sys.snap(); const host = createWatchCompilerHostOfConfigFileForBaseline({ @@ -384,7 +384,7 @@ namespace ts.tscWatch { // Fix error and emit applyChange(sys, baseline, sys => sys.writeFile(mainFile.path, "export const x = 10;"), "Fix error"); - const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, sys.fileExistsWithoutTracking); + const { cb, getPrograms } = commandLineCallbacks(sys); const oldSnap = sys.snap(); const reportDiagnostic = createDiagnosticReporter(sys, /*pretty*/ true); const reportWatchStatus = createWatchStatusReporter(sys, /*pretty*/ true); diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index dec721d50d0fa..684c0221b218c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -83,48 +83,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -1016,31 +974,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] var myGlob = 20; diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 9adc842deb53f..97e316c861699 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -95,48 +95,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -2193,31 +2151,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] var __read = (this && this.__read) || function (o, n) { @@ -3855,31 +3788,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] var __read = (this && this.__read) || function (o, n) { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index 6d7da73d54b09..b8ed764d7a960 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -88,48 +88,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare const myGlob = 20; @@ -1302,31 +1260,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] "use strict"; @@ -2236,31 +2169,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.d.ts.map] {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../lib/file0.ts","../lib/file1.ts","../lib/file2.ts","../lib/global.ts","file3.ts","file4.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC"} diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index 22b368e8a0691..dac543764d14e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -86,48 +86,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] #!someshebang lib file0 @@ -1038,31 +996,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] #!someshebang lib file0 diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 0f37edaad4dd3..4e9ff5d8f06d4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -109,48 +109,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare module "file1" { @@ -4943,31 +4901,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] /*@internal*/ var myGlob = 20; @@ -8796,31 +8729,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare module "file1" { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index ddf741d9bed69..9af0783304a96 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -93,48 +93,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 2, - "/src/lib/module.d.ts": 1, - "/src/app/file1.ts": 1, - "/src/app/file1.tsx": 1, - "/src/app/file1.d.ts": 1, - "/src/file1.ts": 1, - "/src/file1.tsx": 1, - "/src/file1.d.ts": 1, - "/file1.ts": 1, - "/file1.tsx": 1, - "/file1.d.ts": 1, - "/src/app/file1.js": 1, - "/src/app/file1.jsx": 1, - "/src/file1.js": 1, - "/src/file1.jsx": 1, - "/file1.js": 1, - "/file1.jsx": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app": 2, - "/src": 2, - "/": 2, - "/src/app/node_modules": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] /// @@ -1251,32 +1209,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/module.tsbuildinfo": 1, - "/src/lib/file0.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.tsbuildinfo": 1, - "/src/app/file3.ts": 1, - "/src/app/file4.ts": 1, - "/src/app/tripleRef.d.ts": 1, - "/src/app/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/lib/module.js": 1, - "/src/lib/module.d.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/app/module.js] /// diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 699db62cf96bf..2c428092b7e94 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -83,30 +83,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/module.tsbuildinfo": 1, - "/src/app/module.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/module.js": 2, - "/src/module.d.ts": 1, - "/src/lib/file1.ts": 1, - "/src/app/module.js": 1, - "/src/app/module.d.ts": 1 -} - -directoryExists:: { - "/src/lib/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/app/lib": 1, - "/src/lib": 1, - "/src/app/node_modules/@types": 1 -} - //// [/src/app/module.d.ts] declare const myGlob = 20; diff --git a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js index d6a2a5eca3081..88b1765793dac 100644 --- a/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js +++ b/tests/baselines/reference/tsbuild/clean/file-name-and-output-name-clashing.js @@ -29,14 +29,4 @@ Output:: /lib/tsc --b /src/tsconfig.json -clean exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/bar.js": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 164dda4d337fb..f820ea9cc21cc 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -45,19 +45,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} @@ -127,19 +114,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -162,19 +136,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -194,19 +155,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -221,19 +169,6 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/a.d.ts] export declare function foo(): void; diff --git a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js index b2dee19922f0a..6671142bb0b43 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/when-tsconfig-extends-the-missing-file.js @@ -58,17 +58,4 @@ Found 4 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.first.tsbuildinfo": 1, - "/src/tsconfig.second.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/foobar.json": 2 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 09e00600e71ae..11cc57b86d0d9 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -59,24 +59,6 @@ Output:: /src/shared/typings-base/globals.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, - "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/tsconfig-base.json": 2 -} - -directoryExists:: { - "/src/shared/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/webpack/node_modules/@types": 1 -} - //// [/src/target-tsc-build/shared/index.d.ts] export declare const a: Unrestricted; diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 832acfa7b7d35..1113563b29c93 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -60,24 +60,6 @@ Output:: /src/shared/typings-base/globals.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/target-tsc-build/shared/tsconfig.tsbuildinfo": 1, - "/src/target-tsc-build/webpack/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/tsconfig-base.json": 2 -} - -directoryExists:: { - "/src/shared/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/webpack/node_modules/@types": 1 -} - //// [/src/target-tsc-build/shared/index.d.ts] export declare const a: Unrestricted; diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 53da9195cebd6..49388f073f3a3 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -99,25 +99,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/folder/tsconfig.tsbuildinfo": 1, - "/src/src/folder2/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/src/folder/node_modules/@types": 1, - "/src/src/node_modules/@types": 2, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/src/folder2/node_modules/@types": 1, - "/src/tests/node_modules/@types": 1 -} - //// [/src/src/folder/index.d.ts] export declare const x = 10; @@ -283,22 +264,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/folder/tsconfig.tsbuildinfo": 1, - "/src/src/folder/index.ts": 1, - "/src/src/folder/tsconfig.json": 1, - "/src/src/folder2/tsconfig.tsbuildinfo": 1, - "/src/src/folder2/index.ts": 1, - "/src/src/folder2/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 8de76463a6da2..094499ec906a6 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -67,26 +67,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/solution/lib/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/solution/tsconfig.base.json": 1, - "/src/solution/src/common/nominal.ts": 1, - "/src/solution/src/subProject/index.ts": 1 -} - -directoryExists:: { - "/src/solution/src/common": 2, - "/src/solution/src/subProject": 2, - "/src/solution/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/solution/lib/src/common/nominal.d.ts] /// diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 9a7575fa0b6a5..f4af1468d0fe8 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -79,32 +79,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/solution/lib/src/common/tsconfig.tsbuildinfo": 1, - "/src/solution/lib/src/subProject/tsconfig.tsbuildinfo": 1, - "/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/solution/tsconfig.base.json": 3, - "/src/solution/src/common/nominal.ts": 1, - "/src/solution/src/subProject/index.ts": 1 -} - -directoryExists:: { - "/src/solution/src/common/node_modules/@types": 1, - "/src/solution/src/node_modules/@types": 3, - "/src/solution/node_modules/@types": 3, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/solution/src/common": 2, - "/src/solution/src/subProject/node_modules/@types": 1, - "/src/solution/src/subProject": 2, - "/src/solution/src/subProject2/node_modules/@types": 1 -} - //// [/src/solution/lib/src/common/nominal.d.ts] /// diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index a61d215d22517..455e914bd7822 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -56,33 +56,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/packages/pkg1/lib/tsconfig.tsbuildinfo": 1, - "/src/packages/pkg2/lib/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig": 2, - "/src/tsconfig.json": 2, - "/src/packages/pkg1/src.ts": 1, - "/src/packages/pkg1/src.tsx": 1, - "/src/packages/pkg1/src.d.ts": 1, - "/src/packages/pkg1/src/package.json": 1, - "/src/packages/pkg1/src/index.ts": 1 -} - -directoryExists:: { - "/src/packages/pkg1/node_modules/@types": 1, - "/src/packages/node_modules/@types": 2, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/packages/pkg1": 3, - "/src/packages/pkg1/src": 4, - "/src/packages/pkg2/node_modules/@types": 1 -} - //// [/src/packages/pkg1/lib/src/index.d.ts] export interface IThing { diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 77ed1fd549d72..b629ce0cd9421 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -220,34 +220,6 @@ Found 7 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/lib/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig-base.json": 3, - "/src/animals.ts": 1, - "/src/animals.tsx": 1, - "/src/animals.d.ts": 1, - "/src/animals/package.json": 1, - "/src/animals/index.ts": 1, - "/src/animals/animal.ts": 1, - "/src/animals/dog.ts": 1, - "/src/core/utilities.ts": 1 -} - -directoryExists:: { - "/src": 2, - "/src/animals": 9, - "/src/animals/": 2, - "/src/core": 2, - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"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},"-14984181202-export type Size = \"small\" | \"medium\" | \"large\";\r\nexport default interface Animal {\r\n size: Size;\r\n}\r\n","-10991948013-import Animal from '.';\r\nimport { makeRandomName } from '../core/utilities';\r\n\r\nexport interface Dog extends Animal {\r\n woof(): void;\r\n name: string;\r\n}\r\n\r\nexport function createDog(): Dog {\r\n return ({\r\n size: \"medium\",\r\n woof: function(this: Dog) {\r\n console.log(`${this.name} says \"Woof\"!`);\r\n },\r\n name: makeRandomName()\r\n });\r\n}\r\n\r\n","-5382672599-import Animal from './animal';\r\n\r\nexport default Animal;\r\nimport { createDog, Dog } from './dog';\r\nexport { createDog, Dog };\r\n","-15713992787-import * as A from '../animals';\n\r\nexport function makeRandomName() {\r\n return \"Bob!?! \";\r\n}\r\n\r\nexport function lastElementOf(arr: T[]): T | undefined {\r\n if (arr.length === 0) return undefined;\r\n return arr[arr.length - 1];\r\n}\r\n\r\n"],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"exportedModulesMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[1,2,3,4,[5,[{"file":"../../core/utilities.ts","start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1],[5,1]],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index c05c3af9c8b1a..7a5ecdf0d2ba4 100644 --- a/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -166,14 +166,4 @@ Found 1 error. exitCode:: ExitStatus.ProjectReferenceCycle_OutputsSkupped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig-base.json": 3 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index 685c09ccbeb57..44b96df5f2f39 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -165,34 +165,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/core/tsconfig.tsbuildinfo": 1, - "/src/lib/animals/tsconfig.tsbuildinfo": 1, - "/src/lib/zoo/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig-base.json": 3, - "/src/animals/package.json": 1, - "/src/animals/index.ts": 1, - "/src/core/utilities.ts": 1, - "/src/animals/animal.ts": 1, - "/src/animals/dog.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/animals/": 3, - "/src/animals": 7, - "/src/core": 2, - "/src/animals/node_modules/@types": 1, - "/src/zoo/node_modules/@types": 1 -} - //// [/src/lib/animals/animal.d.ts] export declare type Size = "small" | "medium" | "large"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 837d4998a3275..5d79366f8eb47 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -79,24 +79,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] import { B } from "./b"; @@ -272,25 +254,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] import { B } from "./b"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index ccb44301afb2a..f93f441f72cd3 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -79,24 +79,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] import { B } from "./b"; @@ -259,25 +241,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/b.ts": 1, - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] import { B } from "./b"; diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index b2f4f2cc0c62e..e0ee57508e343 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -73,23 +73,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 4, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] export declare class B { @@ -229,24 +212,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 4, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] file written with same contents //// [/src/lib/a.d.ts.map] @@ -358,24 +323,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/a.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/c.ts": 1, - "/src/src/a.ts": 1 -} - -directoryExists:: { - "/src/src": 4, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/lib/a.d.ts] export declare class B { diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index d60727d08d37e..9ee24ae7f833b 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -63,20 +63,6 @@ Output:: /lib/tsc --b /src/with-references exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] export declare function multiply(a: number, b: number): number; diff --git a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js index ada39a9ce36e4..de16bd6493892 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js @@ -71,12 +71,4 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js index 7ed843d7771e6..e2cf85386187f 100644 --- a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js +++ b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/test-exit-code.js @@ -25,12 +25,4 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index e883e4fa5a9cd..93eba08450659 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -81,24 +81,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -284,25 +266,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: () => void; @@ -437,25 +400,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index e5be721bf1675..c9961a6bcd59d 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -81,24 +81,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -284,25 +266,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: () => void; @@ -438,25 +401,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index bab205d2a3a13..3af3283a3fdd3 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -83,24 +83,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: (param: string) => void; @@ -296,25 +278,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} @@ -457,24 +420,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] file written with same contents //// [/src/obj/bar.js] file written with same contents @@ -603,25 +548,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1, - "/src/bar.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"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},{"version":"747071916-interface RawAction {\r\n (...args: any[]): Promise | void;\r\n}\r\ninterface ActionFactory {\r\n (target: T): T;\r\n}\r\ndeclare function foo(): ActionFactory;\r\nexport default foo()(function foobar(): void {\r\n});","signature":"-9232740537-declare const _default: () => void;\r\nexport default _default;\r\n"},{"version":"-21659820217-export class LazyModule {\r\n constructor(private importCallback: () => Promise) {}\r\n}\r\n\r\nexport class LazyAction<\r\n TAction extends (...args: any[]) => any,\r\n TModule\r\n> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\r\n }\r\n}\r\n","signature":"-40032907372-export declare class LazyModule {\r\n private importCallback;\r\n constructor(importCallback: () => Promise);\r\n}\r\nexport declare class LazyAction any, TModule> {\r\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\r\n}\r\n"},{"version":"-9780226215-interface PromiseConstructor {\r\n new (): Promise;\r\n}\r\ndeclare var Promise: PromiseConstructor;\r\ninterface Promise {\r\n}","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","-11602502901-import { LazyAction, LazyModule } from './bundling';\r\nconst lazyModule = new LazyModule(() =>\r\n import('./lazyIndex')\r\n);\r\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);"],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"exportedModulesMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,6,[5,[{"file":"../lazyindex.ts","start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[[2,1],[6,0],[5,0]]},"version":"FakeTSVersion"} @@ -759,24 +685,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/obj/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/bundling.ts": 1, - "/src/lazyIndex.ts": 1, - "/src/bar.ts": 1 -} - -directoryExists:: { - "/src": 6, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/obj/bar.d.ts] declare const _default: () => void; diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index f1ba20aab1bb9..2821c79580cd4 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -117,38 +117,6 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success -getModifiedTime:: { - "/lib/common/tsconfig.tsbuildinfo": 1, - "/lib/sub-project/tsconfig.tsbuildinfo": 1, - "/lib/sub-project-2/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, - "/src/common/nominal.ts": 1, - "/src/common/nominal.tsx": 1, - "/src/common/nominal.d.ts": 1, - "/src/common/nominal.js": 1, - "/src/sub-project/index.ts": 1, - "/src/sub-project/index.tsx": 1, - "/src/sub-project/index.d.ts": 1, - "/src/sub-project/index.js": 1 -} - -directoryExists:: { - "/src/common/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/common": 4, - "/src/common/nominal": 1, - "/src/sub-project/node_modules/@types": 1, - "/src/sub-project": 4, - "/src/sub-project/index": 1, - "/src/sub-project-2/node_modules/@types": 1 -} - //// [/lib/common/nominal.d.ts] export type Nominal = T & { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index 765a505ae82c4..84972de56d343 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -117,46 +117,6 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/common/tsconfig.tsbuildinfo": 1, - "/out/sub-project/tsconfig.tsbuildinfo": 1, - "/out/sub-project-2/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, - "/src/common/obj.json.ts": 1, - "/src/common/obj.json.tsx": 1, - "/src/common/obj.json.d.ts": 1, - "/src/common/obj.json.js": 1, - "/src/common/obj.json.jsx": 1, - "/src/common/obj.json": 1, - "/src/common.ts": 1, - "/src/common.tsx": 1, - "/src/common.d.ts": 1, - "/src/common/package.json": 1, - "/src/common/index.ts": 1, - "/src/sub-project/index.ts": 1, - "/src/sub-project/index.tsx": 1, - "/src/sub-project/index.d.ts": 1, - "/src/sub-project/index.js": 1 -} - -directoryExists:: { - "/src/common": 10, - "/src/common/obj.json": 1, - "/src/common/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src": 2, - "/src/sub-project/node_modules/@types": 1, - "/src/sub-project": 4, - "/src/sub-project/index": 1, - "/src/sub-project-2/node_modules/@types": 1 -} - //// [/out/sub-project/index.d.ts] export const m: { diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 40307a8443e3f..47c648506cd3b 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -119,32 +119,6 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/common/common.tsbuildinfo": 1, - "/src/sub-project/sub-project.tsbuildinfo": 1, - "/src/sub-project-2/sub-project-2.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, - "/src/common/common.js": 2, - "/src/common/common.d.ts": 1, - "/src/sub-project/sub-project.js": 2, - "/src/sub-project/sub-project.d.ts": 1, - "/src/sub-project-2/sub-project-2.js": 1, - "/src/sub-project-2/sub-project-2.d.ts": 1 -} - -directoryExists:: { - "/src/common/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/sub-project/node_modules/@types": 1, - "/src/sub-project-2/node_modules/@types": 1 -} - //// [/src/common/common.d.ts] type Nominal = T & { @@ -534,35 +508,6 @@ Output:: /lib/tsc -b /src exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/common/common.tsbuildinfo": 1, - "/src/common/nominal.js": 1, - "/src/common/tsconfig.json": 1, - "/src/tsconfig.base.json": 2, - "/src/sub-project/sub-project.tsbuildinfo": 1, - "/src/sub-project/index.js": 1, - "/src/sub-project-2/sub-project-2.tsbuildinfo": 1, - "/src/sub-project-2/index.js": 1, - "/src/sub-project-2/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, - "/src/common/common.js": 1, - "/src/sub-project/sub-project.js": 1, - "/src/sub-project/sub-project.d.ts": 1, - "/src/sub-project-2/sub-project-2.js": 1, - "/src/sub-project-2/sub-project-2.d.ts": 1 -} - -directoryExists:: { - "/src/sub-project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/sub-project/sub-project.d.ts] file written with same contents //// [/src/sub-project/sub-project.js] diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index d277ad95bb25f..1974972a14ecc 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -57,22 +57,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hkt.ts": 1 -} - -directoryExists:: { - "/src/src": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/src/hkt.js] "use strict"; @@ -180,25 +164,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hkt.ts": 1 -} - -directoryExists:: { - "/src/src": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/src/main.js] "use strict"; @@ -300,25 +265,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1, - "/src/src/globals.d.ts": 1, - "/src/src/hkt.ts": 1, - "/src/src/main.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hkt.ts": 1 -} - -directoryExists:: { - "/src/src": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index a096c469cf593..e79f1defd1ab6 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -33,14 +33,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b packages/pkg1 --verbose --traceResolution Output:: [12:00:39 AM] Projects in this build: @@ -224,46 +216,3 @@ exports.theNum = void 0; exports.theNum = 42; - -fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg2": 7, - "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/pkg2/build": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/pkg1/build": 1, - "/user/username/projects/myproject/packages/pkg1": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 466fd5144ae7e..4daac7e1bb481 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -33,14 +33,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b packages/pkg1 --verbose --traceResolution Output:: [12:00:39 AM] Projects in this build: @@ -225,47 +217,3 @@ exports.theNum = void 0; exports.theNum = 42; - -fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg2": 7, - "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/pkg2/build": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/pkg1/build": 1, - "/user/username/projects/myproject/packages/pkg1": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index ed30f2cac5912..ac85a489e9329 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -62,27 +62,6 @@ Resolving real path for '/src/packages/typeroot2/sometype/index.d.ts', result '/ ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot2/sometype/index.d.ts', primary: true. ======== exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/packages/pkg1.tsconfig.tsbuildinfo": 1, - "/src/packages/pkg2.tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/packages/typeroot1/sometype/package.json": 1, - "/src/packages/typeroot1/sometype/index.d.ts": 1, - "/src/packages/typeroot2/sometype/package.json": 1, - "/src/packages/typeroot2/sometype/index.d.ts": 1 -} - -directoryExists:: { - "/src/packages/typeroot1": 2, - "/src/packages/typeroot1/sometype": 3, - "/src/packages/typeroot2": 2, - "/src/packages/typeroot2/sometype": 3 -} - //// [/src/packages/pkg1.tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"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},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-5685633868-/// \r\nexport declare const theNum: TheNum;\r\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":20000},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index 3c925d67117da..d7744ce9bd19e 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -140,45 +140,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src-types/tsconfig.tsbuildinfo": 1, - "/src/src-dogs/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig-base.json": 2, - "/src/src-types/package.json": 1, - "/src/src-types/dogconfig.ts": 1, - "/lib/package.json": 1, - "/package.json": 1, - "/src/src-dogs/package.json": 1, - "/src/src-dogs/node_modules/src-types/package.json": 1, - "/src/src-dogs/node_modules/src-types/index.ts": 1, - "/src/src-types/index.ts": 1, - "/src/src-dogs/dogconfig.ts": 1, - "/src/src-dogs/lassie/lassiedog.ts": 1, - "/src/src-dogs/lassie/package.json": 1, - "/src/src-dogs/dog.ts": 1, - "/src/src-dogs/lassie/lassieconfig.ts": 1 -} - -directoryExists:: { - "/src/src-types": 3, - "/src/src-types/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/lib": 1, - "/": 1, - "/src/src-dogs": 5, - "/src/src-dogs/node_modules": 1, - "/src/src-dogs/node_modules/src-types": 2, - "/src/src-dogs/lassie": 5, - "/src/src-dogs/lassie/node_modules": 1, - "/src/src-dogs/node_modules/@types": 1 -} - //// [/src/src-dogs/dog.d.ts] import { DogConfig } from 'src-types'; diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index eeafe0159d337..cbb7372ffad69 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -137,31 +137,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/lib/solution/common/tsconfig.tsbuildinfo": 1, - "/src/lib/solution/sub-project/tsconfig.tsbuildinfo": 1, - "/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 3, - "/src/solution/common/nominal.ts": 1, - "/src/solution/sub-project/index.ts": 1 -} - -directoryExists:: { - "/src/solution/common/node_modules/@types": 1, - "/src/solution/node_modules/@types": 3, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/solution/common": 2, - "/src/solution/sub-project/node_modules/@types": 1, - "/src/solution/sub-project": 2, - "/src/solution/sub-project-2/node_modules/@types": 1 -} - //// [/src/lib/solution/common/nominal.d.ts] export declare type Nominal = T & { diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index 368f3e45760be..cdc50a3310aa7 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -70,22 +70,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -204,22 +188,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -249,22 +217,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -350,18 +302,4 @@ Output:: /lib/tsc --b /src/tsconfig.json --incremental exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1, - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js index 6e6f076d03f4f..be0a1797b74d2 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors.js @@ -70,25 +70,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -128,25 +109,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -182,25 +144,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -229,20 +172,4 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index 47cb11bf276fa..e0fa0ef454df0 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -64,22 +64,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":false},{"version":"2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","signature":false},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":false}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} @@ -164,22 +148,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -217,22 +185,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) /src/src/other.ts (computed .d.ts) -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -320,18 +272,4 @@ Output:: /lib/tsc --b /src/tsconfig.json --incremental exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dev-build/tsconfig.tsbuildinfo": 1, - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js index f812b7b750183..2c6df079b51ff 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors.js @@ -64,25 +64,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -114,25 +95,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -170,25 +132,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "/src/shared/types": 2, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -219,20 +162,4 @@ Output:: /lib/tsc --b /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/shared/types/db.ts": 1, - "/src/src/main.ts": 1, - "/src/src/other.ts": 1, - "/src/dev-build/shared/types/db.js": 1, - "/src/dev-build/src/main.js": 1, - "/src/dev-build/src/other.js": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 6e4c0faf786b8..d078912ecc5cb 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -571,30 +571,6 @@ Output:: /lib/tsc --b /src/third --clean exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.js.map": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/first/bin/first-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -directoryExists:: {} - //// [/src/2/second-output.d.ts] unlink //// [/src/2/second-output.d.ts.map] unlink @@ -621,28 +597,4 @@ Output:: /lib/tsc --b /src/third --clean exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.js.map": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/first/bin/first-output.d.ts.map": 1, - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.js.map": 1, - "/src/2/second-output.d.ts": 1, - "/src/2/second-output.d.ts.map": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 8cb0ae139b459..7ba75dfa369db 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -150,24 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/tsconfig.tsbuildinfo": 1, - "/src/second/tsconfig.tsbuildinfo": 1, - "/src/third/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/first_PART1.d.ts] interface TheFirst { diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 713a6acc3c25c..f7993b6a86042 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -150,31 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -645,36 +620,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -842,35 +787,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index a2c0aa73755c1..95f9612bed0b9 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -150,30 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 46451a3cf5a0b..83ee23973f79f 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -583,33 +583,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 4c649f010c968..2fe7bed97140b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -170,31 +170,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2001,34 +1976,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3371,33 +3318,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index c6b15d57cda3f..3f215922560ef 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -148,30 +148,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index eb3bbe1502685..4ee09405ba6d9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -176,31 +176,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2782,34 +2757,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -4755,33 +4702,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -6301,33 +6221,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 6ef9154342e4e..9fb9c0f1e5260 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -152,31 +152,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2381,33 +2356,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -3574,33 +3522,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 4d1f6120c8b2f..f5e0f5a0dbe5a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -172,31 +172,6 @@ src/third/third_part1.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2000,34 +1975,6 @@ src/third/third_part1.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3356,33 +3303,6 @@ src/first/first_part3.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index d14ab6caf1c91..136e918ffbcc5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -168,31 +168,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -3980,33 +3955,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -6231,33 +6179,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 2f4268b60921b..9caed7f8c79b6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -158,31 +158,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -3015,33 +2990,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -4658,33 +4606,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 2df9b38576807..6b18d2f06d821 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -175,31 +175,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2315,34 +2290,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3885,33 +3832,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -5104,33 +5024,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index e8d0a84f9117e..1f59de9a73079 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -152,31 +152,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2169,33 +2144,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -3286,33 +3234,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 57f5818f954b9..712b5d43dc763 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -174,31 +174,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] #!someshebang second second_part1 @@ -2030,34 +2005,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] #!someshebang first first_PART1 @@ -3419,33 +3366,6 @@ readFiles:: { "/src/2/second-output.d.ts.map": 1, "/src/2/second-output.d.ts": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index fae66e53d618d..ae705d1b8a651 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -151,31 +151,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] #!someshebang second second_part1 @@ -1975,33 +1950,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index ce0e102f75702..09f3abc44a799 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -170,31 +170,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2091,34 +2066,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -3521,33 +3468,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -4606,33 +4526,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index ec25961cf214e..aa56838c20cdd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -150,31 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -2003,33 +1978,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -3017,33 +2965,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index c7f2e4aeaefa4..fd1eab088349f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -178,31 +178,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 04d00ea0809d5..246e18eb0b252 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -177,31 +177,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5773,35 +5748,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.js] var s = "Hello, world"; @@ -10160,35 +10106,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 6ea702a9e5c73..7c0e57f5e787a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -176,31 +176,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -5480,33 +5455,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -7856,33 +7804,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 95827f3c91511..ba6ad23da2e39 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -177,31 +177,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] /**@internal*/ interface TheFirst { @@ -6115,35 +6090,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.js] var s = "Hello, world"; diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index eec6ee7f4e19e..98bd4799a4024 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -176,31 +176,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -5816,33 +5791,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index ca6b52e6d4c61..73e76c83a1227 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -173,31 +173,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 2bc71f3f285a8..ffc4cd3528683 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -197,31 +197,6 @@ readFiles:: { "/src/2/second-output.js.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5814,35 +5789,6 @@ readFiles:: { "/src/2/second-output.js.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] interface TheFirst { @@ -11436,35 +11382,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.js] var s = "Hola, world"; @@ -15845,35 +15762,6 @@ readFiles:: { "/src/third/thirdjs/output/third-output.d.ts": 1, "/src/third/thirdjs/output/third-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 172e81b732a17..91df5ca267f08 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -93,27 +93,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] declare const A = 1; diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 75c0fa80889db..ae0780cfb0a31 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -177,31 +177,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] interface TheFirst { @@ -5973,35 +5948,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.js] var s = "Hello, world"; @@ -10560,35 +10506,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts.map] {"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../first/first_PART1.ts","../first/first_part3.ts","../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd"} diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 3a6a16b219e98..034dda87b389e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -176,31 +176,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -5680,33 +5655,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8156,33 +8104,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index a0a7002adc9c9..bc7f2f7381da4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -196,31 +196,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -5519,34 +5494,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] interface TheFirst { @@ -8285,33 +8232,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -10683,33 +10603,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index c62d1a11bd960..0b5cb95196b87 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -188,31 +188,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] /// @@ -2354,35 +2329,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] /// @@ -3993,34 +3939,6 @@ readFiles:: { "/src/first/bin/first-output.d.ts.map": 1, "/src/2/second-output.d.ts.map": 1 } -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index e59b2f75ffa95..5f0a2d1174d46 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -155,31 +155,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] /// @@ -2098,34 +2073,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tripleRef.d.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 16cea0484fc77..65c41e10508f2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -150,31 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 44127c94b3238..38aa0facdbb0e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -150,30 +150,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -1791,36 +1767,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/third_part1.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.js.map": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.d.ts.map": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/third/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 0097389cb4738..444f99ae1d970 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -151,31 +151,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 6f4f6b121a9be..604f08ace4b3c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -148,31 +148,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 2, - "/src/first/bin/first-output.d.ts": 1, - "/src/2/second-output.js": 2, - "/src/2/second-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/second/node_modules/@types": 1, - "/src/third/node_modules/@types": 1 -} - //// [/src/2/second-output.d.ts] declare namespace N { @@ -1860,33 +1835,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/first/bin/first-output.tsbuildinfo": 1, - "/src/first/first_PART1.ts": 1, - "/src/2/second-output.tsbuildinfo": 1, - "/src/second/second_part1.ts": 1, - "/src/second/second_part2.ts": 1, - "/src/second/tsconfig.json": 1, - "/src/third/thirdjs/output/third-output.tsbuildinfo": 1, - "/src/third/third_part1.ts": 1, - "/src/third/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/first/bin/first-output.js": 1, - "/src/first/bin/first-output.d.ts": 1, - "/src/third/thirdjs/output/third-output.js": 1, - "/src/third/thirdjs/output/third-output.d.ts": 1 -} - -directoryExists:: { - "/src/first/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/first/bin/first-output.d.ts] file written with same contents //// [/src/first/bin/first-output.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index b01b948cf7724..96214f113379f 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -33,19 +33,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/index.d.ts] export declare const x = 10; @@ -110,18 +97,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig.tsbuildinfo": 1, - "/src/src/index.ts": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - @@ -133,18 +108,4 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index 75ba640f1b6af..4d93b40c6c1e6 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -33,20 +33,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.js] "use strict"; @@ -70,18 +56,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - @@ -93,19 +67,5 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index e6e2d801b9544..51c93ac4ff0dd 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -43,19 +43,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":false},{"version":"-4885977236-export type t = string;","signature":false}],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} @@ -121,19 +108,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -152,20 +126,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.d.ts] export declare const x = 10; diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js index 0192b9d0e7d2a..bf218767e26c2 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir.js @@ -43,21 +43,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -83,21 +68,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/types/type.ts": 1, - "/src/dist/index.js": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -116,20 +86,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index 524d08f002ba7..cccc442ac085d 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -33,20 +33,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.js] "use strict"; @@ -70,18 +56,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/src/index.ts": 1, - "/src/dist/index.js": 1, - "/src/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - @@ -93,19 +67,5 @@ Output:: /lib/tsc -p /src/tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 3fb03fd6b6340..f775d2f87c2b3 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -59,27 +59,6 @@ Output:: /lib/tsc --b /src/src/main /src/src/other exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/other/tsconfig.tsbuildinfo": 1, - "/src/dist/main/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 2, - "/src/src/main/b.ts": 1 -} - -directoryExists:: { - "/src/src/other/node_modules/@types": 1, - "/src/src/node_modules/@types": 2, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/src/main": 2, - "/src/src/main/node_modules/@types": 1 -} - //// [/src/dist/main/a.d.ts] export {}; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index 3a10af7509b12..b45a0a5f6dc45 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -79,28 +79,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: { - "/src/dist/tsconfig.tsbuildinfo": 2, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.base.json": 2, - "/src/src/main/b.ts": 1 -} - -directoryExists:: { - "/src/src/other/node_modules/@types": 1, - "/src/src/node_modules/@types": 2, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/src/main": 2, - "/src/src/main/node_modules/@types": 1 -} - //// [/src/dist/other.d.ts] export declare const Other = 0; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index c5782e193a95d..e835b83def62a 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -72,27 +72,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: { - "/src/dist/tsconfig.tsbuildinfo": 2, - "/src/src/main/a.ts": 1, - "/src/src/main/b.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/main/b.ts": 1 -} - -directoryExists:: { - "/src/src/other/node_modules/@types": 1, - "/src/src/node_modules/@types": 2, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/src/main": 2, - "/src/src/main/node_modules/@types": 1 -} - //// [/src/dist/other.d.ts] export declare const Other = 0; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 72d65a9d28f9c..5bb085c5c66b3 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -64,26 +64,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig.other.tsbuildinfo": 1, - "/src/dist/tsconfig.main.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/main/b.ts": 1 -} - -directoryExists:: { - "/src/src/other/node_modules/@types": 1, - "/src/src/node_modules/@types": 2, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/src/main": 2, - "/src/src/main/node_modules/@types": 1 -} - //// [/src/dist/a.d.ts] export {}; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index e6091611ae2c6..2eb743008af92 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -115,28 +115,6 @@ src/src/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 66f0e354f1156..30ff09d659f28 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -96,32 +96,6 @@ src/main/index.ts Matched by include pattern './**/*.ts' in 'src/main/tsconfig.json' exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/strings/tsconfig.tsbuildinfo": 1, - "/src/main/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 2, - "/src/strings/foo.json.ts": 1, - "/src/strings/foo.json.tsx": 1, - "/src/strings/foo.json.d.ts": 1, - "/src/strings/foo.json.js": 1, - "/src/strings/foo.json.jsx": 1, - "/src/strings/foo.json": 1 -} - -directoryExists:: { - "/src/strings/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/strings": 6, - "/src/strings/foo.json": 1, - "/src/main/node_modules/@types": 1 -} - //// [/src/main/index.d.ts] export {}; @@ -249,22 +223,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/strings/tsconfig.tsbuildinfo": 1, - "/src/strings/foo.json": 1, - "/src/strings/tsconfig.json": 1, - "/src/tsconfig.json": 2, - "/src/main/tsconfig.tsbuildinfo": 1, - "/src/main/index.ts": 1, - "/src/main/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tsconfig.json": 2 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index d547951ba9b32..956c0c703d04e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -115,28 +115,6 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeAndFiles.json' exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withIncludeAndFiles.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index e08f15c82694d..9e10f19d7daf6 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -113,28 +113,6 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeOfJson.json' exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/index.json.ts": 1, - "/src/src/index.json.tsx": 1, - "/src/src/index.json.d.ts": 1, - "/src/src/index.json.js": 1, - "/src/src/index.json.jsx": 1, - "/src/src/index.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/index.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/index.d.ts] declare const _default: string; diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 874f43fcc04a9..36910f12328de 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -115,28 +115,6 @@ src/src/index.ts Matched by include pattern 'src/**/*' in 'src/tsconfig_withIncludeOfJson.json' exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withIncludeOfJson.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/hello.json] { diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index ea91aa3b65661..a41db7201a3bd 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -122,28 +122,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/dist/tsconfig_withInclude.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/tsconfig_withInclude.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"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},"6651571919-{\n \"hello\": \"world\"\n}","-27703454282-import hello from \"./hello.json\"\n\nexport default hello.hello"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 3ffc084d3c78c..a28884523f31e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -115,28 +115,6 @@ src/src/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withFiles.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dist/src/hello.json] { @@ -234,17 +212,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/dist/tsconfig_withFiles.tsbuildinfo": 1, - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/tsconfig_withFiles.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index b12dfd4ea5ef2..fa71e51f142f4 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -108,28 +108,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig_withFiles.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/src/hello.json.ts": 1, - "/src/src/hello.json.tsx": 1, - "/src/src/hello.json.d.ts": 1, - "/src/src/hello.json.js": 1, - "/src/src/hello.json.jsx": 1, - "/src/src/hello.json": 1 -} - -directoryExists:: { - "/src/src": 6, - "/src/src/hello.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/src/index.d.ts] declare const _default: string; @@ -216,17 +194,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig_withFiles.tsbuildinfo": 1, - "/src/src/index.ts": 1, - "/src/src/hello.json": 1, - "/src/tsconfig_withFiles.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index d85e618eef7fc..9b72c6f79fb41 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -113,26 +113,6 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -420,26 +400,6 @@ Output:: /lib/tsc --b /src/tests --force exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] file written with same contents //// [/src/core/anotherModule.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index c6929e7655c74..a98feadabbe93 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -89,14 +89,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Project Result:: {"project":"/user/username/projects/core/tsconfig.json","result":0} Output:: @@ -187,24 +179,6 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: { - "/user/username/projects/core/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Project Result:: {"project":"/user/username/projects/logic/tsconfig.json","result":0} Output:: @@ -300,27 +274,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core": 4, - "/user/username/projects/logic/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Project Result:: {"project":"/user/username/projects/tests/tsconfig.json","result":0} Output:: @@ -424,35 +377,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core": 4, - "/user/username/projects/logic": 2, - "/user/username/projects/tests/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Project Result:: {} Output:: - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 860874c5c9259..bb9ae02052729 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -101,30 +101,6 @@ Output:: /lib/tsc --b /src/tests exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index c5fb5422ddff1..c5eeff1813154 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -101,30 +101,6 @@ Output:: /lib/tsc --b /src/tests exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/outDir/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 49a7da180b942..1b3b015767245 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -120,23 +120,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/anotherModule.js": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 002694d2d2426..1bb871102b277 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -400,26 +400,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - @@ -447,29 +427,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/tests/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tests/index.d.ts] declare const m = 10; @@ -551,31 +508,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: { - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] @@ -684,30 +616,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/tests/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 8bd9817c8dd2c..10b43b2ac7c86 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -138,26 +138,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/core": 4, - "/src/logic/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -373,27 +353,4 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1 -} - -directoryExists:: { - "/src/core": 4, - "/src/logic/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js index a04fa180c578e..9b45ce6533106 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-write-any-files-in-a-dry-build.js @@ -119,14 +119,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 13d9ed1033da0..aff5ba544f109 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -162,30 +162,6 @@ src/tests/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -529,34 +505,6 @@ src/tests/index.ts Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] export declare const someString: string; @@ -837,31 +785,6 @@ src/core/some_decl.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: { - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents @@ -962,24 +885,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 028ef674eee5b..78d167406d21b 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -395,24 +395,4 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index dc8461e47aac5..6c6724f106199 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -365,35 +365,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/core": 8, - "/user/username/projects/logic/node_modules/@types": 1, - "/user/username/projects/logic": 2, - "/user/username/projects/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Project should still be upto date: UpToDate non Dts change to logic:: After rebuilding logicConfig Output:: @@ -495,42 +466,11 @@ function foo() { } } -fileExists:: { - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core": 4, - "/user/username/projects/logic/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1 -} - -setModifiedTimes:: {} - non Dts change to logic:: After building next project Output:: //// [/user/username/projects/tests/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - Dts change to Logic:: After rebuilding logicConfig Output:: @@ -644,27 +584,6 @@ export declare class cNew { } -fileExists:: { - "/user/username/projects/core/index.ts": 1, - "/user/username/projects/core/anothermodule.ts": 1, - "/user/username/projects/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core": 4, - "/user/username/projects/logic/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/logic/index.ts": 1 -} - -setModifiedTimes:: {} - Dts change to Logic:: After building next project Output:: @@ -752,22 +671,3 @@ Output:: "size": 1669 } - -fileExists:: { - "/user/username/projects/logic/index.ts": 1, - "/user/username/projects/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/core": 4, - "/user/username/projects/logic": 2, - "/user/username/projects/tests/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index d5583c5fcde87..51b5078e7fb0f 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -127,30 +127,6 @@ TSFILE: /src/tests/index.d.ts TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -456,34 +432,6 @@ TSFILE: /src/tests/index.d.ts TSFILE: /src/tests/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] export declare const someString: string; @@ -743,31 +691,6 @@ TSFILE: /src/core/index.d.ts TSFILE: /src/core/tsconfig.tsbuildinfo exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: { - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents @@ -857,24 +780,4 @@ Output:: /lib/tsc --b /src/tests --listEmittedFiles exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index c5c2e8e227137..90f2050c366ad 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -126,30 +126,6 @@ Output:: /src/tests/index.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -457,34 +433,6 @@ Output:: /src/tests/index.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] export declare const someString: string; @@ -744,31 +692,6 @@ Output:: /src/core/some_decl.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: { - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents @@ -858,24 +781,4 @@ Output:: /lib/tsc --b /src/tests --listFiles exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 88c38908dc276..08a7a43b152b2 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -406,26 +406,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] file written with same contents //// [/src/core/anotherModule.d.ts.map] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index fa6d4f7a11256..2bbcbed30d910 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -133,31 +133,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tests/tsconfig.base.json": 1, - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -462,38 +437,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1, - "/src/tests/tsconfig.base.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/tests/tsconfig.base.json": 1, - "/src/core/index.ts": 1, - "/src/logic/index.ts": 1, - "/src/core/anotherModule.ts": 1 -} - -directoryExists:: { - "/src/core": 6, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index a55c106007ab6..a44f43df054c3 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -389,29 +389,6 @@ Output:: /lib/tsc --b /src/tests --clean exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: {} - //// [/src/core/anotherModule.d.ts] unlink //// [/src/core/anotherModule.d.ts.map] unlink @@ -437,27 +414,4 @@ Output:: /lib/tsc --b /src/tests --clean exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/anotherModule.js": 1, - "/src/core/anotherModule.d.ts": 1, - "/src/core/anotherModule.d.ts.map": 1, - "/src/core/index.js": 1, - "/src/core/index.d.ts": 1, - "/src/core/index.d.ts.map": 1, - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/index.js": 1, - "/src/logic/index.js.map": 1, - "/src/logic/index.d.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/index.js": 1, - "/src/tests/index.d.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index 5ebebf4b350e3..dcc7d6bd7a430 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -131,18 +131,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":false},{"version":"-9253692965-declare const dts: any;\r\n","signature":false,"affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index 59d9791d0cce0..d50379e23a239 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -131,20 +131,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"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; };","signature":false,"affectsGlobalScope":true},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":false},{"version":"-9253692965-declare const dts: any;\r\n","signature":false,"affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index d852211b1671d..35a4bf2931b43 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -142,30 +142,6 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -767,34 +743,6 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] export declare const someString: string; @@ -1213,31 +1161,6 @@ readFiles:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: { - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/index.d.ts] file written with same contents //// [/src/core/index.d.ts.map] file written with same contents @@ -1346,26 +1269,6 @@ readFiles:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - @@ -1420,36 +1323,6 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/decls/index.d.ts": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/logic/decls/index.d.ts] export declare function getSecondsInDay(): number; @@ -1642,24 +1515,4 @@ readFiles:: { "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 34b5a1368ef7c..6e05c7b5b3f3e 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -118,20 +118,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/anotherModule.js] "use strict"; @@ -224,24 +210,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 5841cb2c44552..c977ca3cbefd5 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -131,30 +131,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; @@ -472,36 +448,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1, - "/src/logic/tsconfig.tsbuildinfo": 1, - "/src/logic/index.ts": 1, - "/src/logic/tsconfig.json": 1, - "/src/tests/tsconfig.tsbuildinfo": 1, - "/src/tests/index.ts": 1, - "/src/tests/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/logic/index.ts": 1, - "/src/core/anotherModule.ts": 1 -} - -directoryExists:: { - "/src/core": 6, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index df496b436cca2..b8704d77f5a7c 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -143,30 +143,6 @@ readFiles:: { "/src/tests/index.ts": 1, "/src/logic/index.d.ts": 1 } -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/logic/ownFile.tsbuildinfo": 1, - "/src/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/core/index.ts": 1, - "/src/core/anotherModule.ts": 1, - "/src/logic/index.ts": 1 -} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src/core": 8, - "/src/logic/node_modules/@types": 1, - "/src/logic": 2, - "/src/tests/node_modules/@types": 1 -} - //// [/src/core/anotherModule.d.ts] export declare const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 4003591cc8460..90b3efaf14a3a 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -118,20 +118,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/anotherModule.js] "use strict"; @@ -224,24 +210,6 @@ Output:: exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/core/anotherModule.js] define(["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 1c42ee0ec37c6..a9bfe49851572 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -136,21 +136,6 @@ TSFILE: /src/core/tsconfig.tsbuildinfo /src/core/some_decl.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1, - "/node_modules": 2 -} - //// [/src/core/anotherModule.js] export const World = "hello"; @@ -251,25 +236,6 @@ TSFILE: /src/core/tsconfig.tsbuildinfo /src/core/some_decl.d.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, - "/src/core/index.ts": 1, - "/src/core/some_decl.d.ts": 1, - "/src/core/tsconfig.json": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/core/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1, - "/node_modules": 2 -} - //// [/src/core/anotherModule.js] "use strict"; diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 481f90afbe98e..e337adfa9b5a4 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -69,30 +69,6 @@ Output:: /src/c.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.a.tsbuildinfo": 1, - "/src/tsconfig.b.tsbuildinfo": 1, - "/src/c.ts": 1, - "/src/c.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/refs/a.ts": 1, - "/src/refs/a.tsx": 1, - "/src/refs/a.d.ts": 1 -} - -directoryExists:: { - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src": 3, - "/src/refs": 3 -} - //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index a47506d572e77..f3bd1aec5d3e0 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -81,30 +81,6 @@ Output:: /src/c.ts exitCode:: ExitStatus.Success -getModifiedTime:: { - "/src/tsconfig.a.tsbuildinfo": 1, - "/src/tsconfig.b.tsbuildinfo": 1, - "/src/c.ts": 1, - "/src/c.js": 1 -} - -setModifiedTime:: {} - -fileExists:: { - "/src/a.ts": 1, - "/src/b.ts": 1, - "/src/refs/a.ts": 1, - "/src/refs/a.tsx": 1, - "/src/refs/a.d.ts": 1 -} - -directoryExists:: { - "/src/node_modules/@types": 3, - "/node_modules/@types": 3, - "/src": 5, - "/src/refs": 3 -} - //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 51d1fea045d41..e0d581a0b1261 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -71,22 +71,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: { - "/src/tsconfig.a.tsbuildinfo": 1, - "/src/tsconfig.b.tsbuildinfo": 1 -} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 2, - "/node_modules/@types": 2, - "/src/node_modules": 2, - "/node_modules": 2 -} - //// [/src/a.d.ts] export declare class A { diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index c82ca40a8c507..e2973f74c4d97 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -30,14 +30,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b -w Output:: >> Screen clear @@ -117,22 +109,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: reports syntax errors after change to config file Input:: @@ -149,14 +125,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -197,20 +165,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: reports syntax errors after change to ts file Input:: @@ -218,14 +172,6 @@ Input:: export function fooBar() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -266,33 +212,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: reports error when there is no change to tsconfig file Input:: //// [/user/username/projects/myproject/tsconfig.json] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -333,20 +257,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: builds after fixing config file errors Input:: @@ -354,14 +264,6 @@ Input:: {"compilerOptions":{"composite":true,"declaration":true},"files":["a.ts","b.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -469,17 +371,3 @@ exports.bar = bar; export declare function bar(): void; - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index 3a8edfc00051b..dc8d91cda8d1f 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -143,14 +143,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -427,38 +419,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 3, - "/user/username/projects/demo/animals.ts": 1, - "/user/username/projects/demo/animals.tsx": 1, - "/user/username/projects/demo/animals.d.ts": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/core/utilities.ts": 1 -} - -directoryExists:: { - "/user/username/projects/demo": 3, - "/user/username/projects/demo/animals": 11, - "/user/username/projects/demo/core": 2, - "/user/username/projects/demo/core/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/demo/lib/core": 1, - "/user/username/projects/demo/lib": 1 -} - -getModifiedTimes:: { - "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Prepend a line Input:: @@ -478,14 +438,6 @@ export function lastElementOf(arr: T[]): T | undefined { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -738,30 +690,3 @@ exitCode:: ExitStatus.undefined "size": 2829 } - -fileExists:: { - "/user/username/projects/demo/animals.ts": 1, - "/user/username/projects/demo/animals.tsx": 1, - "/user/username/projects/demo/animals.d.ts": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/core/utilities.ts": 1 -} - -directoryExists:: { - "/user/username/projects/demo": 2, - "/user/username/projects/demo/animals": 11, - "/user/username/projects/demo/core": 2, - "/user/username/projects/demo/core/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index ff60b8c9443ab..25fb17e3fadba 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -147,14 +147,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -210,16 +202,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 3 -} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix error Input:: @@ -233,14 +215,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -685,38 +659,3 @@ export declare function createZoo(): Array; "size": 1805 } - -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1 -} - -directoryExists:: { - "/user/username/projects/demo/core/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/demo/lib/core": 1, - "/user/username/projects/demo/lib": 2, - "/user/username/projects/demo": 1, - "/user/username/projects/demo/animals": 10, - "/user/username/projects/demo/core": 2, - "/user/username/projects/demo/animals/node_modules/@types": 1, - "/user/username/projects/demo/lib/animals": 1, - "/user/username/projects/demo/zoo/node_modules/@types": 1, - "/user/username/projects/demo/lib/zoo": 1 -} - -getModifiedTimes:: { - "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 862b2be5d1ddb..6db2259c92ff2 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -39,14 +39,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b packages/pkg1 --verbose -w --traceResolution Output:: >> Screen clear @@ -279,59 +271,6 @@ exports.theNum = 42; -fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.js.ts": 1, - "/user/username/projects/myproject/packages/pkg2/const.js.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/const.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg2": 4, - "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/pkg1/build": 1, - "/user/username/projects/myproject/packages/pkg1": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} - -setModifiedTimes:: {} - Change:: reports import errors after change to package file Input:: @@ -339,14 +278,6 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/other.js"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -432,42 +363,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/other.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1 -} - -setModifiedTimes:: {} - Change:: removes those errors when a package file is changed back Input:: @@ -475,14 +370,6 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/index.js"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -578,44 +465,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 0d01719e69c42..9c745b3f03092 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -36,14 +36,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b packages/pkg1 -w --verbose --traceResolution Output:: >> Screen clear @@ -266,55 +258,6 @@ export const theNum = 42; -fileExists:: { - "/user/username/projects/myproject/packages/pkg2/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1, - "/user/username/projects/myproject/packages/pkg1/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg2": 4, - "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/a/lib": 1, - "/a": 1, - "/": 1, - "/user/username/projects/myproject/packages/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1": 2, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/pkg1/build": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/pkg1/index.ts": 1, - "/user/username/projects/myproject/packages/pkg1/build/index.js": 1 -} - -setModifiedTimes:: {} - Change:: reports import errors after change to package file Input:: @@ -322,14 +265,6 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"commonjs"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -439,60 +374,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/packages/pkg1/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg2": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/lib": 1, - "/a": 1, - "/": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, - "/user/username/projects/myproject/packages/pkg2/package.json": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1 -} - -setModifiedTimes:: {} - Change:: removes those errors when a package file is changed back Input:: @@ -500,14 +381,6 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"module"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... @@ -607,48 +480,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents -fileExists:: { - "/user/username/projects/myproject/packages/pkg1/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg2": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/lib": 1, - "/a": 1, - "/": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: reports import errors after change to package file Input:: @@ -656,14 +487,6 @@ Input:: {"name":"pkg1","version":"1.0.0","main":"build/index.js","type":"commonjs"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -773,54 +596,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/packages/pkg1/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/package.json": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.cts": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg2": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/lib": 1, - "/a": 1, - "/": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: removes those errors when a package file is changed to cjs extensions Input:: @@ -832,14 +607,6 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/index.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:42 AM] File change detected. Starting incremental compilation... @@ -979,34 +746,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); export type { TheNum } from './const.cjs'; - -fileExists:: { - "/user/username/projects/myproject/packages/pkg2/const.cjs.ts": 1, - "/user/username/projects/myproject/packages/pkg2/const.cjs.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/const.cjs.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg2": 3, - "/user/username/projects/myproject/packages/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/lib": 1, - "/a": 1, - "/": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/pkg2/const.cts": 1, - "/user/username/projects/myproject/packages/pkg2/index.cts": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index a4f48f9ef63a5..5b8b49f5cc12a 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -40,14 +40,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b -w -v Output:: >> Screen clear @@ -278,45 +270,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, - "/user/username/projects/myproject/project1/node_modules/file.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, - "/user/username/projects/myproject/project1/node_modules/file.d.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.tsx": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1, - "/user/username/projects/myproject/project2/file.ts": 1, - "/user/username/projects/myproject/project2/file.tsx": 1, - "/user/username/projects/myproject/project2/file.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/project1/node_modules": 2, - "/user/username/projects/myproject/project1/node_modules/file": 3, - "/user/username/projects/myproject/project1/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 6, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/myproject/node_modules/@types/foo": 5, - "/user/username/projects/myproject/node_modules/@types/bar": 3, - "/user/username/projects/myproject/project2": 1, - "/user/username/projects/myproject/project2/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/project1/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/project2/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Append text Input:: @@ -324,14 +277,6 @@ Input:: import { foo } from "file";const bar = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -454,34 +399,3 @@ var bar = 10; "size": 1008 } - -fileExists:: { - "/user/username/projects/myproject/project1/node_modules/file/package.json": 1, - "/user/username/projects/myproject/project1/node_modules/file.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file.tsx": 1, - "/user/username/projects/myproject/project1/node_modules/file.d.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.ts": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.tsx": 1, - "/user/username/projects/myproject/project1/node_modules/file/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/foo/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/bar/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/project1/node_modules": 2, - "/user/username/projects/myproject/project1/node_modules/file": 3, - "/user/username/projects/myproject/project1/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 4, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types/foo": 3, - "/user/username/projects/myproject/node_modules/@types/bar": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index d4755936c5a60..a24bfc42c8f37 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -24,14 +24,6 @@ declare const console: { log(msg: any): void; }; {"compilerOptions":{"allowJs":true,"noEmit":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose --incremental Output:: >> Screen clear @@ -134,35 +126,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -204,20 +172,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change Input:: @@ -225,14 +179,6 @@ Input:: const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:45 AM] File change detected. Starting incremental compilation... @@ -330,17 +276,3 @@ exitCode:: ExitStatus.undefined "size": 862 } - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 763a226614b85..d6f1d1c17961d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -24,14 +24,6 @@ declare const console: { log(msg: any): void; }; {"compilerOptions":{"allowJs":true,"noEmit":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -83,36 +75,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/a.js": 2, - "/user/username/projects/myproject/b.ts": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -154,20 +121,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change Input:: @@ -175,14 +128,6 @@ Input:: const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -228,17 +173,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 4d154684eab1b..4c44b07abd9d7 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose --incremental Output:: >> Screen clear @@ -153,40 +145,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -236,23 +199,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -263,14 +209,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -399,27 +337,6 @@ console.log("hi"); -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -428,14 +345,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -562,38 +471,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... @@ -643,23 +525,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -668,14 +533,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -785,36 +642,11 @@ var a = "hello"; -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:00 AM] File change detected. Starting incremental compilation... @@ -861,22 +693,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index 6c20c80534173..0a6e5b407f1e0 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose Output:: >> Screen clear @@ -100,41 +92,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1, - "/user/username/projects/noemitonerror/src/main.ts": 1, - "/user/username/projects/noemitonerror/src/other.ts": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -184,23 +146,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -211,14 +156,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -290,28 +227,6 @@ console.log("hi"); -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -320,14 +235,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -379,36 +286,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -458,23 +340,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -483,14 +348,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -547,39 +404,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 -} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... @@ -628,24 +457,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file changed its modified time //// [/user/username/projects/noEmitOnError/dev-build/src/other.js] file changed its modified time - -fileExists:: { - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/noemitonerror/dev-build/shared/types/db.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/main.js": 1, - "/user/username/projects/noemitonerror/dev-build/src/other.js": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index ecf3a62158ae0..db59facdad6be 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -477,30 +469,3 @@ export declare const m: typeof mod; "size": 1639 } - -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index f326970ae4ab6..da1f14fb05b52 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests -verbose Output:: >> Screen clear @@ -495,33 +487,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make non dts change Input:: @@ -536,14 +501,6 @@ export const m = mod; function someFn() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... @@ -690,27 +647,6 @@ function someFn() { } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - Change:: Make dts change Input:: @@ -725,14 +661,6 @@ export const m = mod; export function someFn() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:03 AM] File change detected. Starting incremental compilation... @@ -986,25 +914,3 @@ export declare function someFn(): void; "size": 1680 } - -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 1acd149dfb5e2..7f78cc98accce 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -25,14 +25,6 @@ export class myClass { } {"compilerOptions":{"composite":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -156,23 +148,6 @@ export declare class myClass { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Introduce error Input:: @@ -183,14 +158,6 @@ export var myClassWithError = class { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -235,21 +202,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change fileWithoutError Input:: @@ -257,14 +209,6 @@ Input:: export class myClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -308,18 +252,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 563e171d7e6d6..75219c9eca839 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -25,14 +25,6 @@ export class myClass { } {"compilerOptions":{"composite":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -156,23 +148,6 @@ export declare class myClass { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Introduce error Input:: @@ -183,14 +158,6 @@ export var myClassWithError = class { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -235,21 +202,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix error in fileWithError Input:: @@ -260,14 +212,6 @@ export var myClassWithError = class { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -310,18 +254,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/solution/app/fileWithError.d.ts] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index b60f9f2cbf15a..e1700804c77fc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -25,14 +25,6 @@ export class myClass { } {"compilerOptions":{"composite":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -82,23 +74,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Change fileWithoutError Input:: @@ -106,14 +81,6 @@ Input:: export class myClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... @@ -157,18 +124,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index c9f4d6df49238..83be14415cabb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -25,14 +25,6 @@ export class myClass { } {"compilerOptions":{"composite":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w app Output:: >> Screen clear @@ -82,23 +74,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/solution/app/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Fix error in fileWithError Input:: @@ -109,14 +84,6 @@ export var myClassWithError = class { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... @@ -234,18 +201,3 @@ export declare class myClass { "size": 1006 } - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/solution/app/node_modules/@types": 1, - "/user/username/projects/solution/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 1028db79d4e35..8b2652c16e1d4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -478,33 +470,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: change logic Input:: @@ -519,14 +484,6 @@ export const m = mod; let y: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -669,25 +626,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change core Input:: @@ -699,14 +637,6 @@ export function multiply(a: number, b: number) { return a * b; } let x: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:42 AM] File change detected. Starting incremental compilation... @@ -828,20 +758,3 @@ exitCode:: ExitStatus.undefined "size": 1472 } - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index d9337695725f0..7ff066b7343cb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests --preserveWatchOutput Output:: [12:00:45 AM] Starting compilation in watch mode... @@ -477,33 +469,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: change logic Input:: @@ -518,14 +483,6 @@ export const m = mod; let y: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:30 AM] File change detected. Starting incremental compilation... @@ -667,25 +624,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change core Input:: @@ -697,14 +635,6 @@ export function multiply(a: number, b: number) { return a * b; } let x: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:42 AM] File change detected. Starting incremental compilation... @@ -825,20 +755,3 @@ exitCode:: ExitStatus.undefined "size": 1472 } - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 35fd48b343f6c..d42279b54a44a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -26,14 +26,6 @@ export const World = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/core -verbose Output:: >> Screen clear @@ -156,37 +148,10 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/sample1/core/outdir": 1, - "/user/username/projects/sample1/core": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/outdir/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -206,14 +171,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -221,14 +178,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:51 AM] File change detected. Starting incremental compilation... @@ -335,36 +284,10 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/file3.ts": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -385,11 +308,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 2df7ac0fac58b..ddae2eb4540c0 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -33,14 +33,6 @@ export const World = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/core -verbose Output:: >> Screen clear @@ -171,35 +163,10 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -219,14 +186,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -234,14 +193,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -353,36 +304,10 @@ export declare const y = 10; //# sourceMappingURL=file3.d.ts.map -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/file3.ts": 1 -} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -403,11 +328,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 45a9f414d9bb8..7b242be87a20e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -350,26 +342,3 @@ export declare const m: typeof mod; "size": 1494 } - -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index f14116c6a16a2..c618e84853e96 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -68,14 +68,6 @@ export const m = mod; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -207,23 +199,6 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Write logic tsconfig and build logic Input:: @@ -243,14 +218,6 @@ Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -396,39 +363,10 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:22 AM] Found 0 errors. Watching for file changes. @@ -583,24 +521,3 @@ export declare const m: typeof mod; "size": 1639 } - -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index ee941e091f097..28458ae3e5703 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -37,14 +37,6 @@ createSomeObject().message; {"references":[{"path":"../Library"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w App Output:: >> Screen clear @@ -171,29 +163,6 @@ var library_1 = require("../Library/library"); -fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/library/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/library": 2, - "/user/username/projects/sample1/app/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/library/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/app/app.ts": 1, - "/user/username/projects/sample1/app/app.js": 1 -} - -setModifiedTimes:: {} - Change:: Introduce error Input:: @@ -212,14 +181,6 @@ export function createSomeObject(): SomeObject } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -344,25 +305,6 @@ export {}; } -fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/library/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/library": 2, - "/user/username/projects/sample1/app/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix error Input:: @@ -381,14 +323,6 @@ export function createSomeObject(): SomeObject } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -503,22 +437,3 @@ export {}; } //// [/user/username/projects/sample1/App/app.js] file written with same contents - -fileExists:: { - "/user/username/projects/sample1/library/library.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/library/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/library": 2, - "/user/username/projects/sample1/app/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index b9e0337941631..3a887f7a3fc76 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -25,14 +25,6 @@ function foo() { return 10; } function bar() { return foo() + 1 }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/logic Output:: >> Screen clear @@ -262,30 +254,6 @@ declare function bar(): number; ====================================================================== -fileExists:: { - "/user/username/projects/sample1/core/index.js": 2, - "/user/username/projects/sample1/core/index.d.ts": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/sample1/logic/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/index.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make non local change and build core Input:: @@ -294,14 +262,6 @@ function foo() { return 10; } function myFunc() { return 10; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -411,36 +371,10 @@ declare function myFunc(): number; ====================================================================== -fileExists:: { - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:33 AM] Found 0 errors. Watching for file changes. @@ -592,25 +526,6 @@ declare function bar(): number; ====================================================================== -fileExists:: { - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make local change and build core Input:: @@ -619,14 +534,6 @@ function foo() { return 10; } function myFunc() { return 100; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... @@ -732,36 +639,10 @@ declare function myFunc(): number; ====================================================================== -fileExists:: { - "/user/username/projects/sample1/core/index.js": 1, - "/user/username/projects/sample1/core/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:02:07 AM] Found 0 errors. Watching for file changes. @@ -894,14 +775,3 @@ declare function bar(): number; ====================================================================== - -fileExists:: { - "/user/username/projects/sample1/logic/index.js": 1, - "/user/username/projects/sample1/logic/index.d.ts": 1 -} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 7349d12e71657..d5635d27f366b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -76,14 +76,6 @@ export const m = mod; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -444,31 +436,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Change to new File and build core Input:: @@ -476,14 +443,6 @@ Input:: export const newFileConst = 30; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -594,37 +553,10 @@ export declare const newFileConst = 30; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -670,39 +602,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:34 AM] Found 0 errors. Watching for file changes. @@ -752,27 +655,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - Change:: Change to new File and build core Input:: @@ -781,14 +663,6 @@ export const newFileConst = 30; export class someClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -907,33 +781,10 @@ export declare class someClass2 { -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -979,39 +830,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:55 AM] Found 0 errors. Watching for file changes. @@ -1060,24 +882,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 6e4899f7ee7e6..a5ec3b21b19fd 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -76,14 +76,6 @@ export const m = mod; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -444,31 +436,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make change to core Input:: @@ -480,14 +447,6 @@ export function multiply(a: number, b: number) { return a * b; } export class someClass { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -603,35 +562,10 @@ export declare class someClass { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -750,37 +684,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:02:04 AM] Found 0 errors. Watching for file changes. @@ -915,25 +822,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert core file Input:: @@ -944,14 +832,6 @@ export function multiply(a: number, b: number) { return a * b; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:08 AM] File change detected. Starting incremental compilation... @@ -1059,33 +939,10 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1204,37 +1061,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:02:52 AM] Found 0 errors. Watching for file changes. @@ -1369,25 +1199,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make two changes Input:: @@ -1400,14 +1211,6 @@ export class someClass { } export class someClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:59 AM] File change detected. Starting incremental compilation... @@ -1531,33 +1334,10 @@ export declare class someClass2 { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1676,37 +1456,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:03:43 AM] Found 0 errors. Watching for file changes. @@ -1840,22 +1593,3 @@ exitCode:: ExitStatus.undefined "size": 1636 } - -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index b27bd6f89f3bb..91e0a7a69bb2e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -76,14 +76,6 @@ export const m = mod; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -444,31 +436,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make local change to core Input:: @@ -480,14 +447,6 @@ export function multiply(a: number, b: number) { return a * b; } function foo() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -591,35 +550,10 @@ function foo() { } } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -650,28 +584,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:36 AM] Found 0 errors. Watching for file changes. @@ -704,13 +620,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index dddcb7b6f6faa..cabaf8d3437a6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -478,33 +470,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Change to new File and build core Input:: @@ -512,14 +477,6 @@ Input:: export const newFileConst = 30; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -635,37 +592,10 @@ export declare const newFileConst = 30; //# sourceMappingURL=newfile.d.ts.map -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/newfile.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -711,39 +641,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:46 AM] Found 0 errors. Watching for file changes. @@ -793,27 +694,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - Change:: Change to new File and build core Input:: @@ -822,14 +702,6 @@ export const newFileConst = 30; export class someClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:50 AM] File change detected. Starting incremental compilation... @@ -953,33 +825,10 @@ export declare class someClass2 { //# sourceMappingURL=newfile.d.ts.map -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1025,39 +874,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:02:10 AM] Found 0 errors. Watching for file changes. @@ -1106,24 +926,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index fe093740f77dd..5ad81c4d1e4bc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -478,33 +470,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make change to core Input:: @@ -516,14 +481,6 @@ export function multiply(a: number, b: number) { return a * b; } export class someClass { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -644,35 +601,10 @@ export declare class someClass { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -791,37 +723,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:02:17 AM] Found 0 errors. Watching for file changes. @@ -956,25 +861,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert core file Input:: @@ -985,14 +871,6 @@ export function multiply(a: number, b: number) { return a * b; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:21 AM] File change detected. Starting incremental compilation... @@ -1105,33 +983,10 @@ export declare function multiply(a: number, b: number): number; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1250,37 +1105,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:03:08 AM] Found 0 errors. Watching for file changes. @@ -1415,25 +1243,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make two changes Input:: @@ -1446,14 +1255,6 @@ export class someClass { } export class someClass2 { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:03:15 AM] File change detected. Starting incremental compilation... @@ -1582,33 +1383,10 @@ export declare class someClass2 { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -1727,37 +1505,10 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:04:02 AM] Found 0 errors. Watching for file changes. @@ -1891,22 +1642,3 @@ exitCode:: ExitStatus.undefined "size": 1714 } - -fileExists:: { - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 9582daa8afcd0..5c4ea70e51a87 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -102,14 +102,6 @@ export function run() { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w sample1/tests Output:: >> Screen clear @@ -478,33 +470,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Make local change to core Input:: @@ -516,14 +481,6 @@ export function multiply(a: number, b: number) { return a * b; } function foo() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -630,35 +587,10 @@ function foo() { } } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -setModifiedTimes:: {} - Change:: Build logic or update time stamps Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -689,28 +621,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - Change:: Build Tests Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:49 AM] Found 0 errors. Watching for file changes. @@ -743,13 +657,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index fb64441c78369..953e6d78bc91b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -37,14 +37,6 @@ let y = 1 let z = 0; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -v Output:: >> Screen clear @@ -235,24 +227,6 @@ declare let z: number; } -fileExists:: { - "/a/b/alpha.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 2, - "/a/node_modules/@types": 2, - "/node_modules/@types": 2 -} - -getModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/project2.tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Remove project2 from base config Input:: @@ -260,14 +234,6 @@ Input:: {"references":[{"path":"./project1.tsconfig.json"}],"files":[]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -294,11 +260,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index f75b9c03b0102..21576556184de 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w Output:: >> Screen clear @@ -71,23 +63,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/index.ts": 1, - "/user/username/projects/myproject/index.js": 1 -} - -setModifiedTimes:: {} - Change:: Change tsconfig to set noUnusedParameters to false Input:: @@ -95,14 +70,6 @@ Input:: {"compilerOptions":{"noUnusedParameters":false}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -142,17 +109,3 @@ exitCode:: ExitStatus.undefined var fn = function (a, b) { return b; }; - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 52b3779160e9f..29769725dbd86 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -34,14 +34,6 @@ let y = 1 let z = 0; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -v project1.tsconfig.json project2.tsconfig.json Output:: >> Screen clear @@ -224,24 +216,6 @@ declare let z: number; } -fileExists:: { - "/a/b/alpha.tsconfig.json": 2, - "/a/b/bravo.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 2, - "/a/node_modules/@types": 2, - "/node_modules/@types": 2 -} - -getModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1, - "/a/b/project2.tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: Modify alpha config Input:: @@ -249,14 +223,6 @@ Input:: {"compilerOptions":{"strict":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -308,39 +274,10 @@ exitCode:: ExitStatus.undefined //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/a/b/alpha.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/b/project1.tsconfig.json": 1 -} - -setModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1 -} - Change:: Build project 2 Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:04 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' @@ -389,24 +326,6 @@ exitCode:: ExitStatus.undefined //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/b/other.ts": 1, - "/a/b/project2.tsconfig.json": 1, - "/a/b/bravo.tsconfig.json": 1 -} - -setModifiedTimes:: { - "/a/b/project2.tsconfig.tsbuildinfo": 1 -} - Change:: change bravo config Input:: @@ -414,14 +333,6 @@ Input:: {"extends":"./alpha.tsconfig.json","compilerOptions":{"strict":false}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -473,23 +384,6 @@ exitCode:: ExitStatus.undefined //// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/a/b/bravo.tsconfig.json": 1, - "/a/b/alpha.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/a/b/project2.tsconfig.tsbuildinfo": 1 -} - Change:: project 2 extends alpha Input:: @@ -497,14 +391,6 @@ Input:: {"extends":"./alpha.tsconfig.json"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... @@ -575,24 +461,6 @@ var z = 0; -fileExists:: { - "/a/b/alpha.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1 -} - -setModifiedTimes:: {} - Change:: update aplha config Input:: @@ -600,14 +468,6 @@ Input:: {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -659,34 +519,10 @@ exitCode:: ExitStatus.undefined //// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time -fileExists:: { - "/a/b/alpha.tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/a/b/project1.tsconfig.tsbuildinfo": 1 -} - Change:: Build project 2 Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:01:43 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' @@ -740,19 +576,3 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file changed its modified time //// [/a/b/commonFile2.js] file changed its modified time //// [/a/b/other.js] file changed its modified time - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/a/b/commonfile1.js": 1, - "/a/b/commonfile2.js": 1, - "/a/b/other.js": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 98399917f7bba..4bccfb63840eb 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -36,14 +36,6 @@ export enum e2 { } export function f22() { } // trailing -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b --w Output:: [12:00:31 AM] Projects in this build: @@ -266,25 +258,6 @@ export declare function f22(): void; } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/shared/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/webpack/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/shared/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - Change:: change to shared Input:: @@ -296,14 +269,6 @@ export enum e { } export function f2() { } // trailing -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -442,21 +407,3 @@ export declare function f2(): void; } //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] file changed its modified time - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/shared/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/webpack/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 40c61e4787d0d..d8996a46883b2 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -64,14 +64,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -b -w -verbose src Output:: >> Screen clear @@ -261,40 +253,6 @@ exports.session = { -fileExists:: { - "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/src/pure.ts": 1, - "/user/username/projects/reexport/src/pure.tsx": 1, - "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1, - "/user/username/projects/reexport/src/pure/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/reexport/src/pure": 6, - "/user/username/projects/reexport/src/pure/node_modules/@types": 1, - "/user/username/projects/reexport/src/node_modules/@types": 2, - "/user/username/projects/reexport/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/reexport/out/pure": 1, - "/user/username/projects/reexport/out": 2, - "/user/username/projects/reexport": 1, - "/user/username/projects/reexport/src": 2, - "/user/username/projects/reexport/src/main/node_modules/@types": 1, - "/user/username/projects/reexport/out/main": 1 -} - -getModifiedTimes:: { - "/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo": 1, - "/user/username/projects/reexport/src/main/index.ts": 1, - "/user/username/projects/reexport/out/main/index.js": 1 -} - -setModifiedTimes:: {} - Change:: Introduce error Input:: @@ -306,14 +264,6 @@ export interface Session { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -469,34 +419,6 @@ export interface Session { } -fileExists:: { - "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/src/pure.ts": 1, - "/user/username/projects/reexport/src/pure.tsx": 1, - "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1, - "/user/username/projects/reexport/src/pure/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/reexport/src/pure": 6, - "/user/username/projects/reexport/src/pure/node_modules/@types": 1, - "/user/username/projects/reexport/src/node_modules/@types": 2, - "/user/username/projects/reexport/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/reexport/src": 2, - "/user/username/projects/reexport/src/main/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/reexport/src/pure/index.ts": 1 -} - -setModifiedTimes:: {} - Change:: Fix error Input:: @@ -508,14 +430,6 @@ export interface Session { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -662,31 +576,3 @@ export interface Session { } //// [/user/username/projects/reexport/out/main/index.js] file changed its modified time - -fileExists:: { - "/user/username/projects/reexport/src/pure/session.ts": 1, - "/user/username/projects/reexport/src/pure.ts": 1, - "/user/username/projects/reexport/src/pure.tsx": 1, - "/user/username/projects/reexport/src/pure.d.ts": 1, - "/user/username/projects/reexport/src/pure/package.json": 1, - "/user/username/projects/reexport/src/pure/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/reexport/src/pure": 6, - "/user/username/projects/reexport/src/pure/node_modules/@types": 1, - "/user/username/projects/reexport/src/node_modules/@types": 2, - "/user/username/projects/reexport/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/reexport/src": 2, - "/user/username/projects/reexport/src/main/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/reexport/out/main/index.js": 1 -} diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 2254ee5f078e4..9810bc00368c0 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -43,14 +43,6 @@ export const pkg3 = 3; {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"},{"path":"./pkg3"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -220,34 +212,6 @@ exports.pkg3 = 3; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 4, - "/user/username/projects/node_modules/@types": 4, - "/user/username/node_modules/@types": 4, - "/user/node_modules/@types": 4, - "/node_modules/@types": 4, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -255,14 +219,6 @@ Input:: export const typing = 10;export const typing1 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -392,29 +348,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 4, - "/user/username/projects/node_modules/@types": 4, - "/user/username/node_modules/@types": 4, - "/user/node_modules/@types": 4, - "/node_modules/@types": 4, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} - Change:: change pkg references Input:: @@ -422,14 +355,6 @@ Input:: {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -469,14 +394,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -484,14 +401,6 @@ Input:: export const typing = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -594,27 +503,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} - Change:: change pkg references to remove all watches Input:: @@ -622,14 +510,6 @@ Input:: {"files":[],"include":[],"references":[]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -654,14 +534,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -669,14 +541,6 @@ Input:: export const typing = 10;export const typing1 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -689,11 +553,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index 2254ee5f078e4..9810bc00368c0 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -43,14 +43,6 @@ export const pkg3 = 3; {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"},{"path":"./pkg3"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --b --w Output:: >> Screen clear @@ -220,34 +212,6 @@ exports.pkg3 = 3; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 4, - "/user/username/projects/node_modules/@types": 4, - "/user/username/node_modules/@types": 4, - "/user/node_modules/@types": 4, - "/node_modules/@types": 4, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.ts": 1, - "/user/username/projects/myproject/typings/xterm.d.ts": 1, - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.ts": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.ts": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.ts": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -255,14 +219,6 @@ Input:: export const typing = 10;export const typing1 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -392,29 +348,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg3/index.js] file changed its modified time -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 4, - "/user/username/projects/node_modules/@types": 4, - "/user/username/node_modules/@types": 4, - "/user/node_modules/@types": 4, - "/node_modules/@types": 4, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1, - "/user/username/projects/myproject/pkg3/index.js": 1 -} - Change:: change pkg references Input:: @@ -422,14 +355,6 @@ Input:: {"files":[],"include":[],"references":[{"path":"./pkg0"},{"path":"./pkg1"},{"path":"./pkg2"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -469,14 +394,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -484,14 +401,6 @@ Input:: export const typing = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -594,27 +503,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/pkg1/index.js] file changed its modified time //// [/user/username/projects/myproject/pkg2/index.js] file changed its modified time -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/pkg0/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/myproject/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/pkg2/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: { - "/user/username/projects/myproject/pkg0/index.js": 1, - "/user/username/projects/myproject/pkg1/index.js": 1, - "/user/username/projects/myproject/pkg2/index.js": 1 -} - Change:: change pkg references to remove all watches Input:: @@ -622,14 +510,6 @@ Input:: {"files":[],"include":[],"references":[]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -654,14 +534,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: modify typing file Input:: @@ -669,14 +541,6 @@ Input:: export const typing = 10;export const typing1 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -689,11 +553,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js index bf534d43cd130..a0c00c62dc5ff 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-and-tsbuildinfo-as-null-on-command-line-but-has-tsbuild-info-in-config.js @@ -36,21 +36,6 @@ Output:: /lib/tsc --composite false --p src/project --tsBuildInfoFile null exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js index 538b0a3b288ff..aba5e2214654e 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js @@ -44,21 +44,6 @@ Found 1 error in src/project/tsconfig.json:6 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js index fe9444829df8a..cab79a8011fa5 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-false-on-command-line.js @@ -35,21 +35,6 @@ Output:: /lib/tsc --composite false --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js index 12bce04863735..917419c89e0d5 100644 --- a/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js +++ b/tests/baselines/reference/tsc/composite/when-setting-composite-null-on-command-line.js @@ -35,21 +35,6 @@ Output:: /lib/tsc --composite null --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.js] "use strict"; diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js index 5f20243eba5c5..7aa8c10c67d86 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p pkg3 --explainFiles Output:: pkg3/src/keys.ts:2:14 - error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '../../pkg2/node_modules/@raymondfeng/pkg1/dist'. This is likely not portable. A type annotation is necessary. @@ -142,55 +134,3 @@ __exportStar(require("./keys"), exports); export * from './keys'; - -fileExists:: { - "/user/username/projects/myproject/pkg3/tsconfig.json": 1, - "/user/username/projects/myproject/pkg3/src/keys.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/package.json": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.tsx": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.d.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg2/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg2/dist/types.ts": 1, - "/user/username/projects/myproject/pkg2/dist/types.tsx": 1, - "/user/username/projects/myproject/pkg2/dist/types.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/package.json": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.tsx": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg1/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg1/dist/types.ts": 1, - "/user/username/projects/myproject/pkg1/dist/types.tsx": 1, - "/user/username/projects/myproject/pkg1/dist/types.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/pkg3": 2, - "/user/username/projects/myproject/pkg3/src": 1, - "/user/username/projects/myproject/pkg3/src/node_modules": 1, - "/user/username/projects/myproject/pkg3/node_modules": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist": 1, - "/user/username/projects/myproject/pkg2/dist": 1, - "/user/username/projects/myproject/pkg2/dist/node_modules": 1, - "/user/username/projects/myproject/pkg2/node_modules": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist": 1, - "/user/username/projects/myproject/pkg1/dist": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/dist": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js index b6993ad714d27..043b54bdbb0bb 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p pkg3 --explainFiles Output:: pkg3/src/keys.ts:2:14 - error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '../../pkg2/node_modules/@raymondfeng/pkg1/dist'. This is likely not portable. A type annotation is necessary. @@ -142,55 +134,3 @@ __exportStar(require("./keys"), exports); export * from './keys'; - -fileExists:: { - "/user/username/projects/myproject/pkg3/tsconfig.json": 1, - "/user/username/projects/myproject/pkg3/src/keys.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/package.json": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.tsx": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2.d.ts": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg2/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg2/dist/types.ts": 1, - "/user/username/projects/myproject/pkg2/dist/types.tsx": 1, - "/user/username/projects/myproject/pkg2/dist/types.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/package.json": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.tsx": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg1/dist/index.d.ts": 1, - "/user/username/projects/myproject/pkg1/dist/types.ts": 1, - "/user/username/projects/myproject/pkg1/dist/types.tsx": 1, - "/user/username/projects/myproject/pkg1/dist/types.d.ts": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/pkg3": 2, - "/user/username/projects/myproject/pkg3/src": 1, - "/user/username/projects/myproject/pkg3/src/node_modules": 1, - "/user/username/projects/myproject/pkg3/node_modules": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng": 1, - "/user/username/projects/myproject/pkg3/node_modules/@raymondfeng/pkg2/dist": 1, - "/user/username/projects/myproject/pkg2/dist": 1, - "/user/username/projects/myproject/pkg2/dist/node_modules": 1, - "/user/username/projects/myproject/pkg2/node_modules": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng": 1, - "/user/username/projects/myproject/pkg2/node_modules/@raymondfeng/pkg1/dist": 1, - "/user/username/projects/myproject/pkg1/dist": 1, - "/user/username/projects/myproject/pkg3/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/pkg3/dist": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index 1ba36c9f087e8..db8d9a3c52bcf 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -85,14 +85,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== @@ -200,48 +192,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; - -fileExists:: { - "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/plugin-one": 1, - "/user/username/projects/myproject/plugin-one/node_modules": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, - "/user/username/projects/myproject/plugin-two/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 58c81cc2fe591..f35f09682d02e 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -87,14 +87,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -202,55 +194,3 @@ export declare const actions: { }; - -fileExists:: { - "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/plugin-one": 1, - "/user/username/projects/myproject/plugin-one/node_modules": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-two/dist/commonjs/node_modules": 1, - "/user/username/projects/myproject/plugin-two/dist/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 926fb43a722a0..8dff9f49f6c15 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -87,14 +87,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -202,55 +194,3 @@ export declare const actions: { }; - -fileExists:: { - "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/plugin-one": 1, - "/user/username/projects/myproject/plugin-one/node_modules": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-two/dist/commonjs/node_modules": 1, - "/user/username/projects/myproject/plugin-two/dist/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index c17f4e6e711bc..431f2bd31e868 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -85,14 +85,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== @@ -200,48 +192,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; - -fileExists:: { - "/user/username/projects/myproject/plugin-one/tsconfig.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/index.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/plugin-one": 1, - "/user/username/projects/myproject/plugin-one/node_modules": 1, - "/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/plugin-two": 1, - "/user/username/projects/myproject/plugin-two/node_modules": 1, - "/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa": 1, - "/user/username/projects/myproject/plugin-one/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index 5758c9472e54b..21da05081183c 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -36,24 +36,6 @@ Output:: /lib/tsc -p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/constants.ts": 1, - "/src/project/reexport.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/class1.d.ts] declare const a = 1; @@ -197,24 +179,6 @@ Found 1 error in src/project/class1.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/constants.ts": 1, - "/src/project/reexport.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/class1.d.ts] declare const a = 2; diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index 1bb0b632386f5..75a605246b917 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -33,23 +33,6 @@ Output:: /lib/tsc -p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/constants.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/class1.d.ts] declare const a = 1; @@ -155,23 +138,6 @@ Found 1 error in src/project/class1.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/constants.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/class1.d.ts] declare const a = 2; diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 84392a1ce0dc7..7b888a166a0a9 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -58,24 +58,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -277,24 +259,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -306,24 +270,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -366,24 +312,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":27000},"version":"FakeTSVersion"} @@ -593,24 +521,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents @@ -738,24 +648,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -767,24 +659,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -796,24 +670,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -833,24 +689,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -899,24 +737,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -1129,24 +949,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1184,24 +986,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1239,24 +1023,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1300,24 +1066,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1334,24 +1082,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":49000},"version":"FakeTSVersion"} @@ -1512,24 +1242,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -1666,24 +1378,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1695,24 +1389,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1732,22 +1408,4 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index c10a24c98a8de..0cc1c3ebd15e4 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -58,24 +58,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -276,24 +258,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -305,24 +269,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -365,24 +311,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -577,24 +505,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] file written with same contents //// [/src/project/src/class.js] file written with same contents @@ -721,24 +631,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -750,24 +642,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -779,24 +653,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -816,24 +672,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -882,24 +720,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -1111,24 +931,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1166,24 +968,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1221,24 +1005,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1282,24 +1048,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1316,24 +1064,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -1479,24 +1209,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -1632,24 +1344,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1661,24 +1355,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1698,22 +1374,4 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js index 99bb80845c754..1b449fe9ef28b 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js @@ -58,24 +58,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; @@ -250,24 +232,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -279,24 +243,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -339,24 +285,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} @@ -544,24 +472,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] file written with same contents //// [/src/project/src/directUse.js] file written with same contents @@ -689,24 +599,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -718,24 +610,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -747,24 +621,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -784,24 +640,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -850,24 +688,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; @@ -1073,24 +893,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1128,24 +930,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1183,24 +967,6 @@ Errors Files 1 src/project/src/indirectUse.ts:2 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1244,24 +1010,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1278,24 +1026,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} @@ -1432,24 +1162,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; @@ -1579,24 +1291,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1608,24 +1302,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -1645,22 +1321,4 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index 0b1178f62a0f0..6a8469a0585fa 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -50,24 +50,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} @@ -229,24 +211,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -485,24 +449,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -688,24 +634,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":39000},"version":"FakeTSVersion"} @@ -866,24 +794,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 889d04a04cbb0..8e8d617049d48 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -50,24 +50,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} @@ -221,24 +203,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -476,24 +440,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { @@ -678,24 +624,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} @@ -841,24 +769,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.d.ts] export declare class classC { diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js index 09e4f92c68a77..c9e5be03e536e 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js @@ -50,24 +50,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} @@ -220,24 +202,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; @@ -449,24 +413,6 @@ Errors Files 1 src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; @@ -641,24 +587,6 @@ Output:: /lib/tsc --p src/project --noEmit exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} @@ -795,24 +723,6 @@ Found 1 error in src/project/src/noChangeFileWithEmitSpecificError.ts:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/src/indirectClass.ts": 1, - "/src/project/src/class.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/class.js] "use strict"; diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index 000892f6dc7fc..6cf4aaf5a3c1f 100644 --- a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js +++ b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js @@ -60,21 +60,6 @@ Found 3 errors in the same file, starting at: src/project/index.tsx:10 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/index.js] "use strict"; @@ -197,19 +182,4 @@ Found 3 errors in the same file, starting at: src/project/index.tsx:10 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js index ff6c11e472376..373c93ef276d3 100644 --- a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js +++ b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js @@ -57,22 +57,6 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/node_modules": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/dist/main.js] /// diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index 4a1c5fe5ec3fb..df13cc62f0b28 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -74,21 +74,6 @@ Shape signatures in builder refreshed for:: /src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts during emit) /src/project/src/main.ts (computed .d.ts during emit) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/anotherFileWithSameReferenes.d.ts] /// @@ -225,21 +210,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -287,21 +257,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] @@ -424,21 +379,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] @@ -574,21 +514,6 @@ Shape signatures in builder refreshed for:: /src/project/src/anotherfilewithsamereferenes.ts (computed .d.ts) /src/project/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/anotherFileWithSameReferenes.d.ts] file written with same contents //// [/src/project/src/anotherFileWithSameReferenes.js] file written with same contents @@ -736,21 +661,6 @@ Shape signatures in builder refreshed for:: /src/project/src/newfile.ts (computed .d.ts) /src/project/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/anotherFileWithSameReferenes.d.ts] /// @@ -898,21 +808,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/project/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/main.d.ts] file written with same contents //// [/src/project/src/main.js] diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index 187f902bb4a9e..5eaa85aec823b 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -35,22 +35,6 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/projects/project2/class2.d.ts] declare class class2 { @@ -133,22 +117,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -163,22 +131,6 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents @@ -245,22 +197,6 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -285,22 +221,6 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents @@ -358,22 +278,6 @@ Output:: /lib/tsc -i -p src/projects/project2 exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "src/projects/project2": 1, - "/src/projects/project2/node_modules/@types": 1, - "/src/projects/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/projects/project2/class2.d.ts] file written with same contents //// [/src/projects/project2/class2.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js index 7dc80809b5949..02b806a56cee0 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js @@ -38,21 +38,6 @@ src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"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},"-10726455937-export const x = 10;"],"options":{"module":1,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2]},"version":"FakeTSVersion"} @@ -112,19 +97,4 @@ src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js index bfecb638fca24..d62d8e0b80709 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js @@ -31,21 +31,6 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/dist/main.js] "use strict"; @@ -100,19 +85,4 @@ Output:: /lib/tsc --p src/project --rootDir src/project/src exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js index 913b8a1c91cd2..c760607d8c349 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js @@ -32,21 +32,6 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/built/src/main.js] "use strict"; @@ -101,19 +86,4 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js index 2055b3d003d83..c37bdb96ef308 100644 --- a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js @@ -40,21 +40,6 @@ Shape signatures in builder refreshed for:: /lib/lib.d.ts (used version) /src/project/class1.ts (used version) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"noEmit":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} @@ -118,19 +103,4 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js index d97d0659e7688..43a4d74796d47 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js @@ -70,22 +70,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -204,22 +188,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -249,22 +217,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -362,20 +314,4 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js index 0e5c9cb7cdbf7..9e9ee7f46c9d7 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js @@ -72,22 +72,6 @@ Shape signatures in builder refreshed for:: /src/src/main.ts (used version) /src/src/other.ts (used version) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} @@ -194,22 +178,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -241,22 +209,6 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /src/src/main.ts (computed .d.ts) -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/dev-build/shared/types/db.js] "use strict"; @@ -356,20 +308,4 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/tsconfig.json": 1, - "/src/shared/types/db.ts": 1 -} - -directoryExists:: { - "src": 1, - "/src/shared/types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js index 6b9518892e378..3032a94102654 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -29,21 +29,6 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"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},"-13729955264-export const y = 10;","-10726455937-export const x = 10;"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} @@ -93,21 +78,6 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - @@ -122,21 +92,6 @@ Output:: /lib/tsc --incremental --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"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},"-13729955264-export const y = 10;","-10808461502-export const x = 10;export const xy = 100;"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js index 1496a7e3a6c5f..7447094744fe5 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-watch.js @@ -24,12 +24,4 @@ Output:: error TS6370: Options 'watch' and 'listFilesOnly' cannot be combined. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js index 4d22862056d70..5bdaee4b00882 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js +++ b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js @@ -25,14 +25,4 @@ Output:: /src/test.ts exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js index 74dec134949c5..2349f7c8d11bd 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-contains-invalid-project-reference.js @@ -34,21 +34,6 @@ Found 1 error in src/project/tsconfig.json:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/theApp.js] define("main", ["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js index 2e4f8bf411e09..76a9491ccae9f 100644 --- a/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js +++ b/tests/baselines/reference/tsc/projectReferences/when-project-references-composite-project-with-noEmit.js @@ -40,28 +40,6 @@ Found 1 error in src/project/tsconfig.json:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/utils.ts": 1, - "/src/utils.tsx": 1, - "/src/utils.d.ts": 1, - "/src/utils/package.json": 1, - "/src/utils/index.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src": 1, - "/src/utils": 1, - "/src/project/node_modules/@types": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index e2e54bfba76f5..21bbb86b25580 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -51,37 +51,6 @@ Found 1 error in src/project/src/index.tsx:1 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/node_modules/react/package.json": 1, - "/src/project/node_modules/react/jsx-runtime.ts": 1, - "/src/project/node_modules/react/jsx-runtime.tsx": 1, - "/src/project/node_modules/react/jsx-runtime.d.ts": 1, - "/src/project/node_modules/@types/react/package.json": 1, - "/src/project/node_modules/@types/react/jsx-runtime.d.ts": 1, - "/src/project/node_modules/react/jsx-runtime.js": 1, - "/src/project/node_modules/@types/react/index.d.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src/node_modules": 1, - "/src/project/node_modules": 1, - "/src/project/node_modules/react/jsx-runtime": 1, - "/src/project/node_modules/react": 1, - "/src/project/node_modules/@types": 1, - "/src/project/node_modules/@types/react/jsx-runtime": 1, - "/src/project/node_modules/@types/react": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index e363c0989c148..6e1a2c87c4a27 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -43,37 +43,6 @@ Output:: /lib/tsc --p src/project exitCode:: ExitStatus.Success -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "src/project/tsconfig.json": 1, - "/src/project/node_modules/react/package.json": 1, - "/src/project/node_modules/react/jsx-runtime.ts": 1, - "/src/project/node_modules/react/jsx-runtime.tsx": 1, - "/src/project/node_modules/react/jsx-runtime.d.ts": 1, - "/src/project/node_modules/@types/react/package.json": 1, - "/src/project/node_modules/@types/react/jsx-runtime.d.ts": 1, - "/src/project/node_modules/react/jsx-runtime.js": 1, - "/src/project/node_modules/@types/react/index.d.ts": 1 -} - -directoryExists:: { - "src/project": 1, - "/src/project/src/node_modules": 1, - "/src/project/node_modules": 1, - "/src/project/node_modules/react/jsx-runtime": 1, - "/src/project/node_modules/react": 1, - "/src/project/node_modules/@types": 1, - "/src/project/node_modules/@types/react/jsx-runtime": 1, - "/src/project/node_modules/@types/react": 1, - "/src/node_modules": 1, - "/node_modules": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1 -} - //// [/src/project/src/index.js] "use strict"; diff --git a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js index a24893375db5d..e963447956603 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js @@ -161,14 +161,4 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index 56ab368fa07ef..50b1c2f7ed7ff 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -161,14 +161,4 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index 56ab368fa07ef..50b1c2f7ed7ff 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -161,14 +161,4 @@ You can learn about all of the compiler options at https://aka.ms/tsc exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -getModifiedTime:: {} - -setModifiedTime:: {} - -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: {} - diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js index c8c4419f2e623..a4c8914f1a168 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /tsconfig.json Output:: >> Screen clear @@ -71,16 +63,6 @@ exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -88,14 +70,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:00:19 AM] File change detected. Starting incremental compilation... @@ -136,11 +110,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js index ad5d877bbd563..c70acece2e682 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /tsconfig.json Output:: [12:00:13 AM] Starting compilation in watch mode... @@ -70,19 +62,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: { - "/tsconfig.json": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -90,14 +69,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:00:19 AM] File change detected. Starting incremental compilation... @@ -138,11 +109,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js index 727e29a2b5d52..d032563a545d9 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /f.ts --diagnostics Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -68,16 +60,6 @@ exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -85,14 +67,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file Scheduling update @@ -136,11 +110,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js index 791598bd26423..e021f79145ef0 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /f.ts --extendedDiagnostics Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -70,16 +62,6 @@ exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -87,14 +69,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file Scheduling update @@ -138,11 +112,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js index f8aac8b18abb9..54d330d5c834b 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /f.ts --preserveWatchOutput Output:: [12:00:11 AM] Starting compilation in watch mode... @@ -63,16 +55,6 @@ exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -80,14 +62,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:00:17 AM] File change detected. Starting incremental compilation... @@ -124,11 +98,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js index ebae61b52e1e8..aa769ab316ac8 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /f.ts Output:: >> Screen clear @@ -64,16 +56,6 @@ exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Comment added to file f Input:: @@ -81,14 +63,6 @@ Input:: // -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -126,11 +100,3 @@ exitCode:: ExitStatus.undefined // - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js index 790d3e1745bc8..956eca5b5d3f0 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/someone/projects/myproject/file3.ts Output:: >> Screen clear @@ -93,20 +85,6 @@ var v = 1 /* E2.V */; -fileExists:: { - "/user/someone/projects/myproject/file2.ts": 1, - "/user/someone/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/someone/projects/myproject": 4, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Append content to file3 Input:: @@ -114,14 +92,6 @@ Input:: import { E2 } from "./file2"; const v: E2 = E2.V;function foo2() { return 2; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -168,11 +138,3 @@ var v = 1 /* E2.V */; function foo2() { return 2; } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js index b811a020e7f78..0b854f3cd9685 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -74,21 +66,6 @@ var a = 10; -fileExists:: { - "/home/username/project/tsconfig.json": 1 -} - -directoryExists:: { - "/home/username/project/node_modules/@types": 1, - "/home/username/node_modules/@types": 1, - "/home/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: file is deleted and then created to modify content Input:: @@ -97,14 +74,6 @@ var a = 10; var b = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -150,11 +119,3 @@ var a = 10; var b = 10; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js index 087a37fbb87a6..a4215828961e7 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js @@ -17,14 +17,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/app.ts Output:: >> Screen clear @@ -67,16 +59,6 @@ var y = 2; -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Append a line Input:: @@ -86,14 +68,6 @@ var y = 2; var z = 3; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -134,11 +108,3 @@ var y = 2; var z = 3; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js index 8733eed5d0e50..29bb1dc14a122 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js @@ -17,14 +17,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/app.ts Output:: >> Screen clear @@ -67,16 +59,6 @@ var y = 2; -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Append a line Input:: @@ -86,14 +68,6 @@ var y = 2; var z = 3; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:17 AM] File change detected. Starting incremental compilation... @@ -134,11 +108,3 @@ var y = 2; var z = 3; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js index 06e6145e3a2ff..fa49643219b55 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js @@ -25,14 +25,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -109,24 +101,6 @@ var x = f2_1.y; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/f1.ts": 1, - "/a/b/f2.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 4, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Append content to f1 Input:: @@ -134,14 +108,6 @@ Input:: export function Foo() { return 10; }export function foo2() { return 2; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -204,14 +170,6 @@ exports.foo2 = foo2; //// [/a/b/f2.js] file written with same contents //// [/a/b/f3.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Again Append content to f1 Input:: @@ -219,14 +177,6 @@ Input:: export function Foo() { return 10; }export function foo2() { return 2; }export function fooN() { return 2; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -287,11 +237,3 @@ exports.fooN = fooN; //// [/a/b/f2.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js index 69695140fb90c..33ce144476adb 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -139,23 +131,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -163,14 +138,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -240,11 +207,3 @@ exports.Foo = Foo; ; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js index 1862abd9b9971..c6425f919362f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -138,23 +130,6 @@ System.register("moduleFile2", [], function (exports_4, context_4) { -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -162,14 +137,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -268,11 +235,3 @@ System.register("moduleFile2", [], function (exports_4, context_4) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js index 2b6f5dfdd2f38..d70d6c9479381 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -134,23 +126,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change moduleFile1 shape and delete file1Consumer2 Input:: @@ -159,14 +134,6 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer2.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -227,15 +194,3 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js index 754d8dde09c2f..97503f7dee9eb 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -134,23 +126,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change moduleFile1 shape and create file1Consumer3 Input:: @@ -161,14 +136,6 @@ export var T: number;export function Foo() { }; import {Foo} from "./moduleFile1"; let y = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -247,18 +214,3 @@ var moduleFile1_1 = require("./moduleFile1"); var y = (0, moduleFile1_1.Foo)(); - -fileExists:: { - "/a/b/file1consumer3.js": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/file1consumer3.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js index 9e86386b61204..8856532f89c1a 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -134,23 +126,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change file1Consumer1 content to `export let y = Foo();` Input:: @@ -158,14 +133,6 @@ Input:: export let y = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -230,18 +197,6 @@ exports.y = Foo(); -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -249,14 +204,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -326,14 +273,6 @@ exports.Foo = Foo; //// [/a/b/file1Consumer2.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add the import statements back to file1Consumer1 Input:: @@ -341,14 +280,6 @@ Input:: import {Foo} from "./moduleFile1";let y = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:57 AM] File change detected. Starting incremental compilation... @@ -408,18 +339,6 @@ var y = (0, moduleFile1_1.Foo)(); -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export var T2: string;export function Foo() { };` Input:: @@ -427,14 +346,6 @@ Input:: export let y = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:05 AM] File change detected. Starting incremental compilation... @@ -515,14 +426,6 @@ exports.y = Foo(); //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Multiple file edits in one go Input:: @@ -531,14 +434,6 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer1.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -605,11 +500,3 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js index fcbf2d8f6f98f..dec1bc790c9f3 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -134,23 +126,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -158,14 +133,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -233,14 +200,6 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { console.log('hi'); };` Input:: @@ -248,14 +207,6 @@ Input:: export var T: number;export function Foo() { console.log('hi'); }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -321,11 +272,3 @@ exports.Foo = Foo; ; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js index 1e7c51274bee8..8df4089a05941 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-changes-in-non-root-files.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -101,23 +93,6 @@ exports.y = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -125,14 +100,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -186,14 +153,6 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file1 internal, and verify only file1 is affected Input:: @@ -201,14 +160,6 @@ Input:: export var T: number;export function Foo() { };var T1: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -259,11 +210,3 @@ exports.Foo = Foo; var T1; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js index 398f588c1c207..6f305f1e595fa 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js @@ -20,14 +20,6 @@ export var x = Foo(); {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -91,21 +83,6 @@ exports.x = Foo(); -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit refereceFile1 Input:: @@ -114,14 +91,6 @@ Input:: export var x = Foo();export var yy = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -188,14 +157,6 @@ exports.yy = Foo(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: create moduleFile2 Input:: @@ -203,14 +164,6 @@ Input:: export var Foo4 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -273,18 +226,3 @@ exports.Foo4 = void 0; exports.Foo4 = 10; - -fileExists:: { - "/a/b/modulefile2.js": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/modulefile2.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js index e9baf8642a696..e7dc8ea247bba 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js @@ -23,14 +23,6 @@ export function Foo() { }; {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -101,34 +93,11 @@ exports.x = Foo(); -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: delete moduleFile1 Input:: //// [/a/b/moduleFile1.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -181,15 +150,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/referenceFile1.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js index 4a95924bd5eb5..650e11d0fce92 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js @@ -31,14 +31,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -134,23 +126,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change shape of global file Input:: @@ -158,14 +133,6 @@ Input:: interface GlobalFoo { age: number }var T2: string; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -234,11 +201,3 @@ var T2; //// [/a/b/moduleFile2.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js index 3cfffe4b0cd47..39ed216478299 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js @@ -34,14 +34,6 @@ interface Array { length: number; [n: number]: T; } import {y} from "./file1Consumer1"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -147,24 +139,6 @@ exports.Foo4 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile1.ts": 1, - "/a/b/file1consumer1.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 4, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file1Consumer1 Input:: @@ -172,14 +146,6 @@ Input:: import {Foo} from "./moduleFile1"; export var y = 10;export var T: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -245,14 +211,6 @@ exports.y = 10; //// [/a/b/file1Consumer1Consumer1.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the content of moduleFile1 to `export var T: number;export function Foo() { };` Input:: @@ -260,14 +218,6 @@ Input:: export var T: number;export function Foo() { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -338,14 +288,6 @@ exports.Foo = Foo; //// [/a/b/file1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file1Consumer1 and moduleFile1 Input:: @@ -356,14 +298,6 @@ export var T2: number;export function Foo() { }; import {Foo} from "./moduleFile1"; export var y = 10;export var T: number;export var T2: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -442,11 +376,3 @@ exports.y = 10; //// [/a/b/file1Consumer1Consumer1.js] file written with same contents //// [/a/b/file1Consumer2.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js index d0e0dceca6c71..4c824d524720b 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js @@ -24,14 +24,6 @@ export var t2 = 10; {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -96,21 +88,6 @@ exports.t1 = 10; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file1 Input:: @@ -119,14 +96,6 @@ Input:: export var t1 = 10;export var t3 = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -181,11 +150,3 @@ exports.t1 = 10; exports.t3 = 10; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js index 992e7f1403a6f..7e379c7c4ca7d 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -86,20 +78,6 @@ var y = 1; -fileExists:: { - "/a/tsconfig.json": 1 -} - -directoryExists:: { - "/a/tsconfig.json": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file Input:: @@ -107,14 +85,6 @@ Input:: let x = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -166,14 +136,6 @@ var x = 11; //// [/a/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file again Input:: @@ -181,14 +143,6 @@ Input:: let xy = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -239,11 +193,3 @@ var xy = 11; //// [/a/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js index 8adec28506ca9..a20e56f54036e 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -77,20 +69,6 @@ var y = 1; -fileExists:: { - "/a/tsconfig.json": 1 -} - -directoryExists:: { - "/a/tsconfig.json": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file Input:: @@ -98,14 +76,6 @@ Input:: let x = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -152,14 +122,6 @@ var y = 1; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file again Input:: @@ -167,14 +129,6 @@ Input:: let xy = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -220,11 +174,3 @@ var xy = 11; var y = 1; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js index c1e5de85f864f..4ef872f02ce1e 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/tsconfig.json Output:: >> Screen clear @@ -77,20 +69,6 @@ var y = 1; -fileExists:: { - "/a/tsconfig.json": 1 -} - -directoryExists:: { - "/a/tsconfig.json": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file Input:: @@ -98,14 +76,6 @@ Input:: let x = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -152,14 +122,6 @@ var y = 1; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make change in the file again Input:: @@ -167,14 +129,6 @@ Input:: let xy = 11 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -220,11 +174,3 @@ var xy = 11; var y = 1; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js index 6d5fc3fcb935f..8699baff9154b 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/with---outFile-and-multiple-declaration-files-in-the-program.js @@ -28,14 +28,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"outFile":"../output/common.js","target":"es5"},"files":["/a/b/output/AnotherDependency/file1.d.ts","/a/b/dependencies/file2.d.ts","/a/b/project/src/main.ts","/a/b/project/src/main2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/project/tsconfig.json Output:: >> Screen clear @@ -102,19 +94,3 @@ var main; })(main || (main = {})); - -fileExists:: { - "/a/b/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/project/tsconfig.json": 1, - "/a/b/project/node_modules/@types": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js index 2706326282411..c5fd4854e9163 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/without---outFile-and-multiple-declaration-files-in-the-program.js @@ -28,14 +28,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"outDir":"../output","target":"es5"},"files":["/a/b/output/AnotherDependency/file1.d.ts","/a/b/dependencies/file2.d.ts","/a/b/project/src/main.ts","/a/b/project/src/main2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/project/tsconfig.json Output:: >> Screen clear @@ -115,19 +107,3 @@ var main; })(main || (main = {})); - -fileExists:: { - "/a/b/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/project/tsconfig.json": 1, - "/a/b/project/node_modules/@types": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js index 9fe4af78a28c8..0199008ca2079 100644 --- a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js +++ b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /a/rootFolder/project/tsconfig.json Output:: >> Screen clear @@ -86,25 +78,6 @@ var z = 10; -fileExists:: { - "/a/rootfolder/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/rootfolder/project/tsconfig.json": 1, - "/a/rootfolder/project/node_modules/@types": 1, - "/a/rootfolder/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/rootfolder/project/static/scripts": 1, - "/a/rootfolder/project/static": 1, - "/a/rootfolder/project": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify typescript file Input:: @@ -112,14 +85,6 @@ Input:: var zz30 = 100; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -170,11 +135,3 @@ exitCode:: ExitStatus.undefined var zz30 = 100; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 38e3d4281ba1f..4ad08307699cb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -106,29 +98,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -139,14 +108,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -197,14 +158,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -215,14 +168,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -273,14 +218,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -291,14 +228,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -348,11 +277,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index d11d4404df1a3..e5af13740a6c7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -131,25 +123,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -160,14 +133,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -238,14 +203,6 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -256,14 +213,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -331,14 +280,6 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -349,14 +290,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -423,11 +356,3 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 35f39bb76c8be..2e4300b3b2939 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -177,27 +169,6 @@ require("./d"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -212,14 +183,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -285,14 +248,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -307,14 +262,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... @@ -371,14 +318,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -393,14 +332,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... @@ -456,11 +387,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 3586e92e1b6b0..668de3197073d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -220,30 +212,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -253,14 +221,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -336,14 +296,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -353,14 +305,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -424,14 +368,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -441,14 +377,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -511,11 +439,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index 01f0163b64ecd..c6e0b42637201 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,31 +235,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -277,14 +244,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -366,14 +325,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -383,14 +334,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -457,14 +400,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -474,14 +409,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -547,11 +474,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index c72ad71be22d3..10cfb6a2a9db9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -406,19 +354,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -427,14 +362,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -562,27 +489,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -632,14 +543,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -648,14 +551,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -766,27 +661,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -830,11 +709,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 22677a751d9c8..4aff6d522fa99 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -99,37 +91,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -179,14 +145,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -197,14 +155,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -270,20 +220,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -292,14 +228,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -351,27 +279,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -421,14 +333,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -437,14 +341,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -497,27 +393,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -561,11 +441,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index e9492bf5c2a0f..3bfc8798173ab 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -110,29 +102,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -143,14 +112,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -201,14 +162,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -219,14 +172,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -277,14 +222,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -295,14 +232,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -352,11 +281,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 62bdb1963c568..1b5b6508729ef 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -148,25 +140,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -177,14 +150,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -254,14 +219,6 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -272,14 +229,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -349,14 +298,6 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -367,14 +308,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -443,11 +376,3 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 6525859456c26..261571ca33d61 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -207,27 +199,6 @@ import "./d"; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -242,14 +213,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -334,14 +297,6 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -356,14 +311,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:11 AM] File change detected. Starting incremental compilation... @@ -448,14 +395,6 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -470,14 +409,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -561,11 +492,3 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index ada03b35de8ee..3606da8908821 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -251,30 +243,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,14 +252,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -356,14 +316,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -373,14 +325,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -445,14 +389,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -462,14 +398,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -533,11 +461,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 667b7759d834e..1b1c6a5f0fadf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -283,31 +275,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -317,14 +284,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -392,14 +351,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -409,14 +360,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -484,14 +427,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -501,14 +436,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:46 AM] File change detected. Starting incremental compilation... @@ -575,11 +502,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index 00564123f6239..ba89be276eac7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -176,39 +168,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -258,14 +222,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -276,14 +232,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -422,19 +370,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -443,14 +378,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -579,27 +506,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -649,14 +560,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -665,14 +568,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -785,27 +680,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -849,11 +728,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index f35e374e62ae2..a858fd1aff63c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -99,37 +91,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -179,14 +145,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -197,14 +155,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -284,20 +234,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -306,14 +242,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -365,27 +293,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -435,14 +347,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -451,14 +355,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -512,27 +408,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -576,11 +456,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js index 5ad6ccaf477e5..c29f5601d0aa2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -106,29 +98,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -139,14 +108,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -204,14 +165,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -222,14 +175,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -282,14 +227,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -300,14 +237,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -364,11 +293,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js index a27ff8e37637c..ad28da438703c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -131,25 +123,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -160,14 +133,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -238,14 +203,6 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -256,14 +213,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -328,14 +277,6 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -346,14 +287,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -422,11 +355,3 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index 711cb637b5583..6511d769013c2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -177,27 +169,6 @@ require("./d"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -212,14 +183,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -285,14 +248,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -307,14 +262,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... @@ -391,14 +338,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -413,14 +352,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... @@ -482,11 +413,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js index 10e1f03e459db..12f34fb44e190 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -220,30 +212,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -253,14 +221,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -336,14 +296,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -353,14 +305,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -426,14 +370,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -443,14 +379,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -521,11 +449,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js index 3661b4af9607b..f635f3ae38bf0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,31 +235,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -277,14 +244,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -366,14 +325,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -383,14 +334,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -461,14 +404,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -478,14 +413,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -561,11 +488,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js index 3ac85b4949316..d01d060fe1319 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -180,39 +172,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -262,14 +226,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -280,14 +236,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -410,19 +358,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -431,14 +366,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -565,27 +492,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -635,14 +546,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -651,14 +554,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -768,27 +663,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -832,11 +711,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js index e20d3bbf0a156..bd644b773bad1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -105,37 +97,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -185,14 +151,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -203,14 +161,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -276,20 +226,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -298,14 +234,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -357,27 +285,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -427,14 +339,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -443,14 +347,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -503,27 +399,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -567,11 +447,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index ef5ce2ab64837..881bb3fb80725 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -110,29 +102,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -143,14 +112,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -209,14 +170,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -227,14 +180,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -288,14 +233,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -306,14 +243,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -371,11 +300,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index b3489dbc885f6..461b77f5037bb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -148,25 +140,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -177,14 +150,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -262,14 +227,6 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -280,14 +237,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -360,14 +309,6 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -378,14 +319,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... @@ -462,11 +395,3 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 085628281912c..80810ab0ec43a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -207,27 +199,6 @@ import "./d"; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -242,14 +213,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -324,14 +287,6 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -346,14 +301,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -444,14 +391,6 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -466,14 +405,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -547,11 +478,3 @@ export interface Coords { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 4efa54706d47a..3daa1e66f2f5d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -251,30 +243,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,14 +252,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -374,14 +334,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -391,14 +343,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -475,14 +419,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -492,14 +428,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:04 AM] File change detected. Starting incremental compilation... @@ -581,11 +509,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index 4bea52c65b0fd..d90b5e2271ced 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -283,31 +275,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -317,14 +284,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -413,14 +372,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -430,14 +381,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -520,14 +463,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -537,14 +472,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:16 AM] File change detected. Starting incremental compilation... @@ -632,11 +559,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index d56ac79a6ae08..a7e1626c8dc86 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js index 2db732ba777ae..efbd1eccf804c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -99,37 +91,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -179,14 +145,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -197,14 +155,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -284,20 +234,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -306,14 +242,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -365,27 +293,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -435,14 +347,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -451,14 +355,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -512,27 +408,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -576,11 +456,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index d4bd0899870e4..0a08936aad5a3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -175,29 +167,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -208,14 +177,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -335,14 +296,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -353,14 +306,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -480,14 +425,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -498,14 +435,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -624,11 +553,3 @@ exitCode:: ExitStatus.undefined "size": 940 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index 2538edd134bf1..a02c355ad5092 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -200,25 +192,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -229,14 +202,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -385,14 +350,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -403,14 +360,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -556,14 +505,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -574,14 +515,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -726,11 +659,3 @@ exports.C = C; "size": 1299 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 51b7ea075645f..d0ef2c17b099d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -321,27 +313,6 @@ require("./d"); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -356,14 +327,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -525,14 +488,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -547,14 +502,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -707,14 +654,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -729,14 +668,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -888,11 +819,3 @@ exitCode:: ExitStatus.undefined "size": 1817 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index e28b4b8dae9d4..079a29e8103f8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -334,30 +326,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -367,14 +335,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -584,14 +544,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -601,14 +553,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -806,14 +750,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -823,14 +759,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -1027,11 +955,3 @@ exitCode:: ExitStatus.undefined "size": 2308 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index a0325f6d38da9..b6640524b36d7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -372,31 +364,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -406,14 +373,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -644,14 +603,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -661,14 +612,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -884,14 +827,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -901,14 +836,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -1123,11 +1050,3 @@ exitCode:: ExitStatus.undefined "size": 2671 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index 952b914ad64ef..e42e43bd8b646 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -406,19 +354,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -427,14 +362,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -562,27 +489,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -632,14 +543,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -648,14 +551,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -766,27 +661,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -830,11 +709,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index b982a76e78bef..9dde0054674ce 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -406,19 +354,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -427,14 +362,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -562,27 +489,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -632,14 +543,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -648,14 +551,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -766,27 +661,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -830,11 +709,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 59a5dcdf75ab4..59e9152a272f4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -177,29 +169,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -210,14 +179,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -335,14 +296,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -353,14 +306,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -478,14 +423,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -496,14 +433,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -620,11 +549,3 @@ exitCode:: ExitStatus.undefined "size": 1004 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index d61dc0497cf0e..34d7a6f01d14b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -215,25 +207,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -244,14 +217,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -388,14 +353,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -406,14 +363,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -550,14 +499,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -568,14 +509,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -711,11 +644,3 @@ export declare class C { "size": 1192 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 756dbd7ef8da9..684bae78c879c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -349,27 +341,6 @@ import "./d"; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -384,14 +355,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -618,14 +581,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -640,14 +595,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... @@ -874,14 +821,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -896,14 +835,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -1129,11 +1060,3 @@ export interface Coords { "size": 2498 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index c6f55bfe4c33a..21eff29fc5920 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -363,30 +355,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -396,14 +364,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -580,14 +540,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -597,14 +549,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:33 AM] File change detected. Starting incremental compilation... @@ -781,14 +725,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -798,14 +734,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -981,11 +909,3 @@ export interface ITest { "size": 1952 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 86ede9d4f58f7..a0b4491f09040 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -410,31 +402,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -444,14 +411,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -646,14 +605,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -663,14 +614,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -865,14 +808,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -882,14 +817,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:02 AM] File change detected. Starting incremental compilation... @@ -1083,11 +1010,3 @@ export interface ITest { "size": 2315 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index ceec18d6e3d12..bfdf6d81126b5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -176,39 +168,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -258,14 +222,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -276,14 +232,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -422,19 +370,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -443,14 +378,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -579,27 +506,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -649,14 +560,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -665,14 +568,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -785,27 +680,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -849,11 +728,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index ea61dcb8f9680..3f2c70b67c6d6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -176,39 +168,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -258,14 +222,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -276,14 +232,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -422,19 +370,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -443,14 +378,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -579,27 +506,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -649,14 +560,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -665,14 +568,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -785,27 +680,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -849,11 +728,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js index 4596fe1784e42..fc05264b9f6be 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -172,29 +164,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -205,14 +174,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -348,14 +309,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -366,14 +319,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -492,14 +437,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -510,14 +447,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -652,11 +581,3 @@ exitCode:: ExitStatus.undefined "size": 1005 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js index f86310c6b343a..1ddc36f38bc2a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -197,25 +189,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -226,14 +199,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -379,14 +344,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -397,14 +354,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -535,14 +484,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -553,14 +494,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -707,11 +640,3 @@ exports.C = C; "size": 1193 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index 0bf574bfc6b52..ba0c15f8df4a8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -318,27 +310,6 @@ require("./d"); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -353,14 +324,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -519,14 +482,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -541,14 +496,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -766,14 +713,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -788,14 +727,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -953,11 +884,3 @@ exitCode:: ExitStatus.undefined "size": 1526 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js index 3a8b23dc15f72..33455df772015 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -331,30 +323,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -364,14 +332,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -578,14 +538,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -595,14 +547,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -779,14 +723,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -796,14 +732,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -1008,11 +936,3 @@ exitCode:: ExitStatus.undefined "size": 1890 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js index 7b224d5c1b1d3..f72cf752238d1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -369,31 +361,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -403,14 +370,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -638,14 +597,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -655,14 +606,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -859,14 +802,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -876,14 +811,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -1108,11 +1035,3 @@ exitCode:: ExitStatus.undefined "size": 2075 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js index 6131e44df3935..050317bc3b808 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -180,39 +172,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -262,14 +226,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -280,14 +236,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -410,19 +358,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -431,14 +366,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -565,27 +492,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -635,14 +546,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -651,14 +554,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -768,27 +663,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -832,11 +711,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js index 44af709384a02..ab3c4d7927f42 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js @@ -39,14 +39,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -180,39 +172,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -262,14 +226,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -280,14 +236,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -410,19 +358,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -431,14 +366,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -565,27 +492,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -635,14 +546,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -651,14 +554,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -768,27 +663,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -832,11 +711,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 09bf9cce3125f..c440413b8f56a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -176,29 +168,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -209,14 +178,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -353,14 +314,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -371,14 +324,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -498,14 +443,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -516,14 +453,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -659,11 +588,3 @@ exitCode:: ExitStatus.undefined "size": 1081 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 68bd335622073..e9cf233438753 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -214,25 +206,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -243,14 +216,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -406,14 +371,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -424,14 +381,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -570,14 +519,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -588,14 +529,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... @@ -750,11 +683,3 @@ export declare class C { "size": 1269 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index d67043aef7fb9..081531da6d496 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -348,27 +340,6 @@ import "./d"; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -383,14 +354,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -561,14 +524,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -583,14 +538,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -822,14 +769,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -844,14 +783,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -1021,11 +952,3 @@ export interface Coords { "size": 1787 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js index 67e662c73f5dc..3553ec1da0723 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -362,30 +354,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -395,14 +363,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -619,14 +579,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -636,14 +588,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:45 AM] File change detected. Starting incremental compilation... @@ -831,14 +775,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -848,14 +784,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:20 AM] File change detected. Starting incremental compilation... @@ -1071,11 +999,3 @@ export interface ITest { "size": 2278 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js index 3bf9be7777b8f..8e8b28d62f71b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -409,31 +401,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -443,14 +410,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -688,14 +647,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -705,14 +656,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:54 AM] File change detected. Starting incremental compilation... @@ -921,14 +864,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -938,14 +873,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:32 AM] File change detected. Starting incremental compilation... @@ -1182,11 +1109,3 @@ export interface ITest { "size": 2641 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js index 2c5a07832589f..036a97dadd0e4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js index 8b99a54632e1f..35a4b1f80423d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index e8562e73d6d6d..ae960b54f62fa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -172,29 +164,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -205,14 +174,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -348,14 +309,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -366,14 +319,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... @@ -492,14 +437,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -510,14 +447,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -652,11 +581,3 @@ exitCode:: ExitStatus.undefined "size": 1005 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js index f8a3a02521160..13f79b0d72f36 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -197,25 +189,6 @@ console.log(b.c.d); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -226,14 +199,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -380,14 +345,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -398,14 +355,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -535,14 +484,6 @@ exports.C = C; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -553,14 +494,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -706,11 +639,3 @@ exports.C = C; "size": 1089 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index 7e47407749b34..53ebb855fc8d2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -318,27 +310,6 @@ require("./d"); } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -353,14 +324,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -518,14 +481,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -540,14 +495,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -766,14 +713,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -788,14 +727,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -952,11 +883,3 @@ exitCode:: ExitStatus.undefined "size": 1405 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js index f2b2aed6df20a..9f576d8cb82f3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -331,30 +323,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -364,14 +332,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -576,14 +536,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -593,14 +545,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -776,14 +720,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -793,14 +729,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:26 AM] File change detected. Starting incremental compilation... @@ -1004,11 +932,3 @@ exitCode:: ExitStatus.undefined "size": 1812 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js index 5afe821cfd77c..3cc11bccabbb9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -369,31 +361,6 @@ exports.App = App; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -403,14 +370,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -635,14 +594,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -652,14 +603,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -855,14 +798,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -872,14 +807,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -1103,11 +1030,3 @@ exitCode:: ExitStatus.undefined "size": 1997 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js index 3d1e6b37ce5aa..7df8484e45904 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -174,39 +166,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -256,14 +220,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -274,14 +230,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -404,19 +352,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -425,14 +360,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -559,27 +486,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -629,14 +540,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -645,14 +548,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -762,27 +657,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -826,11 +705,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js index 70c75e5904022..ecd40437efddc 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -174,39 +166,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -256,14 +220,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -274,14 +230,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -404,19 +352,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -425,14 +360,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -559,27 +486,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -629,14 +540,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -645,14 +548,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -762,27 +657,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -826,11 +705,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index fe8e072187ebf..eac80ea725366 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -176,29 +168,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -209,14 +178,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -353,14 +314,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -371,14 +324,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -498,14 +443,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -516,14 +453,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -659,11 +588,3 @@ exitCode:: ExitStatus.undefined "size": 1081 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index d4c843b51867d..e611a650ee126 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -214,25 +206,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -243,14 +216,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -405,14 +370,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -423,14 +380,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -568,14 +517,6 @@ export declare class C { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -586,14 +527,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -747,11 +680,3 @@ export declare class C { "size": 1269 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index d4f3cf867232d..ae50ce1ec816a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -348,27 +340,6 @@ import "./d"; } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -383,14 +354,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -563,14 +526,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -585,14 +540,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -826,14 +773,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -848,14 +787,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -1027,11 +958,3 @@ export interface Coords { "size": 1787 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 9b45ecdf00333..ab19e60075cee 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -362,30 +354,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -395,14 +363,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -618,14 +578,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -635,14 +587,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:42 AM] File change detected. Starting incremental compilation... @@ -829,14 +773,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -846,14 +782,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:14 AM] File change detected. Starting incremental compilation... @@ -1068,11 +996,3 @@ export interface ITest { "size": 2278 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 281e023aaafa7..65720509b7e27 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -409,31 +401,6 @@ export declare class App { } -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -443,14 +410,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -687,14 +646,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -704,14 +655,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -919,14 +862,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -936,14 +871,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:26 AM] File change detected. Starting incremental compilation... @@ -1179,11 +1106,3 @@ export interface ITest { "size": 2641 } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 67e6fe6192455..b320338ade2cd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js index 3c79eb1a6d65d..e4a2935993f12 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --i Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index 4b8c5ad42fb5c..f82cb18acc206 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -106,29 +98,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -139,14 +108,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -204,14 +165,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -222,14 +175,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -282,14 +227,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -300,14 +237,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -364,11 +293,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 715551ba17ea4..187c852e65829 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -131,25 +123,6 @@ console.log(b.c.d); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -160,14 +133,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -236,14 +201,6 @@ exports.C = C; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -254,14 +211,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -325,14 +274,6 @@ exports.C = C; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -343,14 +284,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -418,11 +351,3 @@ var C = /** @class */ (function () { exports.C = C; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index ab0cd6d784630..bdf52477a2dec 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -177,27 +169,6 @@ require("./d"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -212,14 +183,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... @@ -281,14 +244,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -303,14 +258,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... @@ -388,14 +335,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -410,14 +349,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... @@ -478,11 +409,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js index 403d70460d535..666c696b59ce8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -220,30 +212,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -253,14 +221,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -331,14 +291,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -348,14 +300,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -420,14 +364,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -437,14 +373,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... @@ -514,11 +442,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js index 4d280f6d258a6..64a6121a827be 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -243,31 +235,6 @@ exports.App = App; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -277,14 +244,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... @@ -360,14 +319,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -377,14 +328,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -454,14 +397,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -471,14 +406,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -553,11 +480,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib1/tools/tools.interface.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js index 8066089bcd9b4..b6855669b1717 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -174,39 +166,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -256,14 +220,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -274,14 +230,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -404,19 +352,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -425,14 +360,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -559,27 +486,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -629,14 +540,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -645,14 +548,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -762,27 +657,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -826,11 +705,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js index 9a272babcff70..eeeb35625e47a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -99,37 +91,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -179,14 +145,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -197,14 +155,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -270,20 +220,6 @@ console.log("hi"); -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -292,14 +228,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -351,27 +279,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -421,14 +333,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -437,14 +341,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -497,27 +393,11 @@ var a = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... @@ -561,11 +441,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 91080934b37a6..07ddff950d931 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -110,29 +102,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/b.tsx": 1, - "/user/username/projects/myproject/b.d.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/c.tsx": 1, - "/user/username/projects/myproject/c.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -143,14 +112,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -209,14 +170,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -227,14 +180,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -288,14 +233,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -306,14 +243,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -371,11 +300,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 1edb729bdfd29..68a41566c5e8d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -35,14 +35,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -148,25 +140,6 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C to initialize signatures Input:: @@ -177,14 +150,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -261,14 +226,6 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d2 to d of class C to revert back to original text Input:: @@ -279,14 +236,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... @@ -358,14 +307,6 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property d to d2 of class C Input:: @@ -376,14 +317,6 @@ export class C } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -459,11 +392,3 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index c438e699ca1e8..54fdd1b5eba79 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -50,14 +50,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -207,27 +199,6 @@ import "./d"; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1, - "/user/username/projects/myproject/b.ts": 1, - "/user/username/projects/myproject/c.ts": 1, - "/user/username/projects/myproject/d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 8, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords to initialize signatures Input:: @@ -242,14 +213,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -326,14 +289,6 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x to x2 of interface Coords to revert back to original text Input:: @@ -348,14 +303,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -448,14 +395,6 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property x2 to x of interface Coords Input:: @@ -470,14 +409,6 @@ export interface Coords { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... @@ -553,11 +484,3 @@ export interface Coords { //// [/user/username/projects/myproject/c.d.ts] file written with same contents //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 83d3c3d61c184..91452c7142d6f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -49,14 +49,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -251,30 +243,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 5, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -284,14 +252,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... @@ -373,14 +333,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -390,14 +342,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -473,14 +417,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -490,14 +426,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:58 AM] File change detected. Starting incremental compilation... @@ -578,11 +506,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 97196c6799bdc..058f6fe2036ea 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -55,14 +55,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -283,31 +275,6 @@ export declare class App { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/lib2/public.ts": 1, - "/user/username/projects/myproject/lib2/data.ts": 1, - "/user/username/projects/myproject/lib1/public.ts": 1, - "/user/username/projects/myproject/lib2/data2.ts": 1, - "/user/username/projects/myproject/lib1/tools/public.ts": 1, - "/user/username/projects/myproject/lib1/tools/tools.interface.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/lib2": 7, - "/user/username/projects/myproject/lib1": 3, - "/user/username/projects/myproject/lib1/tools": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest to initialize signatures Input:: @@ -317,14 +284,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -412,14 +371,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title2 to title of interface ITest to revert back to original text Input:: @@ -429,14 +380,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:41 AM] File change detected. Starting incremental compilation... @@ -518,14 +461,6 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename property title to title2 of interface ITest Input:: @@ -535,14 +470,6 @@ export interface ITest { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:10 AM] File change detected. Starting incremental compilation... @@ -629,11 +556,3 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/data.d.ts] file written with same contents //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 90431b2342c04..83a5707d25137 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --incremental Output:: >> Screen clear @@ -175,39 +167,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/noemitonerror/dev-build": 1, - "/user/username/projects/noemitonerror": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -257,14 +221,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -275,14 +231,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... @@ -420,19 +368,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -441,14 +376,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... @@ -576,27 +503,11 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... @@ -646,14 +557,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -662,14 +565,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -781,27 +676,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -845,11 +724,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js index ab7be45739412..e95bfc9ace12c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js @@ -33,14 +33,6 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: >> Screen clear @@ -99,37 +91,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/noemitonerror/tsconfig.json": 1, - "/user/username/projects/noemitonerror/shared/types/db.ts": 1 -} - -directoryExists:: { - "/user/username/projects/noemitonerror/shared/types": 2, - "/user/username/projects/noemitonerror/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -179,14 +145,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Syntax error Input:: @@ -197,14 +155,6 @@ const a = { }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -284,20 +234,6 @@ export {}; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/noemitonerror/dev-build/shared/types": 1, - "/user/username/projects/noemitonerror/dev-build/shared": 1, - "/user/username/projects/noemitonerror/dev-build": 2, - "/user/username/projects/noemitonerror": 1, - "/user/username/projects/noemitonerror/dev-build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Semantic Error Input:: @@ -306,14 +242,6 @@ import { A } from "../shared/types/db"; const a: string = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -365,27 +293,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -435,14 +347,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix Semantic Error Input:: @@ -451,14 +355,6 @@ import { A } from "../shared/types/db"; const a: string = "hello"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -512,27 +408,11 @@ var a = "hello"; //// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -576,11 +456,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index dc672976f31dc..b1d511faa2c44 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -36,14 +36,6 @@ export const App = () =>
; {"compilerOptions":{"jsx":"react-jsx","jsxImportSource":"react","forceConsistentCasingInFileNames":true},"files":["node_modules/react/jsx-Runtime/index.d.ts","index.tsx"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -118,30 +110,3 @@ var App = function () { return (0, jsx_runtime_1.jsx)("div", { propA: true }); } exports.App = App; - -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime/package.json": 1, - "/user/username/projects/myproject/node_modules/react/package.json": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime.ts": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime.tsx": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime.d.ts": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.ts": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.tsx": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/myproject/node_modules/react/jsx-runtime": 3, - "/user/username/projects/myproject/node_modules/react": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index 06fa863b34d6a..33e472c837816 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -30,14 +30,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - c:/a/lib/tsc.js --w --p c://project --explainFiles Output:: >> Screen clear @@ -111,21 +103,6 @@ a_2.b; -fileExists:: { - "c:/project/tsconfig.json": 1, - "c:/project/a.ts": 2 -} - -directoryExists:: { - "c:/project": 5, - "c:/project/node_modules/@types": 1, - "c:/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -137,14 +114,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -207,11 +176,3 @@ exports.b = 2; //// [c:/project/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index ec98f3ffc0b05..e8961da542b86 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -30,14 +30,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - C:/a/lib/tsc.js --w --p C://project --explainFiles Output:: >> Screen clear @@ -111,21 +103,6 @@ a_2.b; -fileExists:: { - "c:/project/tsconfig.json": 1, - "c:/project/a.ts": 2 -} - -directoryExists:: { - "c:/project": 5, - "c:/project/node_modules/@types": 1, - "c:/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -137,14 +114,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -207,11 +176,3 @@ exports.b = 2; //// [C:/project/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index 861422d21789c..634c9ca43fadb 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -139,26 +131,6 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy/a.ts": 1, - "/user/username/projects/myproject/link/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/xy": 1, - "/user/username/projects/myproject/link": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -170,14 +142,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -277,11 +241,3 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index fc5bcab064beb..53467069a4612 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -127,25 +119,6 @@ link_1.b; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy.ts": 1, - "/user/username/projects/myproject/link.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -157,14 +130,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -232,11 +197,3 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index c272a77712249..6f765544f578c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -97,25 +89,6 @@ new logger_1.logger(); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/logger.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change module name from logger to Logger Input:: @@ -123,14 +96,6 @@ Input:: import { logger } from "./Logger"; new logger(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -188,20 +153,3 @@ var Logger_1 = require("./Logger"); new Logger_1.logger(); - -fileExists:: { - "/user/username/projects/myproject/logger.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 5bb7a938e67d3..b847f8fdb410d 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -139,26 +131,6 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy/a.ts": 1, - "/user/username/projects/myproject/link/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/xy": 1, - "/user/username/projects/myproject/link": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -170,14 +142,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -277,11 +241,3 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index ef2d7111a230e..094ce2ca94265 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -127,25 +119,6 @@ link_1.b; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy.ts": 1, - "/user/username/projects/myproject/link.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -157,14 +130,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -232,11 +197,3 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 25eee29b8c4c4..c9f4403e401f2 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -145,25 +137,6 @@ System.register("XY/a", [], function (exports_3, context_3) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/link/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/yx": 2, - "/user/username/projects/myproject/link": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -175,14 +148,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -288,11 +253,3 @@ System.register("XY/a", [], function (exports_3, context_3) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 5c017e8b12755..39c9167334e37 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -135,30 +127,6 @@ link_1.b; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/yx.ts": 1, - "/user/username/projects/myproject/yx.tsx": 1, - "/user/username/projects/myproject/yx.d.ts": 1, - "/user/username/projects/myproject/yx.js": 1, - "/user/username/projects/myproject/yx.jsx": 1, - "/user/username/projects/myproject/link.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 6, - "/user/username/projects/myproject/yx": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -170,14 +138,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -250,11 +210,3 @@ exports.a = 1; exports.b = 2; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 951b66ee93f53..a3571bb39360c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -147,26 +139,6 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy/a.ts": 1, - "/user/username/projects/myproject/link/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/xy": 1, - "/user/username/projects/myproject/link": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -178,14 +150,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -293,11 +257,3 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 35d5c2f5d408b..f0059e68a8b7b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -135,25 +127,6 @@ link_1.b; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy.ts": 1, - "/user/username/projects/myproject/link.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -165,14 +138,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -248,11 +213,3 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index c940f20bbd831..effb28f973961 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true,"outFile":"out.js","module":"system"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -147,26 +139,6 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy/a.ts": 1, - "/user/username/projects/myproject/link/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/xy": 1, - "/user/username/projects/myproject/link": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -178,14 +150,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -293,11 +257,3 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { }); - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index ee9adb8c22d3f..23c67c71ac06b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -31,14 +31,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -135,25 +127,6 @@ link_1.b; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/xy.ts": 1, - "/user/username/projects/myproject/link.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -165,14 +138,6 @@ export const b = 2; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -248,11 +213,3 @@ exports.b = 2; //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index 5c98f0f2791a3..481cc141c2a56 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -25,14 +25,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p . --explainFiles Output:: >> Screen clear @@ -141,24 +133,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/modulec.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Prepend a line to moduleA Input:: @@ -167,14 +141,6 @@ Input:: import a = require("./ModuleC") -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -259,11 +225,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/moduleA.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js index 248b6cc396917..de81b0d9b7e94 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -97,38 +89,11 @@ new logger_1.logger(); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/logger.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change name of file from logger to Logger Input:: //// [/user/username/projects/myproject/Logger.ts] file was renamed from file /user/username/projects/myproject/logger.ts -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -177,17 +142,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index cdbe9bb63f36c..c2346e39d96e6 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -27,14 +27,6 @@ import classNames from "classnames"; classNames().foo; {"compilerOptions":{"module":"commonjs","incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -148,33 +140,6 @@ var classnames_1 = require("classnames"); } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/classnames/package.json": 1, - "/users/username/projects/project/node_modules/classnames.ts": 1, - "/users/username/projects/project/node_modules/classnames.tsx": 1, - "/users/username/projects/project/node_modules/classnames.d.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.tsx": 1, - "/users/username/projects/project/node_modules/classnames/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/src/node_modules": 1, - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/classnames": 1, - "/users/username/projects/project/src/types/node_modules": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -182,14 +147,6 @@ Input:: export {}; declare module "classnames" { interface Result {} } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: src/index.ts:1:51 - error TS2339: Property 'foo' does not exist on type 'Result'. @@ -307,30 +264,3 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 1237 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/classnames/package.json": 1, - "/users/username/projects/project/node_modules/classnames.ts": 1, - "/users/username/projects/project/node_modules/classnames.tsx": 1, - "/users/username/projects/project/node_modules/classnames.d.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.tsx": 1, - "/users/username/projects/project/node_modules/classnames/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/src/node_modules": 1, - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/classnames": 1, - "/users/username/projects/project/src/types/node_modules": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index d24b6f62d34ee..14d6f7c11844c 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -27,14 +27,6 @@ import classNames from "classnames"; classNames().foo; {"compilerOptions":{"module":"commonjs","incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -173,33 +165,6 @@ var classnames_1 = require("classnames"); } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/classnames/package.json": 1, - "/users/username/projects/project/node_modules/classnames.ts": 1, - "/users/username/projects/project/node_modules/classnames.tsx": 1, - "/users/username/projects/project/node_modules/classnames.d.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.tsx": 1, - "/users/username/projects/project/node_modules/classnames/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/src/node_modules": 1, - "/users/username/projects/project/node_modules": 2, - "/users/username/projects/project/node_modules/classnames": 3, - "/users/username/projects/project/src/types/node_modules": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -207,14 +172,6 @@ Input:: export {}; declare module "classnames" { interface Result {} } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] Starting compilation in watch mode... @@ -354,30 +311,3 @@ exitCode:: ExitStatus.undefined "size": 1237 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/classnames/package.json": 1, - "/users/username/projects/project/node_modules/classnames.ts": 1, - "/users/username/projects/project/node_modules/classnames.tsx": 1, - "/users/username/projects/project/node_modules/classnames.d.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.ts": 1, - "/users/username/projects/project/node_modules/classnames/index.tsx": 1, - "/users/username/projects/project/node_modules/classnames/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/src/node_modules": 1, - "/users/username/projects/project/node_modules": 2, - "/users/username/projects/project/node_modules/classnames": 3, - "/users/username/projects/project/src/types/node_modules": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index bc45064c6f302..ebc849b3d4904 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -27,14 +27,6 @@ export const x = {...{}}; {"compilerOptions":{"importHelpers":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -128,45 +120,12 @@ exports.x = tslib_1.__assign({}); } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/tslib/package.json": 1, - "/users/username/projects/project/node_modules/tslib.ts": 1, - "/users/username/projects/project/node_modules/tslib.tsx": 1, - "/users/username/projects/project/node_modules/tslib.d.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.tsx": 1, - "/users/username/projects/project/node_modules/tslib/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/tslib": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/node_modules/tslib/index.d.ts] deleted //// [/users/username/projects/project/node_modules/tslib/package.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: index.tsx:1:19 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. @@ -247,36 +206,3 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 975 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/tslib/package.json": 1, - "/users/username/projects/project/node_modules/tslib.ts": 1, - "/users/username/projects/project/node_modules/tslib.tsx": 1, - "/users/username/projects/project/node_modules/tslib.d.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.tsx": 1, - "/users/username/projects/project/node_modules/tslib/index.d.ts": 1, - "/users/username/projects/project/node_modules/tslib.js": 1, - "/users/username/projects/project/node_modules/tslib.jsx": 1, - "/users/username/projects/project/node_modules/tslib/index.js": 1, - "/users/username/projects/project/node_modules/tslib/index.jsx": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/tslib": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules": 1, - "/users/username/node_modules": 1, - "/users/node_modules": 1, - "/node_modules": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js index 3f19c9aa5b05c..013f8e9db8614 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js @@ -27,14 +27,6 @@ export const x = {...{}}; {"compilerOptions":{"importHelpers":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -95,45 +87,12 @@ exports.x = tslib_1.__assign({}); -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/tslib/package.json": 1, - "/users/username/projects/project/node_modules/tslib.ts": 1, - "/users/username/projects/project/node_modules/tslib.tsx": 1, - "/users/username/projects/project/node_modules/tslib.d.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.tsx": 1, - "/users/username/projects/project/node_modules/tslib/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 2, - "/users/username/projects/project/node_modules/tslib": 3, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/node_modules/tslib/index.d.ts] deleted //// [/users/username/projects/project/node_modules/tslib/package.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] Starting compilation in watch mode... @@ -185,36 +144,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/users/username/projects/project/index.js] file written with same contents - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/tslib/package.json": 1, - "/users/username/projects/project/node_modules/tslib.ts": 1, - "/users/username/projects/project/node_modules/tslib.tsx": 1, - "/users/username/projects/project/node_modules/tslib.d.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.ts": 1, - "/users/username/projects/project/node_modules/tslib/index.tsx": 1, - "/users/username/projects/project/node_modules/tslib/index.d.ts": 1, - "/users/username/projects/project/node_modules/tslib.js": 1, - "/users/username/projects/project/node_modules/tslib.jsx": 1, - "/users/username/projects/project/node_modules/tslib/index.js": 1, - "/users/username/projects/project/node_modules/tslib/index.jsx": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 4, - "/users/username/projects/project/node_modules/tslib": 5, - "/users/username/projects/project/node_modules/@types": 2, - "/users/username/projects/node_modules": 2, - "/users/username/node_modules": 2, - "/users/node_modules": 2, - "/node_modules": 2, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js index 79426dfb6d129..9fcbe347f8e5f 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js @@ -43,14 +43,6 @@ export { C } from "./c"; {"compilerOptions":{"incremental":true,"target":"es5","module":"commonjs","declaration":true,"emitDeclarationOnly":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -217,26 +209,6 @@ export { C } from "./c"; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/b.ts": 1, - "/users/username/projects/project/c.ts": 1, - "/users/username/projects/project/a.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -249,14 +221,6 @@ export interface A { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: @@ -403,23 +367,3 @@ export interface A { "size": 1130 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/b.ts": 1, - "/users/username/projects/project/c.ts": 1, - "/users/username/projects/project/a.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js index 0910b32050262..9dfa11ed63a19 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js @@ -43,14 +43,6 @@ export { C } from "./c"; {"compilerOptions":{"incremental":true,"target":"es5","module":"commonjs","declaration":true,"emitDeclarationOnly":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -238,26 +230,6 @@ export { C } from "./c"; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/b.ts": 1, - "/users/username/projects/project/c.ts": 1, - "/users/username/projects/project/a.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project": 6, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -270,14 +242,6 @@ export interface A { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:44 AM] Starting compilation in watch mode... @@ -445,23 +409,3 @@ export interface A { "size": 1130 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/b.ts": 1, - "/users/username/projects/project/c.ts": 1, - "/users/username/projects/project/a.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project": 6, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index ad7ad5652eeaa..8f677cebaf87d 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -21,14 +21,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: index.tsx:1:26 - error TS2307: Cannot find module 'react/jsx-runtime' or its corresponding type declarations. @@ -123,27 +115,6 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/node_modules": 1, - "/users/username/node_modules": 1, - "/users/node_modules": 1, - "/node_modules": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -165,14 +136,6 @@ export const Fragment: unique symbol; {"name":"react","version":"0.0.1"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: @@ -257,30 +220,3 @@ exitCode:: ExitStatus.Success "size": 1281 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 1, - "/users/username/projects/project/node_modules/react": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index 5ac430f45bad9..e45b207c97124 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -21,14 +21,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -137,27 +129,6 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 2, - "/users/username/projects/node_modules": 2, - "/users/username/node_modules": 2, - "/users/node_modules": 2, - "/node_modules": 2, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -179,14 +150,6 @@ export const Fragment: unique symbol; {"name":"react","version":"0.0.1"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -294,30 +257,3 @@ exitCode:: ExitStatus.undefined "size": 1281 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 3, - "/users/username/projects/project/node_modules/react": 2, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index a90f6ee51d166..a083115e1a363 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -38,14 +38,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -142,47 +134,12 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 1, - "/users/username/projects/project/node_modules/react": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts] deleted //// [/users/username/projects/project/node_modules/react/package.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: index.tsx:1:26 - error TS2307: Cannot find module 'react/jsx-runtime' or its corresponding type declarations. @@ -265,38 +222,3 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 1038 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.js": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.jsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.js": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.jsx": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 1, - "/users/username/projects/project/node_modules/react": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules": 1, - "/users/username/node_modules": 1, - "/users/node_modules": 1, - "/node_modules": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index 375e75b677c73..cd0d1e7b8b18d 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -38,14 +38,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -165,47 +157,12 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 3, - "/users/username/projects/project/node_modules/react": 2, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts] deleted //// [/users/username/projects/project/node_modules/react/package.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] Starting compilation in watch mode... @@ -306,38 +263,3 @@ exitCode:: ExitStatus.undefined "size": 1038 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.js": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.jsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.js": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.jsx": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 2, - "/users/username/projects/project/node_modules/react/jsx-runtime": 5, - "/users/username/projects/project/node_modules/react": 3, - "/users/username/projects/project/node_modules/@types": 2, - "/users/username/projects/node_modules": 2, - "/users/username/node_modules": 2, - "/users/node_modules": 2, - "/node_modules": 2, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index e66802e82beb2..7b5c667c63a9c 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -55,14 +55,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i --explainFiles Output:: ../../../../a/lib/lib.d.ts @@ -165,33 +157,6 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 1, - "/users/username/projects/project/node_modules/react": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -199,14 +164,6 @@ Input:: {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"preact"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: index.tsx:1:31 - error TS2322: Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'. Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'? @@ -338,30 +295,3 @@ exports.App = App; "size": 1629 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/preact/package.json": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime": 1, - "/users/username/projects/project/node_modules/preact": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index f0d840dbe3a25..7725b4acdace9 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -55,14 +55,6 @@ export const App = () =>
; {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"react"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w --explainFiles Output:: >> Screen clear @@ -188,33 +180,6 @@ exports.App = App; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/react/package.json": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/react/jsx-runtime": 3, - "/users/username/projects/project/node_modules/react": 2, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -222,14 +187,6 @@ Input:: {"compilerOptions":{"module":"commonjs","jsx":"react-jsx","incremental":true,"jsxImportSource":"preact"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] Starting compilation in watch mode... @@ -381,30 +338,3 @@ exports.App = App; "size": 1629 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/package.json": 1, - "/users/username/projects/project/node_modules/preact/package.json": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.tsx": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime.d.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.ts": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.tsx": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts": 2 -} - -directoryExists:: { - "/users/username/projects/project/node_modules": 1, - "/users/username/projects/project/node_modules/preact/jsx-runtime": 3, - "/users/username/projects/project/node_modules/preact": 2, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js index b1c43cdab0b26..fcadad4ec2672 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js @@ -22,14 +22,6 @@ export const y: string = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: file2.ts:1:14 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -140,22 +132,6 @@ define(["require", "exports"], function (require, exports) { } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -163,14 +139,6 @@ Input:: export const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: file2.ts:1:14 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -266,19 +234,3 @@ define(["require", "exports"], function (require, exports) { "size": 912 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js index 75ef74a9f4c04..2e79391f863c7 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js @@ -22,14 +22,6 @@ export const y: string = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -154,22 +146,6 @@ define(["require", "exports"], function (require, exports) { } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -177,14 +153,6 @@ Input:: export const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -294,19 +262,3 @@ define(["require", "exports"], function (require, exports) { "size": 912 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js index b655010cef51f..3332c7e75e276 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js @@ -22,14 +22,6 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -120,22 +112,6 @@ define(["require", "exports"], function (require, exports) { } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -143,14 +119,6 @@ Input:: export const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: @@ -226,19 +194,3 @@ define(["require", "exports"], function (require, exports) { "size": 765 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js index 40be5959ebddb..68cba3cbea504 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js @@ -22,14 +22,6 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -137,22 +129,6 @@ define(["require", "exports"], function (require, exports) { } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -160,14 +136,6 @@ Input:: export const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -260,19 +228,3 @@ define(["require", "exports"], function (require, exports) { "size": 765 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 80fc6edb280dc..8a71cb9ba18c3 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -22,14 +22,6 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd","outFile":"out.js"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -115,20 +107,3 @@ define("file2", ["require", "exports"], function (require, exports) { ====================================================================== - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/out.js": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index d2177c14f3a70..57a5fb23c019d 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -22,14 +22,6 @@ export const y = 20; {"compilerOptions":{"incremental":true,"module":"amd","outFile":"out.js"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -132,20 +124,3 @@ define("file2", ["require", "exports"], function (require, exports) { ====================================================================== - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/out.js": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js index 4c07c8910075d..7246a7f1db2ba 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js @@ -22,14 +22,6 @@ const x = 10; const y: string = 20; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: file2.ts:1:7 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -129,22 +121,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -152,14 +128,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: file2.ts:1:7 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -253,19 +221,3 @@ var z = 10; "size": 977 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js index 6d2986dca4748..0bb59d7451bd4 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js @@ -22,14 +22,6 @@ const x = 10; const y: string = 20; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -143,22 +135,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -166,14 +142,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -281,19 +249,3 @@ var z = 10; "size": 977 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js index b12253e110e0a..4bcf107f5802e 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i -p tsconfig.json Output:: @@ -109,23 +101,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -133,14 +108,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: @@ -214,20 +181,3 @@ var z = 10; "size": 830 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js index 9680169c6c616..80549bfa4b8ed 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p tsconfig.json Output:: >> Screen clear @@ -126,23 +118,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -150,14 +125,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -248,20 +215,3 @@ var z = 10; "size": 830 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js index dd548d74640fa..f4c092fab8618 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -109,22 +101,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -132,14 +108,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: @@ -213,19 +181,3 @@ var z = 10; "size": 830 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js index 69bf5d9a4cff0..fa1e250c159cc 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -126,22 +118,6 @@ var y = 20; } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: @@ -149,14 +125,6 @@ Input:: const z = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] Starting compilation in watch mode... @@ -247,19 +215,3 @@ var z = 10; "size": 830 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js index 34f2cd7ba0f80..fa9ddd25d6b9a 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js @@ -24,14 +24,6 @@ console.log(Config.value); {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -107,35 +99,11 @@ console.log(Config.value); } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/globals.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: index.ts:1:13 - error TS2304: Cannot find name 'Config'. @@ -215,19 +183,3 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "size": 880 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js index a021de553749e..2ff03fa62b66a 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js @@ -24,14 +24,6 @@ console.log(Config.value); {"compilerOptions":{"incremental":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -124,35 +116,11 @@ console.log(Config.value); } -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Input:: //// [/users/username/projects/project/globals.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] Starting compilation in watch mode... @@ -244,19 +212,3 @@ exitCode:: ExitStatus.undefined "size": 880 } - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 58e83d4dfa392..2fb8c52d18eab 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true,"outFile":"out.js"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -i Output:: @@ -95,20 +87,3 @@ var y = 20; ====================================================================== - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/out.js": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index efef1ec7d372e..3f5801abc8b12 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -22,14 +22,6 @@ const y = 20; {"compilerOptions":{"incremental":true,"outFile":"out.js"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -112,20 +104,3 @@ var y = 20; ====================================================================== - -fileExists:: { - "/users/username/projects/project/tsconfig.json": 1, - "/users/username/projects/project/out.js": 1 -} - -directoryExists:: { - "/users/username/projects/project/node_modules/@types": 1, - "/users/username/projects/node_modules/@types": 1, - "/users/username/node_modules/@types": 1, - "/users/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index d1b3ac181cb0c..38a03f26ac618 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -36,14 +36,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --project ./packages/pkg1/tsconfig.json -w --traceResolution Output:: >> Screen clear @@ -153,51 +145,6 @@ exports.theNum = 42; -fileExists:: { - "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1/tsconfig.json": 1, - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/pkg1/build": 1, - "/user/username/projects/myproject/packages/pkg1": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: reports import errors after change to package file Input:: @@ -205,14 +152,6 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/other.js"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:53 AM] File change detected. Starting incremental compilation... @@ -300,40 +239,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents -fileExists:: { - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/other.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: removes those errors when a package file is changed back Input:: @@ -341,14 +246,6 @@ Input:: {"name":"pkg2","version":"1.0.0","main":"build/index.js"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... @@ -448,44 +345,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/node_modules/pkg2/package.json": 1, - "/user/username/projects/myproject/node_modules/pkg2.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.js.d.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.ts": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.tsx": 1, - "/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/index.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.js.d.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.ts": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.tsx": 1, - "/user/username/projects/myproject/packages/pkg2/build/const.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/pkg1/node_modules": 1, - "/user/username/projects/myproject/packages/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/pkg2": 2, - "/user/username/projects/myproject/node_modules/pkg2/build": 4, - "/user/username/projects/myproject/packages/pkg2/build": 3, - "/user/username/projects/myproject/packages/pkg1/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js index 4614ace947bae..bad3c2f405f98 100644 --- a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js +++ b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js @@ -27,14 +27,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /project/tsconfig.json Output:: >> Screen clear @@ -98,34 +90,6 @@ Thing.fn(); -fileExists:: { - "/project/tsconfig.json": 1, - "/project/src/package.json": 3, - "/project/package.json": 3, - "/a/lib/package.json": 2, - "/a/package.json": 2, - "/package.json": 2 -} - -directoryExists:: { - "/project/tsconfig.json": 1, - "/project/src": 3, - "/project": 3, - "/project/src/node_modules": 2, - "/project/node_modules": 2, - "/node_modules": 2, - "/project/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/lib": 2, - "/a": 2, - "/": 2, - "/dist": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify typescript file Input:: @@ -134,14 +98,6 @@ import * as Thing from "thing"; Thing.fn(); -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -189,23 +145,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/dist/index.js] file written with same contents - -fileExists:: { - "/a/lib/package.json": 1, - "/a/package.json": 1, - "/package.json": 1, - "/project/src/package.json": 3, - "/project/package.json": 3 -} - -directoryExists:: { - "/a/lib": 1, - "/a": 1, - "/": 1, - "/project/src": 3, - "/project": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js index 87b646acb3543..49927e202caad 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Configure-file-diagnostics-events-are-generated-when-the-config-file-has-errors.js @@ -24,14 +24,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -88,18 +80,3 @@ exitCode:: ExitStatus.undefined var x = 10; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js index aa3bfaac41caa..8b8222669058e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js @@ -27,14 +27,6 @@ interface Array { length: number; [n: number]: T; } } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -95,21 +87,6 @@ var x = 10; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQSJ9 -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove the comment from config file Input:: @@ -123,14 +100,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -183,11 +152,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js index 6d1b75eb96817..2cd209a3fd767 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Proper-errors-document-is-not-contained-in-project.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -82,18 +74,3 @@ exitCode:: ExitStatus.undefined //// [/a/b/app.js] - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js index 727842d40b4c2..3f1f97f6c4719 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -74,21 +66,6 @@ var x = 10; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change config file to add error Input:: @@ -100,14 +77,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -151,14 +120,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change config file to remove error Input:: @@ -169,14 +130,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -214,11 +167,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js index 47d341bfcf1d1..a06197c668323 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js @@ -19,14 +19,6 @@ label: while (1) {} {"compilerOptions":{"allowUnusedLabels":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /tsconfig.json Output:: >> Screen clear @@ -72,19 +64,6 @@ label: while (1) { } -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: { - "/tsconfig.json": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Disable allowUnsusedLabels Input:: @@ -92,14 +71,6 @@ Input:: {"compilerOptions":{"allowUnusedLabels":false}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -143,14 +114,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable allowUnsusedLabels Input:: @@ -158,14 +121,6 @@ Input:: {"compilerOptions":{"allowUnusedLabels":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... @@ -203,11 +158,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js index f1736cdeef21e..4c5f9fd874543 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -74,21 +66,6 @@ var x = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Create commonFile2 Input:: @@ -96,14 +73,6 @@ Input:: let y = 1 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -154,18 +123,3 @@ exitCode:: ExitStatus.undefined var y = 1; - -fileExists:: { - "/a/b/commonfile2.js": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/commonfile2.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js index 89c73b4c0af9c..dbcedcb926755 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/file1.ts Output:: >> Screen clear @@ -75,24 +67,6 @@ T.bar(); -fileExists:: { - "/a/b/modulefile.ts": 1, - "/a/b/modulefile.tsx": 1, - "/a/b/modulefile.d.ts": 1, - "/a/b/modulefile.js": 1, - "/a/b/modulefile.jsx": 1 -} - -directoryExists:: { - "/a/b": 4, - "/a/b/modulefile": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Create module file Input:: @@ -100,14 +74,6 @@ Input:: export function bar() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -155,16 +121,3 @@ function bar() { } exports.bar = bar; - -fileExists:: { - "/a/b/modulefile.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 8c3ae3a835b05..198407636764c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -22,14 +22,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -75,21 +67,6 @@ var x = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify config to make f2 as root too Input:: @@ -97,14 +74,6 @@ Input:: {"compilerOptions":{},"files":["f1.ts","f2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -153,15 +122,3 @@ exitCode:: ExitStatus.undefined var y = 1; - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index abfe5b998c059..bdc830d204aef 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -74,21 +66,6 @@ var x = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Write f2 Input:: @@ -96,14 +73,6 @@ Input:: let y = 1 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -154,18 +123,3 @@ exitCode:: ExitStatus.undefined var y = 1; - -fileExists:: { - "/a/b/f2.js": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/f2.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index df04537f9eea1..4d67e95eb4725 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } {"include":[".","./**/*.json"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p . Output:: >> Screen clear @@ -79,23 +71,6 @@ exports.x = 10; -fileExists:: { - "/user/username/projects/myproject/project/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/project/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Write file2 Input:: @@ -103,14 +78,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -162,21 +129,3 @@ exports.y = void 0; exports.y = 10; - -fileExists:: { - "/user/username/projects/myproject/project/file2.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/project/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/project/file2.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js index ac79605fe4451..0f5f85ff676ef 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-handle-tsconfig-file-name-with-difference-casing.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } {"include":["app.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /A/B/tsconfig.json Output:: >> Screen clear @@ -71,18 +63,3 @@ exitCode:: ExitStatus.undefined var x = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js index 18e307728ea0b..266ea82a68489 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -22,14 +22,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts","f2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -84,21 +76,6 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify config to set outFile option Input:: @@ -106,14 +83,6 @@ Input:: {"compilerOptions":{"outFile":"out.js"},"files":["f1.ts","f2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -157,11 +126,3 @@ var x = 1; var y = 1; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js index 81fcee363cd05..5e03660aaa3c6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js +++ b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js @@ -20,14 +20,6 @@ interface Array { length: number; [n: number]: T; } {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -76,21 +68,6 @@ exports.__esModule = true; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change `module` to 'none' Input:: @@ -98,14 +75,6 @@ Input:: {"compilerOptions":{"module":"none"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -153,15 +122,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js index e827d1fbaa539..6f83238be91a8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/f1.ts --explainFiles Output:: >> Screen clear @@ -105,19 +97,6 @@ __exportStar(require("./f2"), exports); -fileExists:: { - "/a/b/f2.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify f2 to include f3 Input:: @@ -125,14 +104,6 @@ Input:: export * from "../c/f3" -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -212,16 +183,3 @@ exports.y = void 0; exports.y = 1; - -fileExists:: { - "/a/c/f3.ts": 1 -} - -directoryExists:: { - "/a/c": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js index 3f6b5ca76b26c..81afaa8af30a4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-includes-the-file.js @@ -25,14 +25,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f2.ts","f3.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/c/tsconfig.json Output:: >> Screen clear @@ -102,20 +94,3 @@ exports.y = void 0; exports.y = 1; - -fileExists:: { - "/a/c/tsconfig.json": 1, - "/a/b/f1.ts": 1 -} - -directoryExists:: { - "/a/c/tsconfig.json": 1, - "/a/b": 2, - "/a/c/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js index f28fff6025bd3..1a995e90899aa 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -22,14 +22,6 @@ interface Array { length: number; [n: number]: T; } {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -86,34 +78,11 @@ var y = 2; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete config file Input:: //// [/a/b/tsconfig.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: error TS5083: Cannot read file '/a/b/tsconfig.json'. @@ -139,11 +108,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js index 66b4a5e5d33c6..09159656db710 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js @@ -23,14 +23,6 @@ var x: Promise; {"compilerOptions":{"module":"commonjs","target":"es5","noImplicitAny":true,"sourceMap":false,"lib":["es5"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /compiler/tsc.js -w -p /src/tsconfig.json Output:: >> Screen clear @@ -83,21 +75,6 @@ var x; -fileExists:: { - "/src/tsconfig.json": 1 -} - -directoryExists:: { - "/src/tsconfig.json": 1, - "/src/node_modules/@types": 1, - "/node_modules/@types": 1, - "/node_modules": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change the lib in config Input:: @@ -105,14 +82,6 @@ Input:: {"compilerOptions":{"module":"commonjs","target":"es5","noImplicitAny":true,"sourceMap":false,"lib":["es5","es2015.promise"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -159,15 +128,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/src/app.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/src/node_modules/@types": 1, - "/node_modules/@types": 1, - "/node_modules": 4 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js index b0b998f187f1a..33ed2f53acdee 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-configured-project-without-file-list.js @@ -31,14 +31,6 @@ let y = 1 let z = 1 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -94,18 +86,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js index 41ab954b5a956..cb7dcd8725350 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/c/app.ts Output:: >> Screen clear @@ -90,18 +82,3 @@ var module_1 = require("./module"); console.log(module_1.f); - -fileExists:: { - "/a/b/c/module.ts": 1, - "/a/b/c/module.tsx": 1, - "/a/b/c/module.d.ts": 1 -} - -directoryExists:: { - "/a/b/c": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js index e8d574a6fa060..5e5a7b6f05dff 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/f1.ts /a/c/f3.ts --noImplicitAny Output:: >> Screen clear @@ -124,34 +116,11 @@ __exportStar(require("./f2"), exports); -fileExists:: { - "/a/b/f2.ts": 1, - "/a/c/f3.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/a/c": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -196,19 +165,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents - -fileExists:: { - "/a/b/f2.tsx": 1, - "/a/b/f2.d.ts": 1, - "/a/b/f2.js": 1 -} - -directoryExists:: { - "/a/b": 4, - "/a/b/f2": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js index b2baf07013e0f..1252177b6b9b9 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/f1.ts --noImplicitAny Output:: >> Screen clear @@ -124,34 +116,11 @@ __exportStar(require("./f2"), exports); -fileExists:: { - "/a/b/f2.ts": 1, - "/a/c/f3.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/a/c": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -193,19 +162,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents - -fileExists:: { - "/a/b/f2.tsx": 1, - "/a/b/f2.d.ts": 1, - "/a/b/f2.js": 1 -} - -directoryExists:: { - "/a/b": 4, - "/a/b/f2": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js index c4d5711a94ceb..efaad4632b2de 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js +++ b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js @@ -28,14 +28,6 @@ let y = 1 {"extends":"./first.tsconfig.json"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -90,21 +82,6 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change config to extend another config Input:: @@ -112,14 +89,6 @@ Input:: {"extends":"./second.tsconfig.json","compilerOptions":{},"files":["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... @@ -166,17 +135,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/a/b/second.tsconfig.json": 1, - "/a/b/first.tsconfig.json": 1 -} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change first extended config Input:: @@ -184,14 +142,6 @@ Input:: {"compilerOptions":{"strict":false}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -238,17 +188,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/a/b/second.tsconfig.json": 1, - "/a/b/first.tsconfig.json": 1 -} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change second extended config Input:: @@ -256,14 +195,6 @@ Input:: {"extends":"./first.tsconfig.json","compilerOptions":{"strictNullChecks":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -310,17 +241,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/a/b/second.tsconfig.json": 1, - "/a/b/first.tsconfig.json": 1 -} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change config to stop extending another config Input:: @@ -328,14 +248,6 @@ Input:: {"compilerOptions":{},"files":["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -377,11 +289,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js index 1b73b894d699e..67b8d85e3d235 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/file-in-files-is-deleted.js @@ -22,14 +22,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{},"files":["f1.ts","f2.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -84,34 +76,11 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete f2 Input:: //// [/a/b/f2.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -160,15 +129,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/f1.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js index 56cfce54c95f3..3dd5287c0c29a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/files-explicitly-excluded-in-config-file.js @@ -28,14 +28,6 @@ let t = 1; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -91,18 +83,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js index ef993cb0507ea..a1adb29d11034 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -22,14 +22,6 @@ let y = 1 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json --explainFiles Output:: >> Screen clear @@ -92,21 +84,6 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file to ensure signatures are updated Input:: @@ -114,14 +91,6 @@ Input:: let y = 1;let xy = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -180,27 +149,11 @@ var xy = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: delete file2 Input:: //// [/a/b/commonFile2.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -246,18 +199,6 @@ exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: recreate file2 Input:: @@ -265,18 +206,6 @@ Input:: let y = 1 -fileExists:: { - "/a/b/commonfile2.ts": 1 -} - -directoryExists:: { - "/a/b/commonfile2.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -333,15 +262,3 @@ exitCode:: ExitStatus.undefined var y = 1; - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js index 0a8ca9ab22aca..979458664886f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handles-the-missing-files---that-were-added-to-program-because-they-were-added-with-tripleSlashRefs.js @@ -17,14 +17,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/commonFile1.ts Output:: >> Screen clear @@ -79,16 +71,6 @@ var x = y; -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: create file2 Input:: @@ -96,14 +78,6 @@ Input:: let y = 1 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -148,15 +122,3 @@ exitCode:: ExitStatus.undefined var y = 1; - -fileExists:: { - "/a/b/commonfile2.ts": 2 -} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js index 7c344aaf1c4ac..42c8939567406 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js +++ b/tests/baselines/reference/tscWatch/programUpdates/if-config-file-doesnt-have-errors,-they-are-not-reported.js @@ -21,14 +21,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -75,18 +67,3 @@ exitCode:: ExitStatus.undefined var x = 10; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 84c4c68587c12..46c0fd771ac4e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -25,14 +25,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/tsconfig.json Output:: >> Screen clear @@ -68,15 +60,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: { - "/a/tsconfig.json": 1 -} - -directoryExists:: { - "/a/tsconfig.json": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js index d1eef27dbe6ae..bc8812d17871d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tscWatch/programUpdates/non-existing-directories-listed-in-config-file-input-array-should-be-tolerated-without-crashing-the-server.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -68,15 +60,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js index e5dd1c5bb8236..52728c1d945f4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -94,23 +86,6 @@ T.bar(); -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/modulefile.ts": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename moduleFile to moduleFile1 Input:: @@ -120,14 +95,6 @@ export function bar() { }; //// [/a/b/moduleFile.ts] deleted //// [/a/b/moduleFile.js] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -192,27 +159,6 @@ exports.bar = bar; -fileExists:: { - "/a/b/modulefile.ts": 1, - "/a/b/modulefile.tsx": 1, - "/a/b/modulefile.d.ts": 1, - "/a/b/modulefile.js": 1, - "/a/b/modulefile.jsx": 1, - "/a/b/modulefile1.js": 2 -} - -directoryExists:: { - "/a/b/modulefile": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/modulefile1.js": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename moduleFile1 back to moduleFile Input:: @@ -221,20 +167,6 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted -fileExists:: { - "/a/b/modulefile1.ts": 2, - "/a/b/modulefile.ts": 2 -} - -directoryExists:: { - "/a/b/modulefile1.ts": 2, - "/a/b/modulefile.ts": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -289,18 +221,3 @@ exports.bar = bar; ; - -fileExists:: { - "/a/b/modulefile.js": 1 -} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/modulefile.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js index 415c66dd41f7e..187e8fe568146 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/file1.ts Output:: >> Screen clear @@ -85,19 +77,6 @@ T.bar(); -fileExists:: { - "/a/b/modulefile.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename moduleFile to moduleFile1 Input:: @@ -107,14 +86,6 @@ export function bar() { }; //// [/a/b/moduleFile.ts] deleted //// [/a/b/moduleFile.js] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -157,23 +128,6 @@ exitCode:: ExitStatus.undefined //// [/a/b/file1.js] file written with same contents -fileExists:: { - "/a/b/modulefile.tsx": 1, - "/a/b/modulefile.d.ts": 1, - "/a/b/modulefile.js": 1, - "/a/b/modulefile.jsx": 1 -} - -directoryExists:: { - "/a/b": 4, - "/a/b/modulefile": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename moduleFile1 back to moduleFile Input:: @@ -182,14 +136,6 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -238,16 +184,3 @@ exports.bar = bar; ; - -fileExists:: { - "/a/b/modulefile.ts": 1 -} - -directoryExists:: { - "/a/b": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js index 77de6828eab8c..406f6217436ac 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -95,26 +87,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/b.ts": 1 -} - -directoryExists:: { - "/user/username/projects": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/lib": 1, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Make changes to file a Input:: @@ -124,14 +96,6 @@ Input:: import { x } from "../b"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -180,11 +144,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js index 89ac1c5368d3f..cf4b0302ebedc 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js @@ -23,14 +23,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -93,24 +85,6 @@ var b = a_1.a; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change shape of a Input:: @@ -118,14 +92,6 @@ Input:: export const a: number = 1 -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -182,11 +148,3 @@ exports.a = void 0; exports.a = 1; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js index 1211054db2c0d..48ea2bbb8d547 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-handle-non-existing-directories-in-config-file.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/tsconfig.json Output:: >> Screen clear @@ -75,17 +67,3 @@ exitCode:: ExitStatus.undefined var x = 1; - -fileExists:: { - "/a/tsconfig.json": 1 -} - -directoryExists:: { - "/a/tsconfig.json": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js index 0abcc31b3b3c0..05c172cec7a46 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -28,14 +28,6 @@ interface Array { length: number; [n: number]: T; } } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -89,18 +81,3 @@ exitCode:: ExitStatus.undefined var x = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index 278b0dfed1b88..6eea8b4b620a9 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -233,43 +225,10 @@ export declare const d = 30; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/decls": 2, - "/user/username/projects/myproject/decls/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -295,14 +254,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -310,14 +261,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -406,35 +349,10 @@ export declare const y = 10; -fileExists:: { - "/user/username/projects/myproject/src/file3.js": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src/file3.js": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -461,11 +379,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index 52ea43d6e0534..aaa8113e67dc2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -233,45 +225,10 @@ export declare const d = 30; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 3, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/build": 2, - "/user/username/projects/myproject/decls": 2, - "/user/username/projects/myproject/build/src": 1, - "/user/username/projects/myproject/decls/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -297,14 +254,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -312,14 +261,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -408,32 +349,10 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -460,11 +379,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index 0834a114762e2..18b7c7536b52b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -225,43 +217,10 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/build": 2, - "/user/username/projects/myproject/build/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -287,14 +246,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -302,14 +253,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -394,32 +337,10 @@ define(["require", "exports"], function (require, exports) { -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -446,11 +367,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index b080f8ed3e47f..a665616e7e52a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -220,42 +212,10 @@ define("src/file2", ["require", "exports"], function (require, exports) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/build": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -281,14 +241,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -296,14 +248,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -399,32 +343,10 @@ define("src/file3", ["require", "exports"], function (require, exports) { -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -451,11 +373,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index 6c9dc7664e506..e7e009453d856 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -233,41 +225,10 @@ export declare const d = 30; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -293,14 +254,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -308,14 +261,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -404,37 +349,10 @@ export declare const y = 10; -fileExists:: { - "/user/username/projects/myproject/src/file3.js": 2, - "/user/username/projects/myproject/src/file3.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src/file3.js": 2, - "/user/username/projects/myproject/src/file3.d.ts": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -461,11 +379,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index fbef1f2410124..641d0e341de4b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -125,14 +125,6 @@ interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -225,41 +217,10 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file1.ts": 1, - "/user/username/projects/myproject/src/file1.tsx": 1, - "/user/username/projects/myproject/src/file1.d.ts": 1, - "/user/username/projects/myproject/file1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -285,14 +246,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file Input:: @@ -300,14 +253,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -392,35 +337,10 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/user/username/projects/myproject/src/file3.js": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src/file3.js": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -447,11 +367,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index de5c9bd518150..e184266ab3290 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -30,14 +30,6 @@ export interface T {} } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -93,24 +85,6 @@ exports.__esModule = true; -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/module1.ts": 2 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules": 2, - "/a/b/node_modules/module1": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change module resolution to classic Input:: @@ -123,14 +97,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -181,22 +147,3 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; - -fileExists:: { - "/a/b/module1.ts": 1, - "/a/b/module1.tsx": 1, - "/a/b/module1.d.ts": 1, - "/a/module1.ts": 1 -} - -directoryExists:: { - "/a/b": 1, - "/a": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js index b6273ccde165b..f645329658ee8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js @@ -25,14 +25,6 @@ let y = 1 } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json --explainFiles Output:: >> Screen clear @@ -93,21 +85,6 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change file to ensure signatures are updated Input:: @@ -115,14 +92,6 @@ Input:: let y = 1;let xy = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -179,14 +148,6 @@ var xy = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change config Input:: @@ -197,14 +158,6 @@ Input:: } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -247,15 +200,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/commonFile1.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js index 4bf73b82c1075..b365633a6644f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-support-files-without-extensions.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/compile Output:: >> Screen clear @@ -64,13 +56,3 @@ exitCode:: ExitStatus.undefined var x = 1; - -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js index 478b37995a322..b008330c1a700 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js @@ -28,14 +28,6 @@ interface Array { length: number; [n: number]: T; } } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -96,18 +88,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js index 32e7c5225ba6d..7675045eb4526 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js +++ b/tests/baselines/reference/tscWatch/programUpdates/shouldnt-report-error-about-unused-function-incorrectly-when-file-changes-from-global-to-module.js @@ -21,14 +21,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/file.ts --noUnusedLocals Output:: >> Screen clear @@ -75,16 +67,6 @@ function two() { -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change file to module Input:: @@ -97,14 +79,6 @@ export function two() { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -151,11 +125,3 @@ function two() { exports.two = two; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js index 8c0cf91d7fb5e..e14955f6cc7ca 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js +++ b/tests/baselines/reference/tscWatch/programUpdates/two-watch-programs-are-not-affected-by-each-other.js @@ -24,14 +24,6 @@ export let x = 1; export let y = 1; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/c/f2.ts /a/d/f3.ts Output:: >> Screen clear @@ -88,16 +80,6 @@ exports.y = 1; -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - createing separate watcher Output:: >> Screen clear @@ -171,20 +153,5 @@ __exportStar(require("../d/f3"), exports); -fileExists:: { - "/a/c/f2.ts": 1, - "/a/d/f3.ts": 1 -} - -directoryExists:: { - "/a/c": 2, - "/a/d": 2, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - First program is not updated:: true Second program is not updated:: true \ No newline at end of file diff --git a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js index 69e1b7003281b..15a7ea10a5d00 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -85,23 +77,3 @@ exitCode:: ExitStatus.undefined var x = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/node.d.ts": 1, - "/a/b/node_modules/@types/node/package.json": 1, - "/a/b/node_modules/@types/node.d.ts": 1, - "/a/b/node_modules/@types/node/index.d.ts": 2 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules": 2, - "/a/b/node_modules/node": 2, - "/a/b/node_modules/@types": 2, - "/a/b/node_modules/@types/node": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js index 74a9e5616d1af..93da6eb6032ce 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js @@ -26,14 +26,6 @@ export class B {} {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -112,20 +104,6 @@ export { A }; -fileExists:: { - "/tsconfig.json": 1, - "/b.ts": 1 -} - -directoryExists:: { - "/": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable experimentalDecorators Input:: @@ -133,14 +111,6 @@ Input:: {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error","experimentalDecorators":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... @@ -188,14 +158,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable emitDecoratorMetadata Input:: @@ -203,14 +165,6 @@ Input:: {"compilerOptions":{"target":"es6","importsNotUsedAsValues":"error","experimentalDecorators":true,"emitDecoratorMetadata":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -274,11 +228,3 @@ A = __decorate([ export { A }; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js index 3491dd52c96cb..867a6d2485abc 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js @@ -20,14 +20,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -86,18 +78,6 @@ class D extends C { -fileExists:: { - "/tsconfig.json": 1 -} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable useDefineForClassFields Input:: @@ -105,14 +85,6 @@ Input:: {"compilerOptions":{"target":"es6","useDefineForClassFields":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -172,11 +144,3 @@ class D extends C { } - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js index 045d189469b0d..b0e55c8eb889c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js @@ -20,14 +20,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -75,22 +67,6 @@ var d =
; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Update 'jsx' to 'react' Input:: @@ -98,14 +74,6 @@ Input:: { "compilerOptions": { "jsx": "react" } } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -147,20 +115,3 @@ exitCode:: ExitStatus.undefined var d = React.createElement("div", null); - -fileExists:: { - "/user/username/projects/myproject/index.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/index.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js index 50ef5427107cc..3605988c3e4da 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js @@ -23,14 +23,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -99,24 +91,6 @@ exports.f = f; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Set to "remove" Input:: @@ -124,14 +98,6 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"remove"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -178,14 +144,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Set to "error" Input:: @@ -193,14 +151,6 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"error"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -260,14 +210,6 @@ exports.f = f; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Set to "preserve" Input:: @@ -275,14 +217,6 @@ Input:: {"compilerOptions":{"importsNotUsedAsValues":"preserve"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... @@ -328,11 +262,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js index 775d1015288f5..4ae5b9f965fe5 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js @@ -26,14 +26,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"module":"commonjs","noEmit":true,"strict":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -82,24 +74,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/b.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changed x type to string Input:: @@ -110,14 +84,6 @@ function test(x: string, y: number) { export default test; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -168,14 +134,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changed x type to number Input:: @@ -186,14 +144,6 @@ function test(x: number, y: number) { export default test; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -239,14 +189,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changed y type to string Input:: @@ -257,14 +199,6 @@ function test(x: number, y: string) { export default test; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -320,14 +254,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changed y type to number Input:: @@ -338,14 +264,6 @@ function test(x: number, y: number) { export default test; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -390,11 +308,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js index e4c872bdaa08d..1a17c8122f8f6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js @@ -25,14 +25,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -87,20 +79,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -112,14 +90,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -158,14 +128,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -179,14 +141,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -234,11 +188,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js index 8ca0b2af2a749..e82cd8de6d6fe 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js @@ -25,14 +25,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipDefaultLibCheck Output:: >> Screen clear @@ -82,20 +74,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -107,14 +85,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -152,14 +122,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -173,14 +135,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -222,11 +176,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js index 31cf771f2f015..3a8ef27c8cc18 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js @@ -25,14 +25,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipLibCheck Output:: >> Screen clear @@ -82,20 +74,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -107,14 +85,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -152,14 +122,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -173,14 +135,6 @@ var y: number; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -222,11 +176,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js index ca95dc6b1e9d6..0deb9a28021a7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js @@ -22,14 +22,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -83,20 +75,6 @@ var y; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -105,14 +83,6 @@ var x: string; var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -155,14 +125,6 @@ var y; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -173,14 +135,6 @@ interface Document { var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -231,11 +185,3 @@ exitCode:: ExitStatus.undefined var y; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js index 81df4ef1a2054..e5082b418762a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js @@ -22,14 +22,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipDefaultLibCheck Output:: >> Screen clear @@ -78,20 +70,6 @@ var y; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -100,14 +78,6 @@ var x: string; var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -149,14 +119,6 @@ var y; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -167,14 +129,6 @@ interface Document { var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -219,11 +173,3 @@ exitCode:: ExitStatus.undefined var y; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js index d0cbc6cc750f7..8cacc65ae11db 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js @@ -22,14 +22,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /user/username/projects/myproject/a.ts --skipLibCheck Output:: >> Screen clear @@ -78,20 +70,6 @@ var y; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove document declaration from file Input:: @@ -100,14 +78,6 @@ var x: string; var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -149,14 +119,6 @@ var y; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rever the file to contain document declaration Input:: @@ -167,14 +129,6 @@ interface Document { var y: number; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -219,11 +173,3 @@ exitCode:: ExitStatus.undefined var y; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js index 47c23ad7c69d7..e02fc3be9519b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js @@ -21,14 +21,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -75,22 +67,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Create b.ts with same content Input:: @@ -100,14 +76,6 @@ declare module 'a' { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -179,40 +147,11 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/b.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/b.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete b.ts Input:: //// [/user/username/projects/myproject/b.ts] deleted -fileExists:: { - "/user/username/projects/myproject/b.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/b.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -255,17 +194,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js index dd6d536b6587f..8515ccfb52b9e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -93,20 +85,6 @@ exports.__esModule = true; -fileExists:: { - "/tsconfig.json": 1, - "/a.ts": 2 -} - -directoryExists:: { - "/": 4, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable forceConsistentCasingInFileNames Input:: @@ -114,14 +92,6 @@ Input:: {"compilerOptions":{"forceConsistentCasingInFileNames":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -174,13 +144,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js index 25eb4382976e6..97bd6b5fba7e3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js @@ -28,14 +28,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -88,22 +80,6 @@ v === 'foo'; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable noErrorTruncation Input:: @@ -111,14 +87,6 @@ Input:: {"compilerOptions":{"noErrorTruncation":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -163,11 +131,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js index 059e79e94b24a..bd8c98525622c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js @@ -20,14 +20,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -75,22 +67,6 @@ foo().hello; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable strict null checks Input:: @@ -98,14 +74,6 @@ Input:: {"compilerOptions":{"strictNullChecks":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -151,14 +119,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Set always strict false Input:: @@ -166,14 +126,6 @@ Input:: {"compilerOptions":{"strict":true,"alwaysStrict":false}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -219,14 +171,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Disable strict Input:: @@ -234,14 +178,6 @@ Input:: {"compilerOptions":{}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -281,11 +217,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index bbe95c1b4e975..5ce3779146643 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -87,29 +79,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/data.json.ts": 1, - "/user/username/projects/myproject/data.json.tsx": 1, - "/user/username/projects/myproject/data.json.d.ts": 1, - "/user/username/projects/myproject/data.json.js": 1, - "/user/username/projects/myproject/data.json.jsx": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 4, - "/user/username/projects/myproject/data.json": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Enable resolveJsonModule Input:: @@ -117,14 +86,6 @@ Input:: {"compilerOptions":{"moduleResolution":"node","resolveJsonModule":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -174,24 +135,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/data.json.ts": 1, - "/user/username/projects/myproject/data.json.tsx": 1, - "/user/username/projects/myproject/data.json.d.ts": 2, - "/user/username/projects/myproject/data.json.js": 1, - "/user/username/projects/myproject/data.json.jsx": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/data.json": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js index 74fb97d8a806a..96a842a4a9cb1 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /home/username/project/tsconfig.json Output:: >> Screen clear @@ -74,22 +66,6 @@ var a = 10; -fileExists:: { - "/home/username/project/tsconfig.json": 1 -} - -directoryExists:: { - "/home/username/project/tsconfig.json": 1, - "/home/username/project/node_modules/@types": 1, - "/home/username/node_modules/@types": 1, - "/home/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename file1 to file2 Input:: @@ -98,14 +74,6 @@ var a = 10; //// [/home/username/project/src/file1.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -150,19 +118,3 @@ exitCode:: ExitStatus.undefined var a = 10; - -fileExists:: { - "/home/username/project/src/file2.js": 1 -} - -directoryExists:: { - "/home/username/project/node_modules/@types": 1, - "/home/username/node_modules/@types": 1, - "/home/node_modules/@types": 1, - "/node_modules/@types": 1, - "/home/username/project/src/file2.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js index a74a67c75e728..fe976b5d9346a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p . --extendedDiagnostics Output:: [12:00:21 AM] Starting compilation in watch mode... @@ -84,22 +76,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Create foo in project root Input:: @@ -107,14 +83,6 @@ Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update @@ -141,11 +109,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js index 5ca837c4349fa..af10639931622 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js @@ -23,14 +23,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p . --extendedDiagnostics Output:: [12:00:31 AM] Starting compilation in watch mode... @@ -112,24 +104,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/client/folder1/module1.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/client/folder1": 3, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add module3 to folder2 Input:: @@ -137,14 +111,6 @@ Input:: import * as M from "folder1/module1"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory Scheduling update @@ -208,18 +174,3 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/client/linktofolder2": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index 63bb5e04e5d14..748a0b4bd369c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -28,14 +28,6 @@ interface Array { length: number; [n: number]: T; } declare class class1 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -169,25 +161,6 @@ declare class class2 { } -fileExists:: { - "/user/username/projects/myproject/projects/project2/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/tsconfig.json": 1, - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add class3 to project1 Input:: @@ -195,18 +168,6 @@ Input:: class class3 {} -fileExists:: { - "/user/username/projects/myproject/projects/project1/class3.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project1/class3.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -276,22 +237,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add output of class3 Input:: @@ -299,18 +244,6 @@ Input:: declare class class3 {} -fileExists:: { - "/user/username/projects/myproject/projects/project1/class3.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project1/class3.d.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -434,22 +367,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add excluded file to project1 Input:: @@ -457,18 +374,6 @@ Input:: declare class file {} -fileExists:: { - "/user/username/projects/myproject/projects/project1/temp": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project1/temp": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -509,27 +414,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete output of class3 Input:: //// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update @@ -649,22 +538,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add output of class3 Input:: @@ -672,14 +545,6 @@ Input:: declare class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -802,21 +667,3 @@ exitCode:: ExitStatus.undefined "size": 940 } - -fileExists:: { - "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js index bb9e3a55b4539..0f93f9716b775 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js @@ -29,14 +29,6 @@ interface Document { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -103,22 +95,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Input:: @@ -126,14 +102,6 @@ Input:: {"compilerOptions":{"skipLibCheck":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -182,14 +150,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Input:: @@ -197,14 +157,6 @@ Input:: {"compilerOptions":{"skipDefaultLibCheck":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -258,14 +210,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{}} Input:: @@ -273,14 +217,6 @@ Input:: {"compilerOptions":{}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -338,14 +274,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Input:: @@ -353,14 +281,6 @@ Input:: {"compilerOptions":{"skipDefaultLibCheck":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:45 AM] File change detected. Starting incremental compilation... @@ -413,14 +333,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Input:: @@ -428,14 +340,6 @@ Input:: {"compilerOptions":{"skipLibCheck":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -484,14 +388,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Changing config to {"compilerOptions":{}} Input:: @@ -499,14 +395,6 @@ Input:: {"compilerOptions":{}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... @@ -564,11 +452,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js index 729462020d196..41c1ab3576ca7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js +++ b/tests/baselines/reference/tscWatch/programUpdates/works-correctly-when-config-file-is-changed-but-its-content-havent.js @@ -25,14 +25,6 @@ let y = 1 } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -87,34 +79,11 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify config without changing content Input:: //// [/a/b/tsconfig.json] file changed its modified time -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -147,11 +116,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 32a750b743f64..12889b92e19c7 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -363,36 +363,6 @@ export declare const m: typeof mod; } -fileExists:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/sample1/core": 8, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/logic": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/tests/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p tests Output:: >> Screen clear @@ -469,24 +439,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/sample1/tests/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/tests": 1, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: local edit in logic ts, and build logic Input:: @@ -587,34 +539,6 @@ function foo() { } } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -690,14 +614,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: non local edit in logic ts, and build logic Input:: @@ -806,34 +722,6 @@ export declare function gfoo(): void; } -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:00 AM] File change detected. Starting incremental compilation... @@ -997,14 +885,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: change in project reference config file builds correctly Input:: @@ -1103,38 +983,6 @@ export declare function gfoo(): void; -fileExists:: { - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/logic/decls": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 4, - "/user/username/projects/sample1/logic/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/sample1/logic/decls": 2, - "/user/username/projects/sample1/logic": 1 -} - -getModifiedTimes:: { - "/user/username/projects/sample1/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/core/anothermodule.ts": 1, - "/user/username/projects/sample1/core/index.ts": 1, - "/user/username/projects/sample1/core/some_decl.d.ts": 1, - "/user/username/projects/sample1/core/tsconfig.json": 1, - "/user/username/projects/sample1/logic/tsconfig.tsbuildinfo": 1, - "/user/username/projects/sample1/logic/index.ts": 1, - "/user/username/projects/sample1/logic/tsconfig.json": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:33 AM] File change detected. Starting incremental compilation... @@ -1297,21 +1145,3 @@ exitCode:: ExitStatus.undefined "size": 1685 } - -fileExists:: { - "/user/username/projects/sample1/core/anothermodule.ts": 1 -} - -directoryExists:: { - "/user/username/projects/sample1/core": 2, - "/user/username/projects/sample1/tests/node_modules/@types": 1, - "/user/username/projects/sample1/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index ada674423e887..2d83f51bcbb46 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -170,48 +170,6 @@ a_1.X; -fileExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/a/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/b/node_modules/@types": 1, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.js": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p c Output:: >> Screen clear @@ -311,37 +269,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/c/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/c": 1, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: non local edit b ts, and build b Input:: @@ -421,36 +348,6 @@ export declare function gfoo(): void; } -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/b/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -539,14 +436,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit on config file Input:: @@ -559,14 +448,6 @@ export class A {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -659,39 +540,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert config file edit Input:: @@ -699,14 +547,6 @@ Input:: {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -799,39 +639,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit in referenced config file Input:: @@ -839,14 +646,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../nrefs/*"]}},"references":[{"path":"../a"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -935,26 +734,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert referenced config file edit Input:: @@ -962,14 +741,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../a"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -1047,43 +818,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted -fileExists:: { - "/user/username/projects/transitivereferences/b/tsconfig.json": 2 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/b/tsconfig.json": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:59 AM] File change detected. Starting incremental compilation... @@ -1165,26 +904,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b/index.js] file written with same contents //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting referenced config file Input:: @@ -1192,18 +911,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]} -fileExists:: { - "/user/username/projects/transitivereferences/b/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/b/tsconfig.json": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... @@ -1296,44 +1003,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted -fileExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.json": 2 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.json": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:15 AM] File change detected. Starting incremental compilation... @@ -1426,21 +1100,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a/index.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting transitively referenced config file Input:: @@ -1448,18 +1107,6 @@ Input:: {"compilerOptions":{"composite":true}} -fileExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.json": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:22 AM] File change detected. Starting incremental compilation... @@ -1548,18 +1195,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 184e50ec5979a..e915b99ee557e 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -170,48 +170,6 @@ a_1.X; -fileExists:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/a/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/b/node_modules/@types": 1, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c/index.ts": 1, - "/user/username/projects/transitivereferences/c/index.js": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p c Output:: >> Screen clear @@ -307,41 +265,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/c/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/c": 1, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: non local edit b ts, and build b Input:: @@ -421,36 +344,6 @@ export declare function gfoo(): void; } -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/b/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/a/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1, - "/user/username/projects/transitivereferences/a/tsconfig.json": 1, - "/user/username/projects/transitivereferences/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... @@ -535,14 +428,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit on config file Input:: @@ -555,14 +440,6 @@ export class A {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -651,39 +528,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert config file edit Input:: @@ -691,14 +535,6 @@ Input:: {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... @@ -787,39 +623,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/b.tsx": 1, - "/user/username/projects/transitivereferences/b.d.ts": 1, - "/user/username/projects/transitivereferences/b/package.json": 1, - "/user/username/projects/transitivereferences/b/index.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/b": 4, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit in referenced config file Input:: @@ -827,14 +630,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../nrefs/*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -918,26 +713,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert referenced config file edit Input:: @@ -945,14 +720,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -1025,39 +792,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:59 AM] File change detected. Starting incremental compilation... @@ -1137,26 +876,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b/index.js] file written with same contents //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting referenced config file Input:: @@ -1164,14 +883,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... @@ -1260,42 +971,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c/index.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/a.tsx": 1, - "/user/username/projects/transitivereferences/a.d.ts": 1, - "/user/username/projects/transitivereferences/a/package.json": 1, - "/user/username/projects/transitivereferences/a/index.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/a": 4, - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:15 AM] File change detected. Starting incremental compilation... @@ -1385,21 +1065,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a/index.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting transitively referenced config file Input:: @@ -1407,14 +1072,6 @@ Input:: {"compilerOptions":{"composite":true},"files":["index.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:22 AM] File change detected. Starting incremental compilation... @@ -1499,18 +1156,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/c/node_modules/@types": 1, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 363d0ac83ea65..99c301e0d1048 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -194,35 +194,6 @@ a_1.X; -fileExists:: { - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/refs": 3 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c.ts": 1, - "/user/username/projects/transitivereferences/c.js": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear @@ -306,30 +277,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/tsconfig.c.json": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/tsconfig.c.json": 1, - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: non local edit b ts, and build b Input:: @@ -410,30 +357,6 @@ export declare function gfoo(): void; } -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.a.json": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1 -} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -510,14 +433,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit on config file Input:: @@ -530,14 +445,6 @@ export class A {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... @@ -614,28 +521,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert config file edit Input:: @@ -643,14 +528,6 @@ Input:: {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... @@ -727,28 +604,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 5, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: edit in referenced config file Input:: @@ -756,14 +611,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["./nrefs/*"]}},"files":["b.ts"],"references":[{"path":"tsconfig.a.json"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:45 AM] File change detected. Starting incremental compilation... @@ -841,25 +688,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/nrefs/a.ts": 1, - "/user/username/projects/transitivereferences/nrefs/a.tsx": 1, - "/user/username/projects/transitivereferences/nrefs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/nrefs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert referenced config file edit Input:: @@ -867,14 +695,6 @@ Input:: {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"files":["b.ts"],"references":[{"path":"tsconfig.a.json"}]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:50 AM] File change detected. Starting incremental compilation... @@ -941,38 +761,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting referenced config file Input:: //// [/user/username/projects/transitiveReferences/tsconfig.b.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... @@ -1046,25 +839,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/b.js] file written with same contents //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting referenced config file Input:: @@ -1083,14 +857,6 @@ Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:03 AM] File change detected. Starting incremental compilation... @@ -1169,36 +935,11 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents -fileExists:: { - "/user/username/projects/transitivereferences/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: deleting transitively referenced config file Input:: //// [/user/username/projects/transitiveReferences/tsconfig.a.json] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... @@ -1280,20 +1021,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/a.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Revert deleting transitively referenced config file Input:: @@ -1302,14 +1029,6 @@ Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:02:16 AM] File change detected. Starting incremental compilation... @@ -1386,17 +1105,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 30150a3deb7d2..3425bfd7a7439 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -181,35 +181,6 @@ a_1.X; -fileExists:: { - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/a.ts": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/node_modules/@types": 3, - "/user/username/projects/node_modules/@types": 3, - "/user/username/node_modules/@types": 3, - "/user/node_modules/@types": 3, - "/node_modules/@types": 3, - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/refs": 3 -} - -getModifiedTimes:: { - "/user/username/projects/transitivereferences/tsconfig.a.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/tsconfig.b.tsbuildinfo": 1, - "/user/username/projects/transitivereferences/c.ts": 1, - "/user/username/projects/transitivereferences/c.js": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear @@ -292,27 +263,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/transitiveReferences/c.js] file written with same contents - -fileExists:: { - "/user/username/projects/transitivereferences/tsconfig.c.json": 1, - "/user/username/projects/transitivereferences/b.ts": 1, - "/user/username/projects/transitivereferences/refs/a.ts": 1, - "/user/username/projects/transitivereferences/refs/a.tsx": 1, - "/user/username/projects/transitivereferences/refs/a.d.ts": 1, - "/user/username/projects/transitivereferences/a.ts": 1 -} - -directoryExists:: { - "/user/username/projects/transitivereferences/tsconfig.c.json": 1, - "/user/username/projects/transitivereferences": 3, - "/user/username/projects/transitivereferences/refs": 3, - "/user/username/projects/transitivereferences/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js index ab2018eb09a02..64d57dfe2a7f4 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/d/f0.ts Output:: >> Screen clear @@ -92,23 +84,6 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/a/d/f1.ts": 1, - "/a/d/f1.tsx": 1, - "/a/d/f1.d.ts": 1, - "/a/f1.ts": 1 -} - -directoryExists:: { - "/a/d": 1, - "/a": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Adding text doesnt re-resole the imports Input:: @@ -117,14 +92,6 @@ import {x} from "f1" var x: string = 1; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... @@ -187,14 +154,6 @@ define(["require", "exports"], function (require, exports) { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Resolves f2 Input:: @@ -202,14 +161,6 @@ Input:: import {x} from "f2" -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -262,38 +213,6 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/a/d/f2.ts": 1, - "/a/d/f2.tsx": 1, - "/a/d/f2.d.ts": 1, - "/a/f2.ts": 1, - "/a/f2.tsx": 1, - "/a/f2.d.ts": 1, - "/f2.ts": 1, - "/f2.tsx": 1, - "/f2.d.ts": 1, - "/a/d/f2.js": 1, - "/a/d/f2.jsx": 1, - "/a/f2.js": 1, - "/a/f2.jsx": 1, - "/f2.js": 1, - "/f2.jsx": 1 -} - -directoryExists:: { - "/a/d": 2, - "/a": 2, - "/": 2, - "/a/d/node_modules": 1, - "/a/node_modules": 1, - "/node_modules": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Resolve f1 Input:: @@ -301,14 +220,6 @@ Input:: import {x} from "f1" -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -362,20 +273,3 @@ exitCode:: ExitStatus.undefined //// [/a/f1.js] file written with same contents //// [/a/d/f0.js] file written with same contents - -fileExists:: { - "/a/d/f1.ts": 1, - "/a/d/f1.tsx": 1, - "/a/d/f1.d.ts": 1, - "/a/f1.ts": 1 -} - -directoryExists:: { - "/a/d": 1, - "/a": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index 7204410739b09..5cd6ea169cf8a 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -22,14 +22,6 @@ export const x = 10; {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -87,32 +79,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/somemodule/package.json": 1, - "/user/username/projects/myproject/node_modules/somemodule.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule.tsx": 1, - "/user/username/projects/myproject/node_modules/somemodule.d.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.tsx": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/somemodule": 3, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install file and folder that start with '.' Input:: @@ -120,14 +86,6 @@ Input:: {"something":10} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -154,11 +112,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 9781e96e618b8..2b076ec86b5b5 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -22,14 +22,6 @@ export const x = 10; {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /user/username/projects/myproject/test.ts Output:: >> Screen clear @@ -81,26 +73,6 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/node_modules/somemodule/package.json": 1, - "/user/username/projects/myproject/node_modules/somemodule.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule.tsx": 1, - "/user/username/projects/myproject/node_modules/somemodule.d.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.ts": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.tsx": 1, - "/user/username/projects/myproject/node_modules/somemodule/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/somemodule": 3, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install file and folder that start with '.' Input:: @@ -108,14 +80,6 @@ Input:: {"something":10} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -136,11 +100,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js index 230cb91e6eec3..c13df4fd4be34 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/foo.ts Output:: >> Screen clear @@ -79,31 +71,6 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/a/bar.ts": 1, - "/a/bar.tsx": 1, - "/a/bar.d.ts": 1, - "/bar.ts": 1, - "/bar.tsx": 1, - "/bar.d.ts": 1, - "/a/bar.js": 1, - "/a/bar.jsx": 1, - "/bar.js": 1, - "/bar.jsx": 1 -} - -directoryExists:: { - "/a": 2, - "/": 2, - "/a/node_modules": 1, - "/node_modules": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: write imported file Input:: @@ -114,14 +81,6 @@ import {y} from "bar" export const y = 1; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... @@ -163,18 +122,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents - -fileExists:: { - "/a/bar.ts": 1, - "/a/bar.tsx": 1, - "/a/bar.d.ts": 1 -} - -directoryExists:: { - "/a": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js index f288acc9b3935..40374b75d6da9 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/foo.ts Output:: >> Screen clear @@ -78,34 +70,11 @@ define(["require", "exports"], function (require, exports) { -fileExists:: { - "/a/bar.ts": 1, - "/a/bar.tsx": 1, - "/a/bar.d.ts": 1 -} - -directoryExists:: { - "/a": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete imported file Input:: //// [/a/bar.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:18 AM] File change detected. Starting incremental compilation... @@ -152,30 +121,6 @@ exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents -fileExists:: { - "/a/bar.ts": 1, - "/a/bar.tsx": 1, - "/bar.ts": 1, - "/bar.tsx": 1, - "/bar.d.ts": 1, - "/a/bar.js": 1, - "/a/bar.jsx": 1, - "/bar.js": 1, - "/bar.jsx": 1 -} - -directoryExists:: { - "/a": 2, - "/": 2, - "/a/node_modules": 1, - "/node_modules": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Create imported file Input:: @@ -183,14 +128,6 @@ Input:: export const y = 1;export const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... @@ -232,18 +169,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/foo.js] file written with same contents - -fileExists:: { - "/a/bar.ts": 1, - "/a/bar.tsx": 1, - "/a/bar.d.ts": 1 -} - -directoryExists:: { - "/a": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js index 6a46105b90d1c..ac6b4a0970d76 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -81,28 +73,6 @@ myapp.component("hello"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/node_modules": 1, - "/user/username/node_modules": 1, - "/user/node_modules": 1, - "/node_modules": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install ts-types Input:: @@ -116,14 +86,6 @@ declare namespace myapp { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -173,40 +135,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/lib/app.js] file written with same contents -fileExists:: { - "/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json": 1, - "/user/username/projects/myproject/node_modules/@myapp/ts-types.d.ts": 1, - "/user/username/projects/myproject/node_modules/@myapp/ts-types/types/somefile.define.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/myproject/node_modules/@myapp/ts-types": 2, - "/user/username/projects/myproject/node_modules/@myapp": 1, - "/user/username/projects/myproject/node_modules/@myapp/ts-types/types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change, just check program Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -231,11 +163,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js index 87ef2ccc3f990..d6c57a43371fe 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js @@ -29,14 +29,6 @@ export * from './other'; export declare const Foo = "BAR"; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -102,35 +94,3 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; - -fileExists:: { - "/user/username/projects/myproject/main/tsconfig.json": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/package.json": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.ts": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.tsx": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package.d.ts": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/dist/index.d.ts": 1, - "/user/username/projects/myproject/linked-package/dist/index.d.ts": 1, - "/user/username/projects/myproject/linked-package/dist/other.ts": 1, - "/user/username/projects/myproject/linked-package/dist/other.tsx": 1, - "/user/username/projects/myproject/linked-package/dist/other.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/main/@scoped": 1, - "/user/username/projects/myproject/main/node_modules": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package": 2, - "/user/username/projects/myproject/main/node_modules/@scoped": 1, - "/user/username/projects/myproject/main/node_modules/@scoped/linked-package/dist": 1, - "/user/username/projects/myproject/linked-package/dist": 2, - "/user/username/projects/myproject/main/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js index 363944494fe53..5f4cbc0eb30f6 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js @@ -28,14 +28,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/b/foo.ts /a/b/bar.d.ts Output:: >> Screen clear @@ -92,21 +84,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules": 4, - "/a/node_modules": 4, - "/node_modules": 4, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add fs definition Input:: @@ -126,14 +103,6 @@ declare module "fs" { -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... @@ -177,11 +146,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/foo.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 0b4521fe2e0cf..0f536d2d6faf1 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -37,14 +37,6 @@ declare namespace NodeJS { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -134,25 +126,6 @@ process.on("uncaughtException"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, - "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types/node": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm ci step one: remove all node_modules files Input:: @@ -161,18 +134,6 @@ Input:: //// [/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts] deleted //// [/user/username/projects/myproject/node_modules/@types/node/globals.d.ts] deleted -fileExists:: { - "/user/username/projects/myproject/node_modules/@types/node": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types/node": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file Scheduling update @@ -311,20 +272,6 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/worker.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm ci step two: create atTypes but something else in the @types folder Input:: @@ -332,14 +279,6 @@ Input:: export const foo = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -428,40 +367,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 2, - "/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types/mocha": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm ci step three: create atTypes node folder Input:: -fileExists:: { - "/user/username/projects/myproject/node_modules/@types/node": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types/node": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -530,33 +439,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, - "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/node.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/node.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types/node": 5, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/node": 2, - "/user/username/projects/node_modules": 1, - "/user/username/node_modules": 1, - "/user/node_modules": 1, - "/node_modules": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm ci step four: create atTypes write all the files but dont invoke watcher for index.d.ts Input:: @@ -579,14 +461,6 @@ declare namespace NodeJS { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update @@ -685,21 +559,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/worker.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/node_modules/@types/mocha/package.json": 1, - "/user/username/projects/myproject/node_modules/@types/node/package.json": 2, - "/user/username/projects/myproject/node_modules/@types/node/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types/node": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index bb55ded886f60..77ffc10c76f48 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w /a/b/foo.ts Output:: >> Screen clear @@ -75,21 +67,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/a/b/node_modules": 2, - "/a/node_modules": 2, - "/node_modules": 2, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install node types Input:: @@ -109,14 +86,6 @@ declare module "fs" { } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -164,30 +133,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/a/b/foo.js] file written with same contents - -fileExists:: { - "/a/b/node_modules/fs.ts": 1, - "/a/b/node_modules/fs.tsx": 1, - "/a/b/node_modules/fs.d.ts": 1, - "/a/b/node_modules/@types/fs.d.ts": 1, - "/a/b/node_modules/fs.js": 1, - "/a/b/node_modules/fs.jsx": 1, - "/a/b/node_modules/@types/node/package.json": 2, - "/a/b/node_modules/@types/node/index.d.ts": 2 -} - -directoryExists:: { - "/a/b/node_modules": 4, - "/a/b/node_modules/fs": 3, - "/a/b/node_modules/@types": 6, - "/a/b/node_modules/@types/fs": 2, - "/a/node_modules": 2, - "/node_modules": 2, - "/a/node_modules/@types": 2, - "/node_modules/@types": 2, - "/a/b/node_modules/@types/node": 3 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index 0f0810155fc1a..dfbb07b5eeecd 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -19,14 +19,6 @@ interface Array { length: number; [n: number]: T; } export {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /user/username/projects/myproject/a.ts Output:: >> Screen clear @@ -78,25 +70,6 @@ exports.__esModule = true; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/node_modules": 2, - "/user/username/node_modules": 2, - "/user/node_modules": 2, - "/node_modules": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install Input:: @@ -105,14 +78,6 @@ export {} //// [/user/username/projects/myproject/node_modules2/@types/qqq/index.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -160,27 +125,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/a.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/node_modules/qqq.ts": 1, - "/user/username/projects/myproject/node_modules/qqq.tsx": 1, - "/user/username/projects/myproject/node_modules/qqq.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/qqq/package.json": 2, - "/user/username/projects/myproject/node_modules/@types/qqq.d.ts": 1, - "/user/username/projects/myproject/node_modules/@types/qqq/index.d.ts": 4 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/qqq": 2, - "/user/username/projects/myproject/node_modules/@types": 6, - "/user/username/projects/myproject/node_modules/@types/qqq": 5, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index a878f7024ed8a..93c8aeaf958d9 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -27,14 +27,6 @@ interface Array { length: number; [n: number]: T; } {"compilerOptions":{"allowJs":true,"rootDir":".","outDir":"../dist","moduleResolution":"node","maxNodeModuleJsDepth":1}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/b/projects/myProject/src Output:: >> Screen clear @@ -110,43 +102,6 @@ module11("hello"); -fileExists:: { - "/a/b/projects/myproject/src/tsconfig.json": 1, - "/a/b/projects/myproject/node_modules/module1/package.json": 1, - "/a/b/projects/myproject/node_modules/module1.ts": 1, - "/a/b/projects/myproject/node_modules/module1.tsx": 1, - "/a/b/projects/myproject/node_modules/module1.d.ts": 1, - "/a/b/projects/myproject/node_modules/module1/index.ts": 1, - "/a/b/projects/myproject/node_modules/module1/index.tsx": 1, - "/a/b/projects/myproject/node_modules/module1/index.d.ts": 1, - "/a/b/projects/myproject/node_modules/module1.js": 1, - "/a/b/projects/myproject/node_modules/module1.jsx": 1, - "/a/b/projects/myproject/node_modules/module1/index.js": 2 -} - -directoryExists:: { - "/a/b/projects/myproject/src": 1, - "/a/b/projects/myproject/src/node_modules": 2, - "/a/b/projects/myproject/node_modules": 4, - "/a/b/projects/myproject/node_modules/module1": 5, - "/a/b/projects/myproject/node_modules/@types": 2, - "/a/b/projects/node_modules": 1, - "/a/b/node_modules": 1, - "/a/node_modules": 1, - "/node_modules": 1, - "/a/b/projects/myproject/src/node_modules/@types": 1, - "/a/b/projects/node_modules/@types": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b/projects/myproject/dist": 1, - "/a/b/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new line to file1 Input:: @@ -156,14 +111,6 @@ module1("hello"); ; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -223,11 +170,3 @@ module1("hello"); ; - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index c72c6d7bbfe43..36d0f5c8c0339 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -178,50 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 1, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -354,38 +310,3 @@ exitCode:: ExitStatus.undefined "size": 970 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index a9fcb1b1833c5..b63e8acf444c3 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -178,48 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 1, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -352,36 +310,3 @@ exitCode:: ExitStatus.undefined "size": 970 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index e0768a944685e..c87f5c68ce572 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -189,38 +181,3 @@ export {}; "size": 970 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index f5d4d256bbbbf..3ef6affd64096 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -178,51 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 1, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -355,39 +310,3 @@ exitCode:: ExitStatus.undefined "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 6b653c8e176a2..56e2f55330761 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -178,49 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 1, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -353,37 +310,3 @@ exitCode:: ExitStatus.undefined "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 02fe72a2fca72..5761d4de94376 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -189,39 +181,3 @@ export {}; "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index 93f28d6f0baa9..9608b2e6cd730 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -189,41 +181,3 @@ export {}; "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b": 2, - "/user/username/projects/myproject/node_modules/@issue": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 05da7f349d359..c81e7d6d9d23e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -189,40 +181,3 @@ export {}; "size": 970 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b.ts": 1, - "/user/username/projects/myproject/node_modules/b.tsx": 1, - "/user/username/projects/myproject/node_modules/b.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/index.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/b": 2, - "/user/username/projects/myproject/node_modules/b/lib": 2, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 7381029b44ea3..3bcb8e8cc0d94 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -178,52 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 2, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -358,39 +312,3 @@ exitCode:: ExitStatus.undefined "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index f3ed73b8da448..f704189fd510b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -178,50 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 2, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -356,37 +312,3 @@ exitCode:: ExitStatus.undefined "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index ecabca5a0ee78..d2a1445123365 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -191,39 +183,3 @@ export {}; "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index 97371e2146325..2dd6242803def 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -178,52 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 2, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -358,39 +312,3 @@ exitCode:: ExitStatus.undefined "size": 999 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 8b96432724607..472f2286f9a5c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -178,50 +178,6 @@ export {}; } -fileExists:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/b/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 2, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/myproject/packages/b/lib": 2, - "/user/username/projects/myproject/packages/b": 1, - "/user/username/projects/myproject/packages/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: { - "/user/username/projects/myproject/packages/b/tsconfig.tsbuildinfo": 1, - "/user/username/projects/myproject/packages/a/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -356,37 +312,3 @@ exitCode:: ExitStatus.undefined "size": 999 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index a04b3b3291201..8414c9667e877 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -191,39 +183,3 @@ export {}; "size": 999 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index 9856ce796ae0b..5569fbbe7312d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/@issue/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -191,41 +183,3 @@ export {}; "size": 999 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/@issue/b/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/@issue/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/@issue/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index 99732ddac56b2..a0179838f35e8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -36,14 +36,6 @@ export function bar() { } //// [/user/username/projects/myproject/node_modules/b] symlink(/user/username/projects/myproject/packages/B) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/packages/A/tsconfig.json Output:: >> Screen clear @@ -191,41 +183,3 @@ export {}; "size": 984 } - -fileExists:: { - "/user/username/projects/myproject/node_modules/b/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/foo.d.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo/package.json": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo.d.ts": 1, - "/user/username/projects/myproject/packages/b/lib/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/packages/a/src/node_modules": 2, - "/user/username/projects/myproject/packages/a/node_modules": 2, - "/user/username/projects/myproject/packages/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/b/lib/foo": 1, - "/user/username/projects/myproject/node_modules/b": 1, - "/user/username/projects/myproject/node_modules/b/lib": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar/foo": 1, - "/user/username/projects/myproject/node_modules/b/lib/bar": 1, - "/user/username/projects/myproject/packages/a/node_modules/@types": 1, - "/user/username/projects/myproject/packages/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/packages/a/lib": 1, - "/user/username/projects/myproject/packages/a": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 7ff21a0154617..49723352c95b9 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -315,40 +315,6 @@ export declare function createDog(): Dog; } -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 2, - "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/animals/package.json": 1, - "/user/username/projects/demo/animals/index.ts": 1, - "/user/username/projects/demo/core/utilities.ts": 1, - "/user/username/projects/demo/animals/animal.ts": 1, - "/user/username/projects/demo/animals/dog.ts": 1, - "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 -} - -directoryExists:: { - "/user/username/projects/demo/core/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 2, - "/user/username/node_modules/@types": 2, - "/user/node_modules/@types": 2, - "/node_modules/@types": 2, - "/user/username/projects/demo/lib/core": 1, - "/user/username/projects/demo/lib": 2, - "/user/username/projects/demo": 1, - "/user/username/projects/demo/animals": 8, - "/user/username/projects/demo/core": 2, - "/user/username/projects/demo/animals/node_modules/@types": 1, - "/user/username/projects/demo/lib/animals": 1 -} - -getModifiedTimes:: { - "/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo": 1, - "/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo": 1 -} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear @@ -508,21 +474,3 @@ exitCode:: ExitStatus.undefined "size": 2717 } - -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 2, - "/user/username/projects/demo/animals/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/demo/animals/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 0226f58c2a786..dd5ccaf7bc388 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -101,14 +101,6 @@ export { createDog, Dog }; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/demo/animals/tsconfig.json Output:: >> Screen clear @@ -325,24 +317,3 @@ export declare function createDog(): Dog; "size": 2558 } - -fileExists:: { - "/user/username/projects/demo/tsconfig-base.json": 2, - "/user/username/projects/demo/animals/package.json": 1 -} - -directoryExists:: { - "/user/username/projects/demo/animals/node_modules/@types": 1, - "/user/username/projects/demo/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/demo/lib/animals": 1, - "/user/username/projects/demo/lib": 1, - "/user/username/projects/demo": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js index 92f94c2dabc56..3cb760382f373 100644 --- a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js +++ b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -85,20 +77,6 @@ var x = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Write a file Input:: @@ -106,18 +84,6 @@ Input:: -fileExists:: { - "/user/username/projects/myproject/other2.vue": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/other2.vue": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... @@ -166,20 +132,3 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/other2.vue.js] - -fileExists:: { - "/user/username/projects/myproject/other2.vue.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/other2.vue.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index ba93c5f94b9ad..8581fbe6b3080 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w --noEmit Output:: >> Screen clear @@ -134,20 +126,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -254,20 +232,6 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add comment Input:: @@ -276,14 +240,6 @@ export const x = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w --noEmit Output:: >> Screen clear @@ -377,20 +333,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -484,20 +426,6 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add comment Input:: @@ -507,14 +435,6 @@ export const x = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -610,17 +530,3 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index bfa3408f46cd9..41143ce88b461 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w --noEmit Output:: >> Screen clear @@ -134,20 +126,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -261,20 +239,6 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -290,14 +254,6 @@ export const x = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w --noEmit Output:: >> Screen clear @@ -391,20 +347,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -505,20 +447,6 @@ exports.x = 10; //// [/user/username/projects/myproject/main.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -535,14 +463,6 @@ export const x = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -641,20 +561,6 @@ exports.x = 10; //// [/user/username/projects/myproject/other.js] file written with same contents //// [/user/username/projects/myproject/other.d.ts] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index c91b8cc751d71..927fa7d10f34f 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -151,20 +143,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add comment Input:: @@ -173,14 +151,6 @@ export const x: string = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -298,20 +268,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix error Input:: @@ -319,14 +275,6 @@ Input:: export const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -435,17 +383,3 @@ exports.y = 10; export declare const y = 10; - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index 1db629922b534..37d0b4b516b3e 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -151,20 +143,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -180,14 +158,6 @@ export const x: string = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -305,20 +275,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true @@ -333,14 +289,6 @@ Input:: export const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -450,20 +398,6 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Checking if output is same as EmitAndSemanticDiagnosticsBuilderProgram:: Output file text for /user/username/projects/myproject/main.js is same:: true Output file text for /user/username/projects/myproject/main.d.ts is same:: true diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index a072533402594..30574e005ad8f 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - tsc --w Output:: >> Screen clear @@ -151,20 +143,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Fix error Input:: @@ -172,14 +150,6 @@ Input:: export const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:32 AM] Starting compilation in watch mode... @@ -283,17 +253,3 @@ export declare const x = 10; export declare const y = 10; - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index 070724d48242f..93e8cdd0f6c6d 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -22,14 +22,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -78,20 +70,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Modify a file Input:: @@ -100,14 +78,6 @@ export const x = 10; // SomeComment -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... @@ -150,11 +120,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js index 66c72e8f15f15..b569dd310d3f1 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js @@ -22,14 +22,6 @@ import settings from './settings.json'; {"content":"Print this"} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -90,26 +82,3 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; - -fileExists:: { - "/user/username/projects/myproject/settings.json.ts": 1, - "/user/username/projects/myproject/settings.json.tsx": 1, - "/user/username/projects/myproject/settings.json.d.ts": 2, - "/user/username/projects/myproject/settings.json.js": 1, - "/user/username/projects/myproject/settings.json.jsx": 1, - "/user/username/projects/myproject/settings.json": 1 -} - -directoryExists:: { - "/user/username/projects/myproject": 6, - "/user/username/projects/myproject/settings.json": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js index 23c9337c964ee..17f91edc17505 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-the-error-count-is-correctly-passed-down-to-the-watch-status-reporter.js @@ -19,14 +19,6 @@ let compiler = new Compiler(); for (let i = 0; j < 5; i++) {} {"compilerOptions":{"module":"commonjs"},"files":["index.ts"]} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -87,17 +79,3 @@ var compiler = new Compiler(); for (var i = 0; j < 5; i++) { } - -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index 25c5a34f54915..e3dc5ab19e9ae 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -28,14 +28,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -169,22 +161,6 @@ declare class class2 { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add class3 to project1 Input:: @@ -192,14 +168,6 @@ Input:: class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -269,22 +237,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add class3 output to project1 Input:: @@ -292,14 +244,6 @@ Input:: declare class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -423,24 +367,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: { - "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add excluded file to project1 Input:: @@ -448,14 +374,6 @@ Input:: declare class file {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -496,27 +414,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Delete output of class3 Input:: //// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update @@ -636,22 +538,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add output of class3 Input:: @@ -659,14 +545,6 @@ Input:: declare class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file @@ -789,21 +667,3 @@ exitCode:: ExitStatus.undefined "size": 940 } - -fileExists:: { - "/user/username/projects/myproject/projects/project1/class3.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index 7493ebacf8eb7..74ff6291fccf0 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -28,14 +28,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/projects/project2/tsconfig.json --extendedDiagnostics Output:: [12:00:33 AM] Starting compilation in watch mode... @@ -169,22 +161,6 @@ declare class class2 { } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add class3 to project1 Input:: @@ -192,14 +168,6 @@ Input:: class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update @@ -320,22 +288,6 @@ exitCode:: ExitStatus.undefined } -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/projects/project2/node_modules/@types": 1, - "/user/username/projects/myproject/projects/node_modules/@types": 1, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add excluded file to project1 Input:: @@ -343,14 +295,6 @@ Input:: declare class file {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp @@ -391,14 +335,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add output of class3 Input:: @@ -406,14 +342,6 @@ Input:: declare class class3 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts @@ -450,11 +378,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js index b9aa097a12e17..ff7be3bc4966c 100644 --- a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js +++ b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w --p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -74,20 +66,6 @@ var x = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Write a file Input:: @@ -95,18 +73,6 @@ Input:: const y =10; -fileExists:: { - "/user/username/projects/myproject/bar.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/bar.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: [12:00:32 AM] Found 0 errors. Watching for file changes. @@ -154,20 +120,3 @@ exitCode:: ExitStatus.undefined var y = 10; - -fileExists:: { - "/user/username/projects/myproject/bar.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/bar.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js index e20660b2776d3..9e88224fe6d5b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-dynamic-polling-when-renaming-file-in-subfolder.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -69,28 +61,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/a/username/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/username/project/tsconfig.json": 1, - "/a/username/project/node_modules/@types": 2, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/username/project": 1, - "/a/username/project/src": 1 -} - -getModifiedTimes:: { - "/a/username/project/node_modules/@types": 1, - "/a/username/project": 1, - "/a/username/project/src": 1 -} - -setModifiedTimes:: {} - Change:: Rename file1 to file2 Input:: @@ -99,14 +69,6 @@ Input:: //// [/a/username/project/src/file1.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -145,21 +107,3 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] - -fileExists:: {} - -directoryExists:: { - "/a/username/project/src": 2, - "/a/username/project/node_modules/@types": 1, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/username/project/node_modules/@types": 2, - "/a/username/project": 2, - "/a/username/project/src": 2 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js index 50e256fbc9a35..14593d53c3d50 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -75,24 +67,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/a/username/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/username/project/tsconfig.json": 1, - "/a/username/project/node_modules/@types": 2, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/username/project": 1, - "/a/username/project/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename file1 to file2 Input:: @@ -101,16 +75,6 @@ Input:: //// [/a/username/project/src/file1.ts] deleted -fileExists:: {} - -directoryExists:: { - "/a/username/project/src": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -155,20 +119,3 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] - -fileExists:: { - "/a/username/project/src/file2.js": 1 -} - -directoryExists:: { - "/a/username/project/node_modules/@types": 1, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/username/project/src/file2.js": 1, - "/a/username/project/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js index 0141c52f7a115..8a34513c078c1 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-watchFile-when-renaming-file-in-subfolder.js @@ -19,14 +19,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /a/username/project/tsconfig.json Output:: >> Screen clear @@ -75,24 +67,6 @@ exitCode:: ExitStatus.undefined -fileExists:: { - "/a/username/project/tsconfig.json": 1 -} - -directoryExists:: { - "/a/username/project/tsconfig.json": 1, - "/a/username/project/node_modules/@types": 2, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/username/project": 1, - "/a/username/project/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Rename file1 to file2 Input:: @@ -101,16 +75,6 @@ Input:: //// [/a/username/project/src/file1.ts] deleted -fileExists:: {} - -directoryExists:: { - "/a/username/project/src": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -155,17 +119,3 @@ exitCode:: ExitStatus.undefined //// [/a/username/project/src/file2.js] - -fileExists:: {} - -directoryExists:: { - "/a/username/project/node_modules/@types": 1, - "/a/username/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/username/project/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 06177b5ca5dfe..c9af5bfe24576 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -29,14 +29,6 @@ export {} //// [/home/user/projects/myproject/node_modules/reala/node_modules/b] symlink(/home/user/projects/myproject/node_modules/b) //// [/home/user/projects/myproject/node_modules/realb/node_modules/a] symlink(/home/user/projects/myproject/node_modules/a) -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w Output:: [12:00:45 AM] Starting compilation in watch mode... @@ -133,36 +125,3 @@ exitCode:: ExitStatus.undefined exports.__esModule = true; - -fileExists:: { - "/home/user/projects/myproject/tsconfig.json": 1, - "/home/user/projects/myproject/node_modules/a/package.json": 1, - "/home/user/projects/myproject/node_modules/a.ts": 1, - "/home/user/projects/myproject/node_modules/a.tsx": 1, - "/home/user/projects/myproject/node_modules/a.d.ts": 1, - "/home/user/projects/myproject/node_modules/a/index.ts": 1, - "/home/user/projects/myproject/node_modules/a/index.tsx": 1, - "/home/user/projects/myproject/node_modules/a/index.d.ts": 1, - "/home/user/projects/myproject/node_modules/reala/index.d.ts": 1 -} - -directoryExists:: { - "/home/user/projects/myproject/src/node_modules": 1, - "/home/user/projects/myproject/node_modules": 3, - "/home/user/projects/myproject/node_modules/a": 3, - "/home/user/projects/myproject/node_modules/@types": 2, - "/home/user/projects/node_modules/@types": 1, - "/home/user/node_modules/@types": 1, - "/home/node_modules/@types": 1, - "/node_modules/@types": 1, - "/home/user/projects/myproject/src": 2, - "/home/user/projects/myproject/node_modules/reala": 1, - "/home/user/projects/myproject/node_modules/reala/node_modules": 1, - "/home/user/projects/myproject/node_modules/realb": 1, - "/home/user/projects/myproject/node_modules/realb/node_modules": 1, - "/home/user/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js index cd96f77dd925c..e48000c8b3751 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js @@ -22,14 +22,6 @@ export const x = 10; {"compilerOptions":{"outDir":"dist"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -94,39 +86,10 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/file2.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src": 3, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/dist": 2, - "/user/username/projects/myproject": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -154,14 +117,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: rename the file Input:: @@ -170,16 +125,6 @@ export const x = 10; //// [/user/username/projects/myproject/src/file2.ts] deleted -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -231,39 +176,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/dist/file1.js] file written with same contents -fileExists:: { - "/user/username/projects/myproject/src/file2.tsx": 1, - "/user/username/projects/myproject/src/file2.d.ts": 1, - "/user/username/projects/myproject/src/file2.js": 1, - "/user/username/projects/myproject/src/file2.jsx": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src": 4, - "/user/username/projects/myproject/src/file2": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Pending directory watchers and program update Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -323,28 +239,3 @@ exports.x = void 0; exports.x = 10; - -fileExists:: { - "/user/username/projects/myproject/src/file2.ts": 1, - "/user/username/projects/myproject/src/file2.tsx": 1, - "/user/username/projects/myproject/src/file2.d.ts": 1, - "/user/username/projects/myproject/src/file2.js": 1, - "/user/username/projects/myproject/src/file2.jsx": 1, - "/user/username/projects/myproject/dist/renamed.js": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject/src/file2": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/dist": 2, - "/user/username/projects/myproject/dist/renamed.js": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index bfba67bc8f53d..37fd4927ba263 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -22,14 +22,6 @@ export const x = 10; {"compilerOptions":{"outDir":"dist","declaration":true}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -97,48 +89,10 @@ export {}; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/file2/package.json": 1, - "/user/username/projects/myproject/node_modules/file2.ts": 1, - "/user/username/projects/myproject/node_modules/file2.tsx": 1, - "/user/username/projects/myproject/node_modules/file2.d.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, - "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/file2": 4, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src": 1, - "/user/username/projects/myproject/dist": 2, - "/user/username/projects/myproject": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -172,14 +126,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Add new file, should schedule and run timeout to update directory watcher Input:: @@ -187,16 +133,6 @@ Input:: export const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -230,28 +166,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Actual program update to include new file Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -317,33 +235,10 @@ export declare const y = 10; -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/dist": 2 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: After program emit with new file, should schedule and run timeout to update directory watcher Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -377,33 +272,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/dist/file3.js": 1, - "/user/username/projects/myproject/dist/file3.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/dist": 1, - "/user/username/projects/myproject/dist/file3.js": 1, - "/user/username/projects/myproject/dist/file3.d.ts": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: No change Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -436,11 +308,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index 1ebf23b6bb5bd..baaf9b75c86c4 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -22,14 +22,6 @@ export const x = 10; {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json Output:: >> Screen clear @@ -91,47 +83,10 @@ exports.__esModule = true; -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/file2/package.json": 1, - "/user/username/projects/myproject/node_modules/file2.ts": 1, - "/user/username/projects/myproject/node_modules/file2.tsx": 1, - "/user/username/projects/myproject/node_modules/file2.d.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, - "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/file2": 4, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src": 2, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Directory watch updates because of file1.js creation Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -163,33 +118,11 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Remove directory node_modules Input:: //// [/user/username/projects/myproject/node_modules/file2/index.d.ts] deleted -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules/file2": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -240,38 +173,10 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/src/file1.js] file written with same contents -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 2, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/node_modules": 2, - "/user/username/node_modules": 2, - "/user/node_modules": 2, - "/node_modules": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Pending directory watchers and program update Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... @@ -319,42 +224,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject": 1, - "/user/username/projects/myproject/src/node_modules": 2, - "/user/username/projects/node_modules": 2, - "/user/username/node_modules": 2, - "/user/node_modules": 2, - "/node_modules": 2, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Start npm install Input:: -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 1, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -380,28 +253,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install folder creation of file2 Input:: -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -427,14 +282,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: npm install index file in file2 Input:: @@ -442,14 +289,6 @@ Input:: export const x = 10; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -475,26 +314,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Updates the program Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -522,32 +345,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: { - "/user/username/projects/myproject/node_modules": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/file2": 1, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Invalidates module resolution cache Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -575,26 +376,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Pending updates Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -648,28 +433,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/src/file1.js] file written with same contents - -fileExists:: { - "/user/username/projects/myproject/node_modules/file2/package.json": 1, - "/user/username/projects/myproject/node_modules/file2.ts": 1, - "/user/username/projects/myproject/node_modules/file2.tsx": 1, - "/user/username/projects/myproject/node_modules/file2.d.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.ts": 1, - "/user/username/projects/myproject/node_modules/file2/index.tsx": 1, - "/user/username/projects/myproject/node_modules/file2/index.d.ts": 2 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/file2": 3, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js index 5cbc667f24a6a..2164d2f3e79c5 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js @@ -22,14 +22,6 @@ let y = 1 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -78,26 +70,6 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Make change to file but should detect as changed and schedule program update Input:: @@ -105,14 +77,6 @@ Input:: var zz30 = 100; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -128,31 +92,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Callbacks: queue and scheduled program update Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -195,16 +138,3 @@ var zz30 = 100; //// [/a/b/commonFile2.js] file written with same contents - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js index d1b76caf57f9c..0978c331e611e 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js @@ -16,14 +16,6 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js --w /a/username/project/typescript.ts Output:: >> Screen clear @@ -61,31 +53,10 @@ var z = 10; -fileExists:: {} - -directoryExists:: { - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/username/project/typescript.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Time spent to Transition libFile and file1 to low priority queue Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -97,17 +68,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/username/project/typescript.ts": 64, - "/a/lib/lib.d.ts": 64 -} - -setModifiedTimes:: {} - Change:: Make change to file Input:: @@ -115,14 +75,6 @@ Input:: var zz30 = 100; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -134,29 +86,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/username/project/typescript.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Callbacks: medium priority + high priority queue and scheduled program update Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -192,29 +125,10 @@ var zz30 = 100; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/username/project/typescript.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Polling queues polled and everything is in the high polling queue Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -225,14 +139,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/username/project/typescript.ts": 98, - "/a/lib/lib.d.ts": 96 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js index 1045f9181a20f..eeeead92f9366 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js @@ -22,14 +22,6 @@ let y = 1 {"watchOptions":{"watchFile":"FixedChunkSizePolling"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -78,38 +70,10 @@ var y = 1; -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: The timeout is to check the status of all files Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -125,19 +89,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 4, - "/a/b/commonfile1.ts": 4, - "/a/b/commonfile2.ts": 4, - "/a/lib/lib.d.ts": 4 -} - -setModifiedTimes:: {} - Change:: Make change to file but should detect as changed and schedule program update Input:: @@ -145,14 +96,6 @@ Input:: var zz30 = 100; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -168,31 +111,10 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: Callbacks: queue and scheduled program update Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... @@ -236,31 +158,10 @@ var zz30 = 100; //// [/a/b/commonFile2.js] file written with same contents -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} - Change:: The timeout is to check the status of all files Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -275,16 +176,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: { - "/a/b/tsconfig.json": 1, - "/a/b/commonfile1.ts": 1, - "/a/b/commonfile2.ts": 1, - "/a/lib/lib.d.ts": 1 -} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index 3af107bcc9b0c..0f73e756ecd1f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["node_modules"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -119,48 +111,11 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/bar": 5, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: delete fooBar Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -187,11 +142,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index d542ca3c639d2..f389c59be0905 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["**/temp"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -125,49 +117,10 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/bar": 6, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src": 2, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Directory watch updates because of main.js creation Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: sysLog:: onTimerToUpdateChildWatches:: 1 sysLog:: invokingWatchers:: Elapsed:: *ms:: 0 @@ -210,16 +163,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: add new folder to temp Input:: @@ -227,14 +170,6 @@ Input:: export function temp(): string; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -267,11 +202,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index 1ecc40105012a..6730dd8f5979d 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["**/temp"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -107,49 +99,10 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 3, - "/user/username/projects/myproject/node_modules/bar": 6, - "/user/username/projects/myproject/node_modules/@types": 2, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1, - "/user/username/projects/myproject/src": 2, - "/user/username/projects/myproject": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Directory watch updates because of main.js creation Input:: -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -183,16 +136,6 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -fileExists:: {} - -directoryExists:: { - "/user/username/projects/myproject/src": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: add new folder to temp Input:: @@ -200,14 +143,6 @@ Input:: export function temp(): string; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -240,11 +175,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index d973ffcb90ce8..0a167785511a8 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeDirectories":["node_modules"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -101,48 +93,11 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/bar": 5, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: delete fooBar Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -169,11 +124,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index 1652a3aeb3924..ef32647bc0b20 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeFiles":["node_modules/*"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -extendedDiagnostics Output:: [12:00:37 AM] Starting compilation in watch mode... @@ -119,35 +111,6 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/bar": 5, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change foo Input:: @@ -155,14 +118,6 @@ Input:: export function fooBar(): string; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -187,11 +142,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 514eda8ce6f49..df999e6b21d36 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -31,14 +31,6 @@ export function temp(): string; {"exclude":["node_modules"],"watchOptions":{"excludeFiles":["node_modules/*"]}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w Output:: >> Screen clear @@ -99,35 +91,6 @@ var bar_1 = require("bar"); -fileExists:: { - "/user/username/projects/myproject/tsconfig.json": 1, - "/user/username/projects/myproject/node_modules/bar/package.json": 1, - "/user/username/projects/myproject/node_modules/bar.ts": 1, - "/user/username/projects/myproject/node_modules/bar.tsx": 1, - "/user/username/projects/myproject/node_modules/bar.d.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.ts": 1, - "/user/username/projects/myproject/node_modules/bar/index.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/index.d.ts": 2, - "/user/username/projects/myproject/node_modules/bar/foo.ts": 1, - "/user/username/projects/myproject/node_modules/bar/foo.tsx": 1, - "/user/username/projects/myproject/node_modules/bar/foo.d.ts": 1 -} - -directoryExists:: { - "/user/username/projects/myproject/src/node_modules": 1, - "/user/username/projects/myproject/node_modules": 2, - "/user/username/projects/myproject/node_modules/bar": 5, - "/user/username/projects/myproject/node_modules/@types": 1, - "/user/username/projects/node_modules/@types": 1, - "/user/username/node_modules/@types": 1, - "/user/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Change:: Change foo Input:: @@ -135,14 +98,6 @@ Input:: export function fooBar(): string; -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - Output:: WatchedFiles:: @@ -167,11 +122,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined - -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js index 261737c83357c..4601f5bda1ed0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js @@ -22,14 +22,6 @@ let y = 1 {"watchOptions":{"fallbackPolling":"PriorityInterval"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -85,19 +77,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 2, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js index e7129fab8cde0..20d001cb9063f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js @@ -22,14 +22,6 @@ let y = 1 {"watchOptions":{"watchDirectory":"UseFsEvents"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -85,19 +77,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 2, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1, - "/a/b": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js index 0295dbb5a7945..5cc2b3b89ee19 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-as-watch-options-to-extend.js @@ -22,14 +22,6 @@ let y = 1 {} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json --watchFile UseFsEvents Output:: >> Screen clear @@ -85,18 +77,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js index 75b43786c75c9..566566ab08193 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js @@ -22,14 +22,6 @@ let y = 1 {"watchOptions":{"watchFile":"UseFsEvents"}} -fileExists:: {} - -directoryExists:: {} - -getModifiedTimes:: {} - -setModifiedTimes:: {} - /a/lib/tsc.js -w -p /a/b/tsconfig.json Output:: >> Screen clear @@ -85,18 +77,3 @@ var x = 1; var y = 1; - -fileExists:: { - "/a/b/tsconfig.json": 1 -} - -directoryExists:: { - "/a/b/tsconfig.json": 1, - "/a/b/node_modules/@types": 1, - "/a/node_modules/@types": 1, - "/node_modules/@types": 1 -} - -getModifiedTimes:: {} - -setModifiedTimes:: {} From cb73874a67b1a2afadf38bb3644b6e4e5a141b03 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 19 Apr 2022 16:58:35 -0700 Subject: [PATCH 40/64] Change verbose messages for upto date status --- src/compiler/diagnosticMessages.json | 4 +-- src/compiler/tsbuildPublic.ts | 6 ++--- .../modules-and-globals-mixed-in-amd.js | 2 +- .../multiple-emitHelpers-in-all-projects.js | 4 +-- .../multiple-prologues-in-all-projects.js | 4 +-- .../shebang-in-all-projects.js | 2 +- .../amdModulesWithOut/stripInternal.js | 4 +-- .../triple-slash-refs-in-all-projects.js | 2 +- ...ter-initial-build-doesnt-build-anything.js | 6 ++--- ...-emitDeclarationOnly-and-declarationMap.js | 2 +- ...import-project-with-emitDeclarationOnly.js | 2 +- ...mports-project-with-emitDeclarationOnly.js | 4 +-- ...-transitive-module-with-isolatedModules.js | 4 +-- .../inferred-type-from-transitive-module.js | 4 +-- ...hange-in-signature-with-isolatedModules.js | 4 +-- ...s-merged-and-contains-late-bound-member.js | 4 +-- ...al-flag-changes-between-non-dts-changes.js | 8 +++--- ...-buildInfo-absence-results-in-new-build.js | 4 +-- .../baseline-sectioned-sourcemaps.js | 10 +++---- .../emitHelpers-in-all-projects.js | 14 +++++----- ...tHelpers-in-only-one-dependency-project.js | 8 +++--- .../tsbuild/outfile-concat/explainFiles.js | 10 +++---- .../multiple-emitHelpers-in-all-projects.js | 8 +++--- ...tiple-emitHelpers-in-different-projects.js | 8 +++--- .../multiple-prologues-in-all-projects.js | 14 +++++----- ...ultiple-prologues-in-different-projects.js | 8 +++--- .../outfile-concat/shebang-in-all-projects.js | 10 +++---- .../shebang-in-only-one-dependency-project.js | 4 +-- .../outfile-concat/strict-in-all-projects.js | 14 +++++----- .../strict-in-one-dependency.js | 8 +++--- ...en-one-two-three-are-prepended-in-order.js | 4 +-- .../stripInternal-jsdoc-style-comment.js | 8 +++--- ...en-one-two-three-are-prepended-in-order.js | 2 +- ...-jsdoc-style-with-comments-emit-enabled.js | 4 +-- ...en-one-two-three-are-prepended-in-order.js | 10 +++---- ...en-one-two-three-are-prepended-in-order.js | 4 +-- ...tripInternal-with-comments-emit-enabled.js | 8 +++--- .../tsbuild/outfile-concat/stripInternal.js | 14 +++++----- .../triple-slash-refs-in-all-projects.js | 10 +++---- .../triple-slash-refs-in-one-project.js | 4 +-- ...t-composite-but-uses-project-references.js | 4 +-- ...-source-files-are-empty-in-the-own-file.js | 4 +-- ...otDir-is-not-specified-and-is-composite.js | 2 +- .../when-rootDir-is-not-specified.js | 2 +- .../outputPaths/when-rootDir-is-specified.js | 2 +- ...nfo-file-because-no-rootDir-in-the-base.js | 2 +- ...reports-error-for-same-tsbuildinfo-file.js | 2 +- ...ting-json-module-from-project-reference.js | 4 +-- .../tsbuild/resolveJsonModule/sourcemap.js | 2 +- .../resolveJsonModule/without-outDir.js | 2 +- .../can-detect-when-and-what-to-rebuild.js | 20 +++++++------- ...ojects-if-upstream-projects-have-errors.js | 2 +- ...vent-if-version-doesnt-match-ts-version.js | 6 ++--- .../reference/tsbuild/sample1/explainFiles.js | 14 +++++----- ...uilds-when-extended-config-file-changes.js | 6 ++--- .../reference/tsbuild/sample1/sample.js | 26 +++++++++---------- .../when-declaration-option-changes.js | 2 +- .../when-esModuleInterop-option-changes.js | 6 ++--- .../sample1/when-module-option-changes.js | 2 +- .../sample1/when-target-option-changes.js | 2 +- ...for-changes-to-package-json-main-fields.js | 4 +-- ...t-correctly-with-cts-and-mts-extensions.js | 8 +++--- ...se-different-module-resolution-settings.js | 2 +- ...n-no-files-are-emitted-with-incremental.js | 4 +-- ...when-watching-when-no-files-are-emitted.js | 6 ++--- ...mit-any-files-on-error-with-incremental.js | 4 +-- .../does-not-emit-any-files-on-error.js | 8 +++--- .../incremental-updates-in-verbose-mode.js | 6 ++--- ...e-of-program-emit-with-outDir-specified.js | 2 +- ...r-recompilation-because-of-program-emit.js | 2 +- .../works-with-extended-source-files.js | 12 ++++----- .../publicApi/with-custom-transformers.js | 4 +-- .../reexport/Reports-errors-correctly.js | 6 ++--- ...e-projects-with-single-watcher-per-file.js | 14 +++++----- .../same-file-in-multiple-projects.js | 14 +++++----- 75 files changed, 231 insertions(+), 231 deletions(-) diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index a71b2fd8dfaf8..c22361eb64339 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5090,11 +5090,11 @@ "category": "Error", "code": 6310 }, - "Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'": { + "Project '{0}' is out of date because output '{1}' is older than input '{2}'": { "category": "Message", "code": 6350 }, - "Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'": { + "Project '{0}' is up to date because newest input '{1}' is older than output '{2}'": { "category": "Message", "code": 6351 }, diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 4751543ae57cb..1e57d1a5dee0c 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -2230,7 +2230,7 @@ namespace ts { case UpToDateStatusType.OutOfDateWithSelf: return reportStatus( state, - Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, + Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, relName(state, configFileName), relName(state, status.outOfDateOutputFileName), relName(state, status.newerInputFileName) @@ -2238,7 +2238,7 @@ namespace ts { case UpToDateStatusType.OutOfDateWithUpstream: return reportStatus( state, - Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, + Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2, relName(state, configFileName), relName(state, status.outOfDateOutputFileName), relName(state, status.newerProjectName) @@ -2261,7 +2261,7 @@ namespace ts { if (status.newestInputFileTime !== undefined) { return reportStatus( state, - Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, + Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2, relName(state, configFileName), relName(state, status.newestInputFileName || ""), relName(state, status.oldestOutputFileName || "") diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 684c0221b218c..3ff0e7200472c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -964,7 +964,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:35 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:36 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 97e316c861699..03fc79655263e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -2141,7 +2141,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:41 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:41 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:42 AM] Building project '/src/lib/tsconfig.json'... @@ -3778,7 +3778,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:04 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:04 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:01:05 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index b8ed764d7a960..e2b47de8cc342 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -1250,7 +1250,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:42 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:42 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:43 AM] Building project '/src/lib/tsconfig.json'... @@ -2159,7 +2159,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:05 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:05 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:01:06 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index dac543764d14e..c919c0a7500ed 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -986,7 +986,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:39 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 4e9ff5d8f06d4..77f8e6d505a8f 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -4891,7 +4891,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:38 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:39 AM] Building project '/src/lib/tsconfig.json'... @@ -8719,7 +8719,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:01:01 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:01:01 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:01:02 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index 9af0783304a96..a5a84dd4b980d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -1199,7 +1199,7 @@ Output:: * src/lib/tsconfig.json * src/app/tsconfig.json -[12:00:39 AM] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.tsbuildinfo' is older than newest input 'src/lib/file1.ts' +[12:00:39 AM] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts' [12:00:40 AM] Building project '/src/lib/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index 49388f073f3a3..49e7a0c317ccc 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -256,11 +256,11 @@ Output:: * src/tests/tsconfig.json * src/tsconfig.json -[12:00:32 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than oldest output 'src/src/folder/tsconfig.tsbuildinfo' +[12:00:32 AM] Project 'src/src/folder/tsconfig.json' is up to date because newest input 'src/src/folder/index.ts' is older than output 'src/src/folder/tsconfig.tsbuildinfo' -[12:00:33 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than oldest output 'src/src/folder2/tsconfig.tsbuildinfo' +[12:00:33 AM] Project 'src/src/folder2/tsconfig.json' is up to date because newest input 'src/src/folder2/index.ts' is older than output 'src/src/folder2/tsconfig.tsbuildinfo' -[12:00:34 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:34 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 5d79366f8eb47..ca3b5e4a18149 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -248,7 +248,7 @@ Output:: [12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/a.ts' [12:00:25 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index f93f441f72cd3..a4265da8e58d0 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -235,7 +235,7 @@ Output:: [12:00:20 AM] Projects in this build: * src/tsconfig.json -[12:00:21 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:21 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/a.ts' [12:00:22 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index e0ee57508e343..3071a0dfbd65c 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -206,7 +206,7 @@ Output:: [12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/a.ts' [12:00:25 AM] Building project '/src/tsconfig.json'... @@ -317,7 +317,7 @@ Output:: [12:00:32 AM] Projects in this build: * src/tsconfig.json -[12:00:33 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/a.ts' +[12:00:33 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/a.ts' [12:00:34 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 93eba08450659..bb83ffb5e396d 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -260,7 +260,7 @@ Output:: [12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:25 AM] Building project '/src/tsconfig.json'... @@ -394,7 +394,7 @@ Output:: [12:00:34 AM] Projects in this build: * src/tsconfig.json -[12:00:35 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:35 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:36 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index c9961a6bcd59d..e8df3cdeafc8c 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -260,7 +260,7 @@ Output:: [12:00:22 AM] Projects in this build: * src/tsconfig.json -[12:00:23 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:23 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:24 AM] Building project '/src/tsconfig.json'... @@ -395,7 +395,7 @@ Output:: [12:00:34 AM] Projects in this build: * src/tsconfig.json -[12:00:35 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:35 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:36 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 3af3283a3fdd3..f1fe7c911832b 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -264,7 +264,7 @@ Output:: [12:00:24 AM] Projects in this build: * src/tsconfig.json -[12:00:25 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:25 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:26 AM] Building project '/src/tsconfig.json'... @@ -534,7 +534,7 @@ Output:: [12:00:42 AM] Projects in this build: * src/tsconfig.json -[12:00:43 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/obj/tsconfig.tsbuildinfo' is older than newest input 'src/bar.ts' +[12:00:43 AM] Project 'src/tsconfig.json' is out of date because output 'src/obj/tsconfig.tsbuildinfo' is older than input 'src/bar.ts' [12:00:44 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 1974972a14ecc..008a1fa2d0a62 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -158,7 +158,7 @@ Output:: [12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:16 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' +[12:00:16 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/main.ts' [12:00:17 AM] Building project '/src/tsconfig.json'... @@ -259,7 +259,7 @@ Output:: [12:00:23 AM] Projects in this build: * src/tsconfig.json -[12:00:24 AM] Project 'src/tsconfig.json' is out of date because oldest output 'src/tsconfig.tsbuildinfo' is older than newest input 'src/src/main.ts' +[12:00:24 AM] Project 'src/tsconfig.json' is out of date because output 'src/tsconfig.tsbuildinfo' is older than input 'src/src/main.ts' [12:00:25 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index f7993b6a86042..aecb32f1402ad 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -608,11 +608,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:46 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:56 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:00:57 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -771,11 +771,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:06 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:06 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:07 AM] Building project '/src/first/tsconfig.json'... -[12:01:16 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:16 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:17 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 83ee23973f79f..b5bbbfc622942 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -575,9 +575,9 @@ Output:: [12:00:47 AM] Building project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:00:59 AM] Building project '/src/third/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 2fe7bed97140b..03ce31d74d7f3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -1945,13 +1945,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:53 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:05 AM] Building project '/src/third/tsconfig.json'... @@ -3284,11 +3284,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:22 AM] Building project '/src/first/tsconfig.json'... -[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 4ee09405ba6d9..84f7cf98be8e5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -2726,13 +2726,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:08 AM] Building project '/src/third/tsconfig.json'... @@ -4668,11 +4668,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -6187,11 +6187,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index 9fb9c0f1e5260..a2960ab150260 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -2344,11 +2344,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3510,11 +3510,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:18 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:19 AM] Building project '/src/first/tsconfig.json'... -[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:28 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:29 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index f5e0f5a0dbe5a..6e8a3dd8026c4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -1947,7 +1947,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:52 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:53 AM] Building project '/src/first/tsconfig.json'... @@ -1959,9 +1959,9 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:05 AM] Building project '/src/third/tsconfig.json'... @@ -3283,7 +3283,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:21 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:22 AM] Building project '/src/first/tsconfig.json'... @@ -3295,7 +3295,7 @@ src/first/first_part2.ts Part of 'files' list in tsconfig.json src/first/first_part3.ts Part of 'files' list in tsconfig.json -[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:31 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:32 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 136e918ffbcc5..6e61fd475d191 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -3943,11 +3943,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:01 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:01 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:02 AM] Building project '/src/first/tsconfig.json'... -[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -6167,11 +6167,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:26 AM] Building project '/src/first/tsconfig.json'... -[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:36 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 9caed7f8c79b6..64db7e084e44f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -2978,11 +2978,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4594,11 +4594,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 6b18d2f06d821..0354ec7d0aed3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -2259,13 +2259,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:01 AM] Building project '/src/first/tsconfig.json'... -[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:11 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:12 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:13 AM] Building project '/src/third/tsconfig.json'... @@ -3798,11 +3798,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:30 AM] Building project '/src/first/tsconfig.json'... -[12:01:39 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:39 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:40 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4990,11 +4990,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:53 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:54 AM] Building project '/src/first/tsconfig.json'... -[12:02:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:02:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:02:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 1f59de9a73079..8d1dd23ea2b78 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -2132,11 +2132,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -3222,11 +3222,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:20 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:21 AM] Building project '/src/first/tsconfig.json'... -[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:30 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part2.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:31 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index 712b5d43dc763..a9b62ea05f538 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -1974,13 +1974,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:56 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:57 AM] Building project '/src/first/tsconfig.json'... -[12:01:07 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:07 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:08 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:08 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:09 AM] Building project '/src/third/tsconfig.json'... @@ -3332,11 +3332,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:25 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:26 AM] Building project '/src/first/tsconfig.json'... -[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:35 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:36 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index ae705d1b8a651..1a0aba752ea60 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -1938,11 +1938,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 09f3abc44a799..18b3c083cb41b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -2035,13 +2035,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:08 AM] Building project '/src/third/tsconfig.json'... @@ -3434,11 +3434,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -4492,11 +4492,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index aa56838c20cdd..d439cf11fdb90 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -1966,11 +1966,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -2953,11 +2953,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:17 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:18 AM] Building project '/src/first/tsconfig.json'... -[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:27 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:28 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 246e18eb0b252..27da1881f7b12 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -5734,7 +5734,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:58 AM] Building project '/src/first/tsconfig.json'... @@ -10092,7 +10092,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:29 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:30 AM] Building project '/src/first/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 7c0e57f5e787a..7aa5b30ac3234 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -5443,11 +5443,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:05 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:06 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -7792,11 +7792,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:19 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:20 AM] Building project '/src/first/tsconfig.json'... -[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:29 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:30 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index ba6ad23da2e39..c493f35caaa6d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -6076,7 +6076,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:01 AM] Building project '/src/first/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 98bd4799a4024..c15e230fe3cab 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -5779,11 +5779,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index ffc4cd3528683..92a69dd8267b5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -5754,15 +5754,15 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:57 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:58 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is out of date because oldest output 'src/2/second-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:08 AM] Project 'src/second/tsconfig.json' is out of date because output 'src/2/second-output.tsbuildinfo' is older than input 'src/first' [12:01:09 AM] Building project '/src/second/tsconfig.json'... -[12:01:19 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/second' +[12:01:19 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/second' [12:01:20 AM] Building project '/src/third/tsconfig.json'... @@ -11346,7 +11346,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:38 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:38 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:39 AM] Building project '/src/first/tsconfig.json'... @@ -15726,7 +15726,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:02:10 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:02:10 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:02:11 AM] Building project '/src/first/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index ae0780cfb0a31..8ddf9cc18b8e5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -5934,7 +5934,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:00 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:01 AM] Building project '/src/first/tsconfig.json'... @@ -10492,7 +10492,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:32 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:32 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:33 AM] Building project '/src/first/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 034dda87b389e..6bb93ccfec986 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -5643,11 +5643,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:08 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:09 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -8092,11 +8092,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:22 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:23 AM] Building project '/src/first/tsconfig.json'... -[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:32 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:33 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index bc7f2f7381da4..44f533fbd98fc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -5463,13 +5463,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:55 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:56 AM] Building project '/src/first/tsconfig.json'... -[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:06 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:07 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:08 AM] Building project '/src/third/tsconfig.json'... @@ -8198,11 +8198,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:24 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:25 AM] Building project '/src/first/tsconfig.json'... -[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:34 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:35 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed @@ -10569,11 +10569,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:48 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:49 AM] Building project '/src/first/tsconfig.json'... -[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 0b5cb95196b87..85b863f21826b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -2295,13 +2295,13 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:58 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:59 AM] Building project '/src/first/tsconfig.json'... -[12:01:09 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:09 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because oldest output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than newest input 'src/first' +[12:01:10 AM] Project 'src/third/tsconfig.json' is out of date because output 'src/third/thirdjs/output/third-output.tsbuildinfo' is older than input 'src/first' [12:01:11 AM] Building project '/src/third/tsconfig.json'... @@ -3904,11 +3904,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:27 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:01:27 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:01:28 AM] Building project '/src/first/tsconfig.json'... -[12:01:37 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:37 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:38 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index 5f0a2d1174d46..dd135ae2176f2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -2061,11 +2061,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:54 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:55 AM] Building project '/src/first/tsconfig.json'... -[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:04 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:05 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index 38aa0facdbb0e..b46330cc804cb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1755,11 +1755,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:50 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index 604f08ace4b3c..f155e103b9cfd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -1823,11 +1823,11 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because oldest output 'src/first/bin/first-output.tsbuildinfo' is older than newest input 'src/first/first_PART1.ts' +[12:00:53 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' [12:00:54 AM] Building project '/src/first/tsconfig.json'... -[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than oldest output 'src/2/second-output.tsbuildinfo' +[12:01:03 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' [12:01:04 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 96214f113379f..584d245b97970 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -93,7 +93,7 @@ Output:: [12:00:20 AM] Projects in this build: * src/tsconfig.json -[12:00:21 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig.tsbuildinfo' +[12:00:21 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index 4d93b40c6c1e6..d75a2ecdc171e 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -52,7 +52,7 @@ Output:: [12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index cccc442ac085d..95a62f8055ee3 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -52,7 +52,7 @@ Output:: [12:00:15 AM] Projects in this build: * src/tsconfig.json -[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/index.js' +[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index b45a0a5f6dc45..23cb7305baaf3 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -65,7 +65,7 @@ Output:: [12:00:09 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:17 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:17 AM] Project 'src/src/main/tsconfig.json' is out of date because output 'src/dist/tsconfig.tsbuildinfo' is older than input 'src/src/other' [12:00:18 AM] Building project '/src/src/main/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index e835b83def62a..2e9e4f64570a5 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -58,7 +58,7 @@ Output:: [12:00:10 AM] Building project '/src/src/other/tsconfig.json'... -[12:00:18 AM] Project 'src/src/main/tsconfig.json' is out of date because oldest output 'src/dist/tsconfig.tsbuildinfo' is older than newest input 'src/src/other' +[12:00:18 AM] Project 'src/src/main/tsconfig.json' is out of date because output 'src/dist/tsconfig.tsbuildinfo' is older than input 'src/src/other' [12:00:19 AM] Building project '/src/src/main/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 30ff09d659f28..2913fb02f65e5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -217,9 +217,9 @@ Output:: * src/main/tsconfig.json * src/tsconfig.json -[12:00:21 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than oldest output 'src/strings/tsconfig.tsbuildinfo' +[12:00:21 AM] Project 'src/strings/tsconfig.json' is up to date because newest input 'src/strings/foo.json' is older than output 'src/strings/tsconfig.tsbuildinfo' -[12:00:22 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than oldest output 'src/main/tsconfig.tsbuildinfo' +[12:00:22 AM] Project 'src/main/tsconfig.json' is up to date because newest input 'src/main/index.ts' is older than output 'src/main/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index a28884523f31e..1b5724f51a909 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -208,7 +208,7 @@ Output:: [12:00:20 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:21 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/dist/tsconfig_withFiles.tsbuildinfo' +[12:00:21 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index fa71e51f142f4..5867481d471e5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -190,7 +190,7 @@ Output:: [12:00:16 AM] Projects in this build: * src/tsconfig_withFiles.json -[12:00:17 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than oldest output 'src/tsconfig_withFiles.tsbuildinfo' +[12:00:17 AM] Project 'src/tsconfig_withFiles.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/tsconfig_withFiles.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 1bb871102b277..703c7fa5db76e 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -392,11 +392,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:30 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:30 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:31 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:31 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:00:32 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:32 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -417,11 +417,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:35 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:35 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:36 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:36 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:00:37 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/index.ts' +[12:00:37 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/tests/index.ts' [12:00:38 AM] Building project '/src/tests/tsconfig.json'... @@ -494,7 +494,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:47 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:47 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' [12:00:48 AM] Building project '/src/core/tsconfig.json'... @@ -606,11 +606,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:05 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:05 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:01:06 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:06 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:01:07 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:01:07 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/tests/tsconfig.json' [12:01:08 AM] Building project '/src/tests/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 10b43b2ac7c86..1d7f1c65cd804 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -333,7 +333,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' [12:00:29 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js index c6169b8ad99d0..3b20b973992cf 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-rebuild-if-there-is-no-program-and-bundle-in-the-ts-build-info-event-if-version-doesnt-match-ts-version.js @@ -198,11 +198,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:24 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:25 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:00:26 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index aff5ba544f109..dd482c1526b6e 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -459,7 +459,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:38 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:38 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' [12:00:39 AM] Building project '/src/core/tsconfig.json'... @@ -471,7 +471,7 @@ src/core/index.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' src/core/some_decl.d.ts Matched by include pattern '**/*' in 'src/core/tsconfig.json' -[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:47 AM] Project 'src/logic/tsconfig.json' is out of date because output 'src/logic/tsconfig.tsbuildinfo' is older than input 'src/core' [12:00:48 AM] Building project '/src/logic/tsconfig.json'... @@ -485,7 +485,7 @@ src/core/anotherModule.d.ts File is output of project reference source 'src/core/anotherModule.ts' src/logic/index.ts Matched by include pattern '**/*' in 'src/logic/tsconfig.json' -[12:00:55 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:55 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/core' [12:00:56 AM] Building project '/src/tests/tsconfig.json'... @@ -763,7 +763,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:04 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' [12:01:05 AM] Building project '/src/core/tsconfig.json'... @@ -877,11 +877,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:21 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:01:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:22 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:01:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:23 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 2bbcbed30d910..fd762a3c79745 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -427,11 +427,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:40 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:40 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:41 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:41 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:00:42 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.base.json' +[12:00:42 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/tests/tsconfig.base.json' [12:00:43 AM] Building project '/src/tests/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 35a4bf2931b43..62468f008a837 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -714,15 +714,15 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:41 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:00:41 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' [12:00:42 AM] Building project '/src/core/tsconfig.json'... -[12:00:50 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:50 AM] Project 'src/logic/tsconfig.json' is out of date because output 'src/logic/tsconfig.tsbuildinfo' is older than input 'src/core' [12:00:51 AM] Building project '/src/logic/tsconfig.json'... -[12:00:58 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/core' +[12:00:58 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/core' [12:00:59 AM] Building project '/src/tests/tsconfig.json'... @@ -1137,7 +1137,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:09 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/index.ts' +[12:01:09 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' [12:01:10 AM] Building project '/src/core/tsconfig.json'... @@ -1254,11 +1254,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:27 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:01:28 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:28 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:01:29 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:29 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { @@ -1299,13 +1299,13 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:32 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because oldest output 'src/logic/tsconfig.tsbuildinfo' is older than newest input 'src/logic/tsconfig.json' +[12:01:33 AM] Project 'src/logic/tsconfig.json' is out of date because output 'src/logic/tsconfig.tsbuildinfo' is older than input 'src/logic/tsconfig.json' [12:01:34 AM] Building project '/src/logic/tsconfig.json'... -[12:01:43 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/logic' +[12:01:43 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/logic' [12:01:44 AM] Building project '/src/tests/tsconfig.json'... @@ -1500,11 +1500,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:01:52 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:01:52 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/index.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:01:53 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:01:53 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:01:54 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than oldest output 'src/tests/tsconfig.tsbuildinfo' +[12:01:54 AM] Project 'src/tests/tsconfig.json' is up to date because newest input 'src/tests/index.ts' is older than output 'src/tests/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 6e05c7b5b3f3e..5ec47674baaeb 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -204,7 +204,7 @@ Output:: [12:00:16 AM] Projects in this build: * src/core/tsconfig.json -[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' [12:00:18 AM] Building project '/src/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index c977ca3cbefd5..5fd16ac41d78b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -438,11 +438,11 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than oldest output 'src/core/tsconfig.tsbuildinfo' +[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:40 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than oldest output 'src/logic/tsconfig.tsbuildinfo' +[12:00:40 AM] Project 'src/logic/tsconfig.json' is up to date because newest input 'src/logic/index.ts' is older than output 'src/logic/tsconfig.tsbuildinfo' -[12:00:41 AM] Project 'src/tests/tsconfig.json' is out of date because oldest output 'src/tests/tsconfig.tsbuildinfo' is older than newest input 'src/tests/tsconfig.json' +[12:00:41 AM] Project 'src/tests/tsconfig.json' is out of date because output 'src/tests/tsconfig.tsbuildinfo' is older than input 'src/tests/tsconfig.json' [12:00:42 AM] Building project '/src/tests/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 90b3efaf14a3a..2057cbad19595 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -204,7 +204,7 @@ Output:: [12:00:16 AM] Projects in this build: * src/core/tsconfig.json -[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' [12:00:18 AM] Building project '/src/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index a9bfe49851572..cf26dbcf5c13b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -222,7 +222,7 @@ Output:: [12:00:19 AM] Projects in this build: * src/core/tsconfig.json -[12:00:20 AM] Project 'src/core/tsconfig.json' is out of date because oldest output 'src/core/tsconfig.tsbuildinfo' is older than newest input 'src/core/tsconfig.json' +[12:00:20 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' [12:00:21 AM] Building project '/src/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 6db2259c92ff2..d34da22493320 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -282,7 +282,7 @@ Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' +[12:01:21 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg2/package.json' [12:01:22 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... @@ -374,7 +374,7 @@ Output:: >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... -[12:01:28 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg2/package.json' +[12:01:28 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg2/package.json' [12:01:29 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 9c745b3f03092..1831fecebf754 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -269,7 +269,7 @@ Output:: >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... -[12:01:15 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:15 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg1/package.json' [12:01:16 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... @@ -385,7 +385,7 @@ Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... -[12:01:22 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:22 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg1/package.json' [12:01:23 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... @@ -491,7 +491,7 @@ Output:: >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... -[12:01:33 AM] Project 'packages/pkg1/tsconfig.json' is out of date because oldest output 'packages/pkg1/build/index.js' is older than newest input 'packages/pkg1/package.json' +[12:01:33 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg1/package.json' [12:01:34 AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... @@ -611,7 +611,7 @@ Output:: >> Screen clear [12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:43 AM] Project 'packages/pkg2/tsconfig.json' is out of date because oldest output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than newest input 'packages/pkg2/index.cts' +[12:01:43 AM] Project 'packages/pkg2/tsconfig.json' is out of date because output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than input 'packages/pkg2/index.cts' [12:01:44 AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 5b8b49f5cc12a..3eaf32ba0d91c 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -281,7 +281,7 @@ Output:: >> Screen clear [12:01:20 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Project 'project1/tsconfig.json' is out of date because oldest output 'project1/tsconfig.tsbuildinfo' is older than newest input 'project1/index.ts' +[12:01:21 AM] Project 'project1/tsconfig.json' is out of date because output 'project1/tsconfig.tsbuildinfo' is older than input 'project1/index.ts' [12:01:22 AM] Building project '/user/username/projects/myproject/project1/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index a24bfc42c8f37..05201b7b66e36 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -135,7 +135,7 @@ Output:: >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... -[12:00:39 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' +[12:00:39 AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'a.js' [12:00:40 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -183,7 +183,7 @@ Output:: >> Screen clear [12:00:45 AM] File change detected. Starting incremental compilation... -[12:00:46 AM] Project 'tsconfig.json' is out of date because oldest output 'tsconfig.tsbuildinfo' is older than newest input 'a.js' +[12:00:46 AM] Project 'tsconfig.json' is out of date because output 'tsconfig.tsbuildinfo' is older than input 'a.js' [12:00:47 AM] Building project '/user/username/projects/myproject/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index d6f1d1c17961d..caaa2370a26ab 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -32,7 +32,7 @@ Output:: [12:00:26 AM] Projects in this build: * tsconfig.json -[12:00:27 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'b.ts' +[12:00:27 AM] Project 'tsconfig.json' is out of date because output 'a.js' is older than input 'b.ts' [12:00:28 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -84,7 +84,7 @@ Output:: >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... -[12:00:34 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'a.js' +[12:00:34 AM] Project 'tsconfig.json' is out of date because output 'a.js' is older than input 'a.js' [12:00:35 AM] Building project '/user/username/projects/myproject/tsconfig.json'... @@ -132,7 +132,7 @@ Output:: >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... -[12:00:41 AM] Project 'tsconfig.json' is out of date because oldest output 'a.js' is older than newest input 'a.js' +[12:00:41 AM] Project 'tsconfig.json' is out of date because output 'a.js' is older than input 'a.js' [12:00:42 AM] Building project '/user/username/projects/myproject/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 4c44b07abd9d7..21edb9e56690d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -349,7 +349,7 @@ Output:: >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:23 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:01:23 AM] Project 'tsconfig.json' is out of date because output 'dev-build/tsconfig.tsbuildinfo' is older than input 'src/main.ts' [12:01:24 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -651,7 +651,7 @@ Output:: >> Screen clear [12:02:00 AM] File change detected. Starting incremental compilation... -[12:02:01 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/tsconfig.tsbuildinfo' is older than newest input 'src/main.ts' +[12:02:01 AM] Project 'tsconfig.json' is out of date because output 'dev-build/tsconfig.tsbuildinfo' is older than input 'src/main.ts' [12:02:02 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index 0a6e5b407f1e0..4389ceec85810 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -239,7 +239,7 @@ Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:11 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:11 AM] Project 'tsconfig.json' is out of date because output 'dev-build/shared/types/db.js' is older than input 'src/main.ts' [12:01:12 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -295,7 +295,7 @@ Output:: >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... -[12:01:18 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:18 AM] Project 'tsconfig.json' is out of date because output 'dev-build/shared/types/db.js' is older than input 'src/main.ts' [12:01:19 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -352,7 +352,7 @@ Output:: >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... -[12:01:25 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:25 AM] Project 'tsconfig.json' is out of date because output 'dev-build/shared/types/db.js' is older than input 'src/main.ts' [12:01:26 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -413,7 +413,7 @@ Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Project 'tsconfig.json' is out of date because oldest output 'dev-build/shared/types/db.js' is older than newest input 'src/main.ts' +[12:01:38 AM] Project 'tsconfig.json' is out of date because output 'dev-build/shared/types/db.js' is older than input 'src/main.ts' [12:01:39 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index da1f14fb05b52..ca0bdaf96a007 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -505,7 +505,7 @@ Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:01:38 AM] Project 'sample1/logic/tsconfig.json' is out of date because output 'sample1/logic/tsconfig.tsbuildinfo' is older than input 'sample1/logic/index.ts' [12:01:39 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... @@ -665,11 +665,11 @@ Output:: >> Screen clear [12:02:03 AM] File change detected. Starting incremental compilation... -[12:02:04 AM] Project 'sample1/logic/tsconfig.json' is out of date because oldest output 'sample1/logic/tsconfig.tsbuildinfo' is older than newest input 'sample1/logic/index.ts' +[12:02:04 AM] Project 'sample1/logic/tsconfig.json' is out of date because output 'sample1/logic/tsconfig.tsbuildinfo' is older than input 'sample1/logic/index.ts' [12:02:05 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -[12:02:23 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' +[12:02:23 AM] Project 'sample1/tests/tsconfig.json' is out of date because output 'sample1/tests/index.js' is older than input 'sample1/logic/tsconfig.json' [12:02:24 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index d42279b54a44a..730ebbbd38ddf 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -182,7 +182,7 @@ Output:: >> Screen clear [12:00:51 AM] File change detected. Starting incremental compilation... -[12:00:52 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:52 AM] Project 'sample1/core/tsconfig.json' is out of date because output 'sample1/core/outDir/tsconfig.tsbuildinfo' is older than input 'sample1/core/file3.ts' [12:00:53 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index ddae2eb4540c0..4104a233826ee 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -197,7 +197,7 @@ Output:: >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... -[12:00:53 AM] Project 'sample1/core/tsconfig.json' is out of date because oldest output 'sample1/core/tsconfig.tsbuildinfo' is older than newest input 'sample1/core/file3.ts' +[12:00:53 AM] Project 'sample1/core/tsconfig.json' is out of date because output 'sample1/core/tsconfig.tsbuildinfo' is older than input 'sample1/core/file3.ts' [12:00:54 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 29769725dbd86..ca2e47f2d2cc4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -227,7 +227,7 @@ Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... -[12:01:00 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:00 AM] Project 'project1.tsconfig.json' is out of date because output 'project1.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' [12:01:01 AM] Building project '/a/b/project1.tsconfig.json'... @@ -279,7 +279,7 @@ Change:: Build project 2 Input:: Output:: -[12:01:04 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:04 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' [12:01:05 AM] Building project '/a/b/project2.tsconfig.json'... @@ -337,7 +337,7 @@ Output:: >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... -[12:01:13 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'project2.tsconfig.tsbuildinfo' is older than newest input 'bravo.tsconfig.json' +[12:01:13 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'bravo.tsconfig.json' [12:01:14 AM] Building project '/a/b/project2.tsconfig.json'... @@ -395,7 +395,7 @@ Output:: >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... -[12:01:22 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'project2.tsconfig.json' +[12:01:22 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'project2.tsconfig.json' [12:01:23 AM] Building project '/a/b/project2.tsconfig.json'... @@ -472,7 +472,7 @@ Output:: >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Project 'project1.tsconfig.json' is out of date because oldest output 'project1.tsconfig.tsbuildinfo' is older than newest input 'alpha.tsconfig.json' +[12:01:39 AM] Project 'project1.tsconfig.json' is out of date because output 'project1.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' [12:01:40 AM] Building project '/a/b/project1.tsconfig.json'... @@ -524,7 +524,7 @@ Change:: Build project 2 Input:: Output:: -[12:01:43 AM] Project 'project2.tsconfig.json' is out of date because oldest output 'commonFile1.js' is older than newest input 'alpha.tsconfig.json' +[12:01:43 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'alpha.tsconfig.json' [12:01:44 AM] Building project '/a/b/project2.tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 4bccfb63840eb..31a5b496e71cb 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -273,11 +273,11 @@ Output:: >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... -[12:01:00 AM] Project 'shared/tsconfig.json' is out of date because oldest output 'shared/tsconfig.tsbuildinfo' is older than newest input 'shared/index.ts' +[12:01:00 AM] Project 'shared/tsconfig.json' is out of date because output 'shared/tsconfig.tsbuildinfo' is older than input 'shared/index.ts' [12:01:01 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... -[12:01:16 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' +[12:01:16 AM] Project 'webpack/tsconfig.json' is out of date because output 'webpack/index.js' is older than input 'shared/tsconfig.json' [12:01:17 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index d8996a46883b2..a8d63edd8a307 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -268,11 +268,11 @@ Output:: >> Screen clear [12:01:10 AM] File change detected. Starting incremental compilation... -[12:01:11 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:11 AM] Project 'src/pure/tsconfig.json' is out of date because output 'out/pure/tsconfig.tsbuildinfo' is older than input 'src/pure/session.ts' [12:01:12 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -[12:01:33 AM] Project 'src/main/tsconfig.json' is out of date because oldest output 'out/main/index.js' is older than newest input 'src/pure/tsconfig.json' +[12:01:33 AM] Project 'src/main/tsconfig.json' is out of date because output 'out/main/index.js' is older than input 'src/pure/tsconfig.json' [12:01:34 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... @@ -434,7 +434,7 @@ Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Project 'src/pure/tsconfig.json' is out of date because oldest output 'out/pure/tsconfig.tsbuildinfo' is older than newest input 'src/pure/session.ts' +[12:01:40 AM] Project 'src/pure/tsconfig.json' is out of date because output 'out/pure/tsconfig.tsbuildinfo' is older than input 'src/pure/session.ts' [12:01:41 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 9810bc00368c0..cadfa434afadf 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -223,25 +223,25 @@ Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because output 'pkg0/index.js' is older than input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because output 'pkg1/index.js' is older than input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because output 'pkg2/index.js' is older than input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because output 'pkg3/index.js' is older than input 'typings/xterm.d.ts' [12:01:27 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... @@ -405,19 +405,19 @@ Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because output 'pkg0/index.js' is older than input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because output 'pkg1/index.js' is older than input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because output 'pkg2/index.js' is older than input 'typings/xterm.d.ts' [12:01:49 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index 9810bc00368c0..cadfa434afadf 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -223,25 +223,25 @@ Output:: >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:14 AM] Project 'pkg0/tsconfig.json' is out of date because output 'pkg0/index.js' is older than input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:18 AM] Project 'pkg1/tsconfig.json' is out of date because output 'pkg1/index.js' is older than input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:22 AM] Project 'pkg2/tsconfig.json' is out of date because output 'pkg2/index.js' is older than input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... -[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:26 AM] Project 'pkg3/tsconfig.json' is out of date because output 'pkg3/index.js' is older than input 'typings/xterm.d.ts' [12:01:27 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... @@ -405,19 +405,19 @@ Output:: >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... -[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because oldest output 'pkg0/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:40 AM] Project 'pkg0/tsconfig.json' is out of date because output 'pkg0/index.js' is older than input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... [12:01:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... -[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:44 AM] Project 'pkg1/tsconfig.json' is out of date because output 'pkg1/index.js' is older than input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... -[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' +[12:01:48 AM] Project 'pkg2/tsconfig.json' is out of date because output 'pkg2/index.js' is older than input 'typings/xterm.d.ts' [12:01:49 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... From 0f7903de42fd3607e091113837c3b0a07147013c Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 09:03:02 -0700 Subject: [PATCH 41/64] Reconcile reusable builder state and builder state so there are not two different types that are almost similar looking --- src/compiler/builder.ts | 86 ++++++++++-------------------------- src/compiler/builderState.ts | 40 ++++------------- 2 files changed, 33 insertions(+), 93 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 6dfbf30d9012d..54c631397087f 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -20,15 +20,15 @@ namespace ts { export type ReusableDiagnosticMessageChain = DiagnosticMessageChain; - export interface ReusableBuilderProgramState extends ReusableBuilderState { + export interface ReusableBuilderProgramState extends BuilderState { /** * Cache of bind and check diagnostics for files with their Path being the key */ - semanticDiagnosticsPerFile?: ReadonlyESMap | undefined; + semanticDiagnosticsPerFile?: ESMap | undefined; /** * The map has key by source file's path that has been changed */ - changedFilesSet: ReadonlySet; + changedFilesSet: Set; /** * Set of affected files being iterated */ @@ -41,11 +41,11 @@ namespace ts { * Map of file signatures, with key being file path, calculated while getting current changed file's affected files * These will be committed whenever the iteration through affected files of current changed file is complete */ - currentAffectedFilesSignatures?: ReadonlyESMap | undefined; + currentAffectedFilesSignatures?: ESMap | undefined; /** * Newly computed visible to outside referencedSet */ - currentAffectedFilesExportedModulesMap?: BuilderState.ReadonlyManyToManyPathMap | undefined; + currentAffectedFilesExportedModulesMap?: BuilderState.ManyToManyPathMap | undefined; /** * True if the semantic diagnostics were copied from the old state */ @@ -65,7 +65,7 @@ namespace ts { /** * Files pending to be emitted kind. */ - affectedFilesPendingEmitKind?: ReadonlyESMap | undefined; + affectedFilesPendingEmitKind?: ESMap | undefined; /** * Current index to retrieve pending affected file */ @@ -74,11 +74,18 @@ namespace ts { * true if semantic diagnostics are ReusableDiagnostic instead of Diagnostic */ hasReusableDiagnostic?: true; - - emitSignatures?: ReadonlyESMap; + /** + * Hash of d.ts emitted for the file, use to track when emit of d.ts changes + */ + emitSignatures?: ESMap; + /** + * Hash of d.ts emit with --out + */ outSignature?: string; + /** + * Time when d.ts was modified + */ dtsChangeTime: number | undefined; - hasChangedEmitSignature?: boolean; } export const enum BuilderFileEmit { @@ -90,38 +97,15 @@ namespace ts { * State to store the changed files, affected files and cache semantic diagnostics */ // TODO: GH#18217 Properties of this interface are frequently asserted to be defined. - export interface BuilderProgramState extends BuilderState { + export interface BuilderProgramState extends BuilderState, ReusableBuilderProgramState { /** * Cache of bind and check diagnostics for files with their Path being the key */ semanticDiagnosticsPerFile: ESMap | undefined; - /** - * The map has key by source file's path that has been changed - */ - changedFilesSet: Set; - /** - * Set of affected files being iterated - */ - affectedFiles: readonly SourceFile[] | undefined; /** * Current index to retrieve affected file from */ affectedFilesIndex: number | undefined; - /** - * Current changed file for iterating over affected files - */ - currentChangedFilePath: Path | undefined; - /** - * Map of file signatures, with key being file path, calculated while getting current changed file's affected files - * These will be committed whenever the iteration through affected files of current changed file is complete - */ - currentAffectedFilesSignatures: ESMap | undefined; - /** - * Newly computed visible to outside referencedSet - * We need to store the updates separately in case the in-progress build is cancelled - * and we need to roll back. - */ - currentAffectedFilesExportedModulesMap: BuilderState.ManyToManyPathMap | undefined; /** * Already seen affected files */ @@ -131,33 +115,13 @@ namespace ts { */ cleanedDiagnosticsOfLibFiles?: boolean; /** - * True if the semantic diagnostics were copied from the old state - */ - semanticDiagnosticsFromOldState?: Set; - /** - * program corresponding to this state - */ - program: Program | undefined; - /** - * compilerOptions for the program + * Records if change in dts emit was detected */ - compilerOptions: CompilerOptions; - emitSignatures?: ESMap; - outSignature?: string; - dtsChangeTime: number | undefined; - hasChangedEmitSignature?: boolean; + hasChangedEmitSignature?: boolean; /** * Files pending to be emitted */ affectedFilesPendingEmit: Path[] | undefined; - /** - * Files pending to be emitted kind. - */ - affectedFilesPendingEmitKind: ESMap | undefined; - /** - * Current index to retrieve pending affected file - */ - affectedFilesPendingEmitIndex: number | undefined; /** * true if build info is emitted */ @@ -196,7 +160,7 @@ namespace ts { state.outSignature = oldState?.outSignature; } state.changedFilesSet = new Set(); - state.dtsChangeTime = oldState?.dtsChangeTime; + state.dtsChangeTime = compilerOptions.composite ? oldState?.dtsChangeTime : undefined; const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState); const oldCompilerOptions = useOldState ? oldState!.compilerOptions : undefined; @@ -507,7 +471,7 @@ namespace ts { ); return; } - Debug.assert(state.hasCalledUpdateShapeSignature.has(affectedFile.resolvedPath) || state.currentAffectedFilesSignatures?.has(affectedFile.resolvedPath), `Signature not updated for affected file: ${affectedFile.fileName}`); + Debug.assert(state.hasCalledUpdateShapeSignature?.has(affectedFile.resolvedPath) || state.currentAffectedFilesSignatures?.has(affectedFile.resolvedPath), `Signature not updated for affected file: ${affectedFile.fileName}`); if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) return; handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, computeHash, host); } @@ -844,7 +808,7 @@ namespace ts { /** * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ - function getProgramBuildInfo(state: ReusableBuilderProgramState, getCanonicalFileName: GetCanonicalFileName, host: BuilderProgramHost): ProgramBuildInfo | undefined { + function getProgramBuildInfo(state: BuilderProgramState, getCanonicalFileName: GetCanonicalFileName, host: BuilderProgramHost): ProgramBuildInfo | undefined { const outFilePath = outFile(state.compilerOptions); if (outFilePath && !state.compilerOptions.composite) return; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); @@ -924,9 +888,7 @@ namespace ts { value.length ? [ toFileId(key), - state.hasReusableDiagnostic ? - value as readonly ReusableDiagnostic[] : - convertToReusableDiagnostics(value as readonly Diagnostic[], relativeToBuildInfo) + convertToReusableDiagnostics(value, relativeToBuildInfo) ] : toFileId(key) ); @@ -1541,7 +1503,7 @@ namespace ts { } } - export function createRedirectedBuilderProgram(getState: () => { program: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: readonly Diagnostic[]): BuilderProgram { + export function createRedirectedBuilderProgram(getState: () => { program?: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: readonly Diagnostic[]): BuilderProgram { return { getState: notImplemented, backupState: noop, diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 34730786bdb25..421b679397ef2 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -10,26 +10,7 @@ namespace ts { outputFiles.push({ name: fileName, writeByteOrderMark, text }); } } - - export interface ReusableBuilderState { - /** - * Information of the file eg. its version, signature etc - */ - fileInfos: ReadonlyESMap; - /** - * Contains the map of ReferencedSet=Referenced files of the file if module emit is enabled - * Otherwise undefined - * Thus non undefined value indicates, module emit - */ - readonly referencedMap?: BuilderState.ReadonlyManyToManyPathMap | undefined; - /** - * Contains the map of exported modules ReferencedSet=exported module files from the file if module emit is enabled - * Otherwise undefined - */ - readonly exportedModulesMap?: BuilderState.ReadonlyManyToManyPathMap | undefined; - } - - export interface BuilderState extends ReusableBuilderState { + export interface BuilderState { /** * Information of the file eg. its version, signature etc */ @@ -52,13 +33,13 @@ namespace ts { * true if file version is used as signature * This helps in delaying the calculation of the d.ts hash as version for the file till reasonable time */ - useFileVersionAsSignature: boolean; + useFileVersionAsSignature?: boolean; /** * Map of files that have already called update signature. * That means hence forth these files are assumed to have * no change in their signature for this version of the program */ - hasCalledUpdateShapeSignature: Set; + hasCalledUpdateShapeSignature?: Set; /** * Cache of all files excluding default library file for the current program */ @@ -68,7 +49,6 @@ namespace ts { */ allFileNames?: readonly string[]; } - export namespace BuilderState { /** * Information about the source file: Its version and optional signature from last emit @@ -287,18 +267,17 @@ namespace ts { /** * Returns true if oldState is reusable, that is the emitKind = module/non module has not changed */ - export function canReuseOldState(newReferencedMap: ReadonlyManyToManyPathMap | undefined, oldState: Readonly | undefined) { + export function canReuseOldState(newReferencedMap: ReadonlyManyToManyPathMap | undefined, oldState: BuilderState | undefined) { return oldState && !oldState.referencedMap === !newReferencedMap; } /** * Creates the state of file references and signature for the new program from oldState if it is safe */ - export function create(newProgram: Program, getCanonicalFileName: GetCanonicalFileName, oldState?: Readonly, disableUseFileVersionAsSignature?: boolean): BuilderState { + export function create(newProgram: Program, getCanonicalFileName: GetCanonicalFileName, oldState?: Readonly, disableUseFileVersionAsSignature?: boolean): BuilderState { const fileInfos = new Map(); const referencedMap = newProgram.getCompilerOptions().module !== ModuleKind.None ? createManyToManyPathMap() : undefined; const exportedModulesMap = referencedMap ? createManyToManyPathMap() : undefined; - const hasCalledUpdateShapeSignature = new Set(); const useOldState = canReuseOldState(referencedMap, oldState); // Ensure source files have parent pointers set @@ -328,7 +307,6 @@ namespace ts { fileInfos, referencedMap, exportedModulesMap, - hasCalledUpdateShapeSignature, useFileVersionAsSignature: !disableUseFileVersionAsSignature && !useOldState }; } @@ -350,7 +328,7 @@ namespace ts { fileInfos: new Map(state.fileInfos), referencedMap: state.referencedMap?.clone(), exportedModulesMap: state.exportedModulesMap?.clone(), - hasCalledUpdateShapeSignature: new Set(state.hasCalledUpdateShapeSignature), + hasCalledUpdateShapeSignature: state.hasCalledUpdateShapeSignature && new Set(state.hasCalledUpdateShapeSignature), useFileVersionAsSignature: state.useFileVersionAsSignature, }; } @@ -391,18 +369,18 @@ namespace ts { export function updateSignatureOfFile(state: BuilderState, signature: string | undefined, path: Path) { state.fileInfos.get(path)!.signature = signature; - state.hasCalledUpdateShapeSignature.add(path); + (state.hasCalledUpdateShapeSignature ||= new Set()).add(path); } /** * Returns if the shape of the signature has changed since last emit */ - export function updateShapeSignature(state: Readonly, programOfThisState: Program, sourceFile: SourceFile, cacheToUpdateSignature: ESMap, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, exportedModulesMapCache?: ManyToManyPathMap, useFileVersionAsSignature: boolean = state.useFileVersionAsSignature) { + export function updateShapeSignature(state: Readonly, programOfThisState: Program, sourceFile: SourceFile, cacheToUpdateSignature: ESMap, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, exportedModulesMapCache?: ManyToManyPathMap, useFileVersionAsSignature = state.useFileVersionAsSignature) { Debug.assert(!!sourceFile); Debug.assert(!exportedModulesMapCache || !!state.exportedModulesMap, "Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"); // If we have cached the result for this file, that means hence forth we should assume file shape is uptodate - if (state.hasCalledUpdateShapeSignature.has(sourceFile.resolvedPath) || cacheToUpdateSignature.has(sourceFile.resolvedPath)) { + if (state.hasCalledUpdateShapeSignature?.has(sourceFile.resolvedPath) || cacheToUpdateSignature.has(sourceFile.resolvedPath)) { return false; } From 82fb56b3c87c763ac47d667084c0a34f84016bd8 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 10:14:19 -0700 Subject: [PATCH 42/64] Cleanup impliedFormat --- src/compiler/builder.ts | 11 +--- src/compiler/builderState.ts | 9 ++- src/compiler/commandLineParser.ts | 56 ++++++++++--------- src/testRunner/unittests/tsbuild/helpers.ts | 15 ++++- ...fiers-across-projects-resolve-correctly.js | 22 ++++---- ...t-correctly-with-cts-and-mts-extensions.js | 12 ++-- 6 files changed, 68 insertions(+), 57 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 54c631397087f..5f6a659bfd628 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -207,6 +207,8 @@ namespace ts { !(oldInfo = oldState!.fileInfos.get(sourceFilePath)) || // versions dont match oldInfo.version !== info.version || + // Implied formats dont match + oldInfo.impliedFormat !== info.impliedFormat || // Referenced files changed !hasSameKeys(newReferences = referencedMap && referencedMap.getValues(sourceFilePath), oldReferencedMap && oldReferencedMap.getValues(sourceFilePath)) || // Referenced file was deleted in the new program @@ -247,15 +249,6 @@ namespace ts { Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); state.seenAffectedFiles = state.seenAffectedFiles || new Set(); } - if (useOldState) { - // Any time the interpretation of a source file changes, mark it as changed - forEachEntry(oldState!.fileInfos, (info, sourceFilePath) => { - if (state.fileInfos.has(sourceFilePath) && state.fileInfos.get(sourceFilePath)!.impliedFormat !== info.impliedFormat) { - state.changedFilesSet.add(sourceFilePath); - } - }); - } - state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== oldState!.changedFilesSet.size; return state; } diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 421b679397ef2..99f190564e2ba 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -57,7 +57,7 @@ namespace ts { readonly version: string; signature: string | undefined; affectsGlobalScope: true | undefined; - impliedFormat: number | undefined; + impliedFormat: SourceFile["impliedNodeFormat"]; } export interface ReadonlyManyToManyPathMap { @@ -300,7 +300,12 @@ namespace ts { } } } - fileInfos.set(sourceFile.resolvedPath, { version, signature: oldInfo && oldInfo.signature, affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || undefined, impliedFormat: sourceFile.impliedNodeFormat }); + fileInfos.set(sourceFile.resolvedPath, { + version, + signature: oldInfo && oldInfo.signature, + affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || undefined, + impliedFormat: sourceFile.impliedNodeFormat + }); } return { diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 7a9e24643239e..131f512b2c498 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -341,6 +341,33 @@ namespace ts { defaultValueDescription: ScriptTarget.ES3, }; + /*@internal*/ + export const moduleOptionDeclaration: CommandLineOptionOfCustomType = { + name: "module", + shortName: "m", + type: new Map(getEntries({ + none: ModuleKind.None, + commonjs: ModuleKind.CommonJS, + amd: ModuleKind.AMD, + system: ModuleKind.System, + umd: ModuleKind.UMD, + es6: ModuleKind.ES2015, + es2015: ModuleKind.ES2015, + es2020: ModuleKind.ES2020, + es2022: ModuleKind.ES2022, + esnext: ModuleKind.ESNext, + node12: ModuleKind.Node12, + nodenext: ModuleKind.NodeNext, + })), + affectsModuleResolution: true, + affectsEmit: true, + paramType: Diagnostics.KIND, + showInSimplifiedHelpView: true, + category: Diagnostics.Modules, + description: Diagnostics.Specify_what_module_code_is_generated, + defaultValueDescription: undefined, + }; + const commandOptionsWithoutBuild: CommandLineOption[] = [ // CommandLine only options { @@ -409,31 +436,7 @@ namespace ts { // Basic targetOptionDeclaration, - { - name: "module", - shortName: "m", - type: new Map(getEntries({ - none: ModuleKind.None, - commonjs: ModuleKind.CommonJS, - amd: ModuleKind.AMD, - system: ModuleKind.System, - umd: ModuleKind.UMD, - es6: ModuleKind.ES2015, - es2015: ModuleKind.ES2015, - es2020: ModuleKind.ES2020, - es2022: ModuleKind.ES2022, - esnext: ModuleKind.ESNext, - node12: ModuleKind.Node12, - nodenext: ModuleKind.NodeNext, - })), - affectsModuleResolution: true, - affectsEmit: true, - paramType: Diagnostics.KIND, - showInSimplifiedHelpView: true, - category: Diagnostics.Modules, - description: Diagnostics.Specify_what_module_code_is_generated, - defaultValueDescription: undefined, - }, + moduleOptionDeclaration, { name: "lib", type: "list", @@ -2372,7 +2375,8 @@ namespace ts { } } - function getNameOfCompilerOptionValue(value: CompilerOptionsValue, customTypeMap: ESMap): string | undefined { + /* @internal */ + export function getNameOfCompilerOptionValue(value: CompilerOptionsValue, customTypeMap: ESMap): string | undefined { // There is a typeMap associated with this command-line option so use it to map value back to its name return forEachEntry(customTypeMap, (mapValue, key) => { if (mapValue === value) { diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index c47e0561181f4..c02db76d8be00 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -199,10 +199,11 @@ interface Symbol { type ReadableProgramBuildInfoDiagnostic = string | [string, readonly ReusableDiagnostic[]]; type ReadableProgramBuilderInfoFilePendingEmit = [string, "DtsOnly" | "Full"]; type ReadableProgramBuildInfoEmitSignature = string | [string, string]; + type ReadableFileInfo = Omit & { impliedFormat: string | undefined; }; interface ReadableProgramBuildInfo { fileNames: readonly string[] | undefined; fileNamesList: readonly (readonly string[])[] | undefined; - fileInfos: MapLike | undefined; + fileInfos: MapLike | undefined; options: CompilerOptions | undefined; referencedMap?: MapLike; exportedModulesMap?: MapLike; @@ -216,7 +217,7 @@ interface Symbol { type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { const fileInfos: ReadableProgramBuildInfo["fileInfos"] = {}; - buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toBuilderStateFileInfo(fileInfo)); + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); const fileNamesList = buildInfo.program?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); const program: ReadableProgramBuildInfo | undefined = buildInfo.program && { fileNames: buildInfo.program.fileNames, @@ -278,6 +279,14 @@ interface Symbol { return fileNamesList![fileIdsListId - 1]; } + function toReadableFileInfo(fileInfo: ProgramBuildInfoFileInfo): ReadableFileInfo { + const info = toBuilderStateFileInfo(fileInfo); + return { + ...info, + impliedFormat: info.impliedFormat && getNameOfCompilerOptionValue(info.impliedFormat, moduleOptionDeclaration.type), + }; + } + function toMapOfReferencedSet(referenceMap: ProgramBuildInfoReferencedMap | undefined): MapLike | undefined { if (!referenceMap) return undefined; const result: MapLike = {}; @@ -490,7 +499,7 @@ interface Symbol { } { if (!text) return { buildInfo: text }; const readableBuildInfo = JSON.parse(text) as ReadableBuildInfo; - let sanitizedFileInfos: MapLike | undefined; + let sanitizedFileInfos: MapLike | undefined; if (readableBuildInfo.program?.fileInfos) { sanitizedFileInfos = {}; for (const id in readableBuildInfo.program.fileInfos) { diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index d7744ce9bd19e..179cd441e7487 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -247,42 +247,42 @@ LassieDog.getDogConfig = () => LASSIE_CONFIG; "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, - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "../src-types/dogconfig.d.ts": { "version": "-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n", "signature": "-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "../src-types/index.d.ts": { "version": "-5608794531-export * from './dogconfig.js';\r\n", "signature": "-5608794531-export * from './dogconfig.js';\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./dogconfig.ts": { "version": "1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n", "signature": "17588480778-import { DogConfig } from 'src-types';\r\nexport declare const DOG_CONFIG: DogConfig;\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./dog.ts": { "version": "6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n", "signature": "22128633249-import { DogConfig } from 'src-types';\r\nexport declare abstract class Dog {\r\n static getCapabilities(): DogConfig;\r\n}\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./lassie/lassieconfig.ts": { "version": "4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n", "signature": "8131483665-import { DogConfig } from 'src-types';\r\nexport declare const LASSIE_CONFIG: DogConfig;\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./lassie/lassiedog.ts": { "version": "-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n", "signature": "-20244062422-import { Dog } from '../dog.js';\r\nexport declare class LassieDog extends Dog {\r\n protected static getDogConfig: () => import(\"../index.js\").DogConfig;\r\n}\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./index.ts": { "version": "-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n", "signature": "-16783836862-export * from 'src-types';\r\nexport * from './lassie/lassiedog.js';\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" } }, "options": { @@ -390,17 +390,17 @@ export * from './dogconfig.js'; "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, - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "./dogconfig.ts": { "version": "-5575793279-export interface DogConfig {\n name: string;\n}", "signature": "-2632060142-export interface DogConfig {\r\n name: string;\r\n}\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" }, "./index.ts": { "version": "-6189272282-export * from './dogconfig.js';", "signature": "-5608794531-export * from './dogconfig.js';\r\n", - "impliedFormat": 99 + "impliedFormat": "esnext" } }, "options": { diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 1831fecebf754..5fa0a3984b8df 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -214,17 +214,17 @@ export type { TheNum } from './const.cjs'; "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, - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "../const.cts": { "version": "-11202312776-export type TheNum = 42;", "signature": "-9649133742-export declare type TheNum = 42;\n", - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "../index.ts": { "version": "-9668872159-export type { TheNum } from './const.cjs';", "signature": "-9835135925-export type { TheNum } from './const.cjs';\n", - "impliedFormat": 99 + "impliedFormat": "esnext" } }, "options": { @@ -698,17 +698,17 @@ exitCode:: ExitStatus.undefined "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, - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "../const.cts": { "version": "-11202312776-export type TheNum = 42;", "signature": "-9649133742-export declare type TheNum = 42;\n", - "impliedFormat": 1 + "impliedFormat": "commonjs" }, "../index.cts": { "version": "-9668872159-export type { TheNum } from './const.cjs';", "signature": "-9835135925-export type { TheNum } from './const.cjs';\n", - "impliedFormat": 1 + "impliedFormat": "commonjs" } }, "options": { From 7785a8761aeaa3f7aa57af42d2ebdf7f817c4ade Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 10:23:49 -0700 Subject: [PATCH 43/64] Cleanup --- src/compiler/builder.ts | 16 ++++++++++------ src/testRunner/unittests/tscWatch/incremental.ts | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 5f6a659bfd628..e2cf13dbfc828 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -28,7 +28,7 @@ namespace ts { /** * The map has key by source file's path that has been changed */ - changedFilesSet: Set; + changedFilesSet?: Set; /** * Set of affected files being iterated */ @@ -102,6 +102,10 @@ namespace ts { * Cache of bind and check diagnostics for files with their Path being the key */ semanticDiagnosticsPerFile: ESMap | undefined; + /** + * The map has key by source file's path that has been changed + */ + changedFilesSet: Set; /** * Current index to retrieve affected file from */ @@ -168,9 +172,8 @@ namespace ts { !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions!); const canCopyEmitSignatures = compilerOptions.composite && oldState?.emitSignatures && - oldCompilerOptions && !outFilePath && - !compilerOptionsAffectDeclarationPath(compilerOptions, oldCompilerOptions); + !compilerOptionsAffectDeclarationPath(compilerOptions, oldCompilerOptions!); if (useOldState) { // Verify the sanity of old state if (!oldState!.currentChangedFilePath) { @@ -179,11 +182,11 @@ namespace ts { } const changedFilesSet = oldState!.changedFilesSet; if (canCopySemanticDiagnostics) { - Debug.assert(!changedFilesSet.size || !forEachKey(changedFilesSet, path => oldState!.semanticDiagnosticsPerFile!.has(path)), "Semantic diagnostics shouldnt be available for changed files"); + Debug.assert(!changedFilesSet?.size || !forEachKey(changedFilesSet, path => oldState!.semanticDiagnosticsPerFile!.has(path)), "Semantic diagnostics shouldnt be available for changed files"); } // Copy old state's changed files set - changedFilesSet.forEach(value => state.changedFilesSet.add(value)); + changedFilesSet?.forEach(value => state.changedFilesSet.add(value)); if (!outFilePath && oldState!.affectedFilesPendingEmit) { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); @@ -249,7 +252,8 @@ namespace ts { Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); state.seenAffectedFiles = state.seenAffectedFiles || new Set(); } - state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== oldState!.changedFilesSet.size; + // Since old states change files set is copied, any additional change means we would need to emit build info + state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== (oldState!.changedFilesSet?.size || 0); return state; } diff --git a/src/testRunner/unittests/tscWatch/incremental.ts b/src/testRunner/unittests/tscWatch/incremental.ts index c038a7e6d4dd5..1af240764fea7 100644 --- a/src/testRunner/unittests/tscWatch/incremental.ts +++ b/src/testRunner/unittests/tscWatch/incremental.ts @@ -155,7 +155,7 @@ namespace ts.tscWatch { }); const state = builderProgram.getState(); - assert.equal(state.changedFilesSet.size, 0, "changes"); + assert.equal(state.changedFilesSet!.size, 0, "changes"); assert.equal(state.fileInfos.size, 3, "FileInfo size"); assert.deepEqual(state.fileInfos.get(libFile.path as Path), { From a95d3cc79b9462d6ee012d9ebbcf5dbd565cef5d Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 11:04:12 -0700 Subject: [PATCH 44/64] Cleanup noEmit option --- src/compiler/builder.ts | 3 +-- src/compiler/tsbuildPublic.ts | 2 +- src/testRunner/unittests/tsbuild/helpers.ts | 13 ++----------- ...g-when-no-files-are-emitted-with-incremental.js | 14 ++++---------- .../tsc/incremental/noEmit-changes-composite.js | 14 ++++++-------- .../noEmit-changes-incremental-declaration.js | 14 ++++++-------- .../tsc/incremental/noEmit-changes-incremental.js | 14 ++++---------- ...noEmit-changes-with-initial-noEmit-composite.js | 14 ++++++-------- ...-with-initial-noEmit-incremental-declaration.js | 14 ++++++-------- ...Emit-changes-with-initial-noEmit-incremental.js | 14 ++++---------- .../incremental/when-project-has-strict-true.js | 5 ++--- .../noEmit-with-composite-with-emit-builder.js | 14 ++++++-------- .../noEmit-with-composite-with-semantic-builder.js | 14 ++++++-------- 13 files changed, 54 insertions(+), 95 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index e2cf13dbfc828..a3d3620a47ff5 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -966,8 +966,7 @@ namespace ts { // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly from the buildinfo optionKey === "strict" || // We need to store these to determine whether `lib` files need to be rechecked. - optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" || - optionKey === "noemit" : + optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" : optionInfo?.affectsOutFileBuildInfo; if (emitOption) { (result ||= {})[name] = convertToReusableCompilerOptionValue( diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 1e57d1a5dee0c..54cbd277757bd 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1544,7 +1544,7 @@ namespace ts { if (buildInfo.program) { if (buildInfo.program.changeFileSet?.length || - (!buildInfo.program.options?.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { + (!project.options.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { return { type: UpToDateStatusType.OutOfDateBuildInfo, buildInfoFile: buildInfoPath diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index c02db76d8be00..f73282c8bbafb 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -516,7 +516,8 @@ interface Symbol { fileNames: undefined, fileNamesList: undefined, fileInfos: sanitizedFileInfos, - options: sanatizeCompilerOptions(readableBuildInfo.program.options), + // Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter + options: { ...readableBuildInfo.program.options, noEmit: undefined }, exportedModulesMap: undefined, affectedFilesPendingEmit: undefined, dtsChangeTime: readableBuildInfo.program.dtsChangeTime ? "FakeTime" : undefined, @@ -527,16 +528,6 @@ interface Symbol { }; } - function sanatizeCompilerOptions(options: CompilerOptions | undefined) { - if (!options) return options; - let result: CompilerOptions | undefined; - for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { - // Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter - if (name.toLowerCase() !== "noemit") (result ||= {})[name] = options[name]; - } - return result; - } - export enum CleanBuildDescrepancy { CleanFileTextDifferent, CleanFilePresent, diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 05201b7b66e36..f26bd7422bbdd 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -75,7 +75,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},"5381-","5381-"],"options":{"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},"5381-","5381-"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -100,9 +100,6 @@ exitCode:: ExitStatus.undefined "signature": "5381-" } }, - "options": { - "noEmit": true - }, "referencedMap": {}, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ @@ -122,7 +119,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 756 + "size": 730 } @@ -225,7 +222,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"options":{"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"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},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,9 +248,6 @@ exitCode:: ExitStatus.undefined "signature": "5381-" } }, - "options": { - "noEmit": true - }, "referencedMap": {}, "exportedModulesMap": {}, "semanticDiagnosticsPerFile": [ @@ -273,6 +267,6 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 862 + "size": 836 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 7b888a166a0a9..0e8bf98af295b 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -314,7 +314,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":27000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -369,8 +369,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": { "./src/directuse.ts": [ @@ -495,7 +494,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2953 + "size": 2939 } @@ -1084,7 +1083,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":49000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":49000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1139,8 +1138,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": { "./src/directuse.ts": [ @@ -1221,7 +1219,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 49000 }, "version": "FakeTSVersion", - "size": 2337 + "size": 2323 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index 0cc1c3ebd15e4..cf58b47ce13d4 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -313,7 +313,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -368,8 +368,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "options": { - "declaration": true, - "noEmit": true + "declaration": true }, "referencedMap": { "./src/directuse.ts": [ @@ -479,7 +478,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 2770 + "size": 2756 } @@ -1066,7 +1065,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1121,8 +1120,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "declaration": true, - "noEmit": true + "declaration": true }, "referencedMap": { "./src/directuse.ts": [ @@ -1188,7 +1186,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 2153 + "size": 2139 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js index 1b449fe9ef28b..f445f8df17de2 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js @@ -287,7 +287,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-4882119183-export {};\r\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,2,[4,[{"file":"./src/directuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],3,[5,[{"file":"./src/indirectuse.ts","start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -341,9 +341,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "affectsGlobalScope": true } }, - "options": { - "noEmit": true - }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -446,7 +443,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 2654 + "size": 2628 } @@ -1028,7 +1025,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1082,9 +1079,6 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true } }, - "options": { - "noEmit": true - }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -1141,7 +1135,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1931 + "size": 1905 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index 6a8469a0585fa..a5f67ba4c1525 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -52,7 +52,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,8 +107,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": { "./src/directuse.ts": [ @@ -190,7 +189,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1761 + "size": 1747 } @@ -636,7 +635,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":39000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]],"emitSignatures":[[2,"-3790894605-export declare class classC {\r\n prop1: number;\r\n}\r\n"],[4,"-4882119183-export {};\r\n"],[5,"-4882119183-export {};\r\n"]],"dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -691,8 +690,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": { "./src/directuse.ts": [ @@ -773,7 +771,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 2337 + "size": 2323 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 8e8d617049d48..969989ad6328e 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -52,7 +52,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,8 +107,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "declaration": true, - "noEmit": true + "declaration": true }, "referencedMap": { "./src/directuse.ts": [ @@ -182,7 +181,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1732 + "size": 1718 } @@ -626,7 +625,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8117292349-export declare function writeLog(s: string): void;\r\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-4920141752-declare function someFunc(arguments: boolean, ...rest: any[]): void;\r\n","affectsGlobalScope":true}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,0],[3,1],[5,0]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -681,8 +680,7 @@ exitCode:: ExitStatus.Success } }, "options": { - "declaration": true, - "noEmit": true + "declaration": true }, "referencedMap": { "./src/directuse.ts": [ @@ -748,7 +746,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 2153 + "size": 2139 } diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js index c9e5be03e536e..56fbff173434b 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js @@ -52,7 +52,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[4,1],[3,1],[5,1],[6,1],[7,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,9 +106,6 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true } }, - "options": { - "noEmit": true - }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -181,7 +178,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1713 + "size": 1687 } @@ -589,7 +586,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"options":{"noEmit":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"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},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-6712382238-export declare class classC {\r\n prop: number;\r\n}\r\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"-9860349972-import { classC } from './class';\r\nexport declare class indirectClass {\r\n classC: classC;\r\n}\r\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"exportedModulesMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[1,2,4,3,5,6,[7,[{"file":"./src/nochangefilewithemitspecificerror.ts","start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[[2,1],[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -643,9 +640,6 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true } }, - "options": { - "noEmit": true - }, "referencedMap": { "./src/directuse.ts": [ "./src/indirectclass.ts" @@ -702,7 +696,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1931 + "size": 1905 } diff --git a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js index c37bdb96ef308..67cf811b6e6d3 100644 --- a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js @@ -42,7 +42,7 @@ Shape signatures in builder refreshed for:: //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"noEmit":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"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},"-7660182596-export class class1 {}"],"options":{"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2],"affectedFilesPendingEmit":[[2,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -63,7 +63,6 @@ Shape signatures in builder refreshed for:: } }, "options": { - "noEmit": true, "strict": true }, "referencedMap": {}, @@ -80,7 +79,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 771 + "size": 757 } diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index 8581fbe6b3080..2883f4136a4ac 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -70,7 +70,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,8 +96,7 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -122,7 +121,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 779 + "size": 765 } @@ -284,7 +283,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -310,8 +309,7 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -329,7 +327,7 @@ exitCode:: ExitStatus.undefined "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 926 + "size": 912 } diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index 41143ce88b461..ce69210e42b1d 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -70,7 +70,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,8 +96,7 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -122,7 +121,7 @@ exitCode:: ExitStatus.undefined ] }, "version": "FakeTSVersion", - "size": 779 + "size": 765 } @@ -298,7 +297,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmit":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"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},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1]],"dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -324,8 +323,7 @@ exitCode:: ExitStatus.undefined } }, "options": { - "composite": true, - "noEmit": true + "composite": true }, "referencedMap": {}, "exportedModulesMap": {}, @@ -343,7 +341,7 @@ exitCode:: ExitStatus.undefined "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 926 + "size": 912 } From 437619eb7825c0e3c4c725e001b29cd060cfdd77 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 12:04:41 -0700 Subject: [PATCH 45/64] BuildInfo options emit as a flag --- src/compiler/builder.ts | 10 +- src/compiler/commandLineParser.ts | 73 +++++ src/compiler/types.ts | 3 +- ...-emitDeclarationOnly-and-declarationMap.js | 10 +- ...import-project-with-emitDeclarationOnly.js | 10 +- ...mports-project-with-emitDeclarationOnly.js | 15 +- .../works-with-extended-source-files.js | 267 +++++++++++++++--- .../extended-source-files-are-watched.js | 32 ++- 8 files changed, 345 insertions(+), 75 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index a3d3620a47ff5..0c05024ce1bc8 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -960,15 +960,7 @@ namespace ts { for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { const optionKey = name.toLowerCase(); const optionInfo = optionsNameMap.get(optionKey); - const emitOption = !isOutFile ? - optionInfo?.affectsEmit || optionInfo?.affectsSemanticDiagnostics || - // We need to store `strict`, even though it won't be examined directly, so that the - // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly from the buildinfo - optionKey === "strict" || - // We need to store these to determine whether `lib` files need to be rechecked. - optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" : - optionInfo?.affectsOutFileBuildInfo; - if (emitOption) { + if (isOutFile ? optionInfo?.affectsOutFileBuildInfo : optionInfo?.affectsMultiFileBuildInfo) { (result ||= {})[name] = convertToReusableCompilerOptionValue( optionInfo, options[name] as CompilerOptionsValue, diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 131f512b2c498..d3743cf447419 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -299,6 +299,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it, defaultValueDescription: false, @@ -334,6 +335,7 @@ namespace ts { affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, paramType: Diagnostics.VERSION, showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, @@ -361,6 +363,7 @@ namespace ts { })), affectsModuleResolution: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, category: Diagnostics.Modules, @@ -429,6 +432,7 @@ namespace ts { category: Diagnostics.Command_line_Options, affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, isCommandLineOnly: true, description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing, defaultValueDescription: false, @@ -473,6 +477,7 @@ namespace ts { type: jsxOptionMap, affectsSourceFile: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsModuleResolution: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, @@ -485,6 +490,7 @@ namespace ts { shortName: "d", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -495,6 +501,7 @@ namespace ts { name: "declarationMap", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -505,6 +512,7 @@ namespace ts { name: "emitDeclarationOnly", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, @@ -516,6 +524,7 @@ namespace ts { name: "sourceMap", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -525,6 +534,7 @@ namespace ts { name: "outFile", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsDeclarationPath: true, affectsOutFileBuildInfo: true, isFilePath: true, @@ -538,6 +548,7 @@ namespace ts { name: "outDir", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -549,6 +560,7 @@ namespace ts { name: "rootDir", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.LOCATION, @@ -560,6 +572,7 @@ namespace ts { name: "composite", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsOutFileBuildInfo: true, isTSConfigOnly: true, category: Diagnostics.Projects, @@ -571,6 +584,7 @@ namespace ts { name: "tsBuildInfoFile", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsOutFileBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, @@ -583,6 +597,7 @@ namespace ts { name: "removeComments", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -601,6 +616,7 @@ namespace ts { name: "importHelpers", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file, defaultValueDescription: false, @@ -614,6 +630,7 @@ namespace ts { })), affectsEmit: true, affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types, defaultValueDescription: ImportsNotUsedAsValues.Remove, @@ -622,6 +639,7 @@ namespace ts { name: "downlevelIteration", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration, defaultValueDescription: false, @@ -641,6 +659,9 @@ namespace ts { type: "boolean", // Though this affects semantic diagnostics, affectsSemanticDiagnostics is not set here // The value of each strictFlag depends on own strictFlag value or this and never accessed directly. + // But we need to store `strict` in builf info, even though it won't be examined directly, so that the + // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_all_strict_type_checking_options, @@ -650,6 +671,7 @@ namespace ts { name: "noImplicitAny", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type, @@ -659,6 +681,7 @@ namespace ts { name: "strictNullChecks", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_type_checking_take_into_account_null_and_undefined, @@ -667,6 +690,8 @@ namespace ts { { name: "strictFunctionTypes", type: "boolean", + affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible, @@ -675,6 +700,8 @@ namespace ts { { name: "strictBindCallApply", type: "boolean", + affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function, @@ -684,6 +711,7 @@ namespace ts { name: "strictPropertyInitialization", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor, @@ -693,6 +721,7 @@ namespace ts { name: "noImplicitThis", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any, @@ -702,6 +731,7 @@ namespace ts { name: "useUnknownInCatchVariables", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any, @@ -711,6 +741,8 @@ namespace ts { name: "alwaysStrict", type: "boolean", affectsSourceFile: true, + affectsEmit: true, + affectsMultiFileBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_use_strict_is_always_emitted, @@ -722,6 +754,7 @@ namespace ts { name: "noUnusedLocals", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read, defaultValueDescription: false, @@ -730,6 +763,7 @@ namespace ts { name: "noUnusedParameters", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read, defaultValueDescription: false, @@ -738,6 +772,7 @@ namespace ts { name: "exactOptionalPropertyTypes", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined, defaultValueDescription: false, @@ -746,6 +781,7 @@ namespace ts { name: "noImplicitReturns", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function, defaultValueDescription: false, @@ -755,6 +791,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements, defaultValueDescription: false, @@ -763,6 +800,7 @@ namespace ts { name: "noUncheckedIndexedAccess", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index, defaultValueDescription: false, @@ -771,6 +809,7 @@ namespace ts { name: "noImplicitOverride", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier, defaultValueDescription: false, @@ -778,6 +817,8 @@ namespace ts { { name: "noPropertyAccessFromIndexSignature", type: "boolean", + affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: false, category: Diagnostics.Type_Checking, description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type, @@ -864,6 +905,7 @@ namespace ts { name: "allowSyntheticDefaultImports", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export, defaultValueDescription: Diagnostics.module_system_or_esModuleInterop @@ -873,6 +915,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility, @@ -889,6 +932,7 @@ namespace ts { name: "allowUmdGlobalAccess", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Modules, description: Diagnostics.Allow_accessing_UMD_globals_from_modules, defaultValueDescription: false, @@ -911,6 +955,7 @@ namespace ts { name: "sourceRoot", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code, @@ -919,6 +964,7 @@ namespace ts { name: "mapRoot", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations, @@ -927,6 +973,7 @@ namespace ts { name: "inlineSourceMap", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -935,6 +982,7 @@ namespace ts { name: "inlineSources", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -945,6 +993,7 @@ namespace ts { name: "experimentalDecorators", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators, defaultValueDescription: false, @@ -954,6 +1003,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files, defaultValueDescription: false, @@ -979,6 +1029,7 @@ namespace ts { type: "string", affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsModuleResolution: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk, @@ -997,6 +1048,7 @@ namespace ts { name: "out", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsDeclarationPath: true, affectsOutFileBuildInfo: true, isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files @@ -1010,6 +1062,7 @@ namespace ts { name: "reactNamespace", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit, defaultValueDescription: "`React`", @@ -1017,6 +1070,8 @@ namespace ts { { name: "skipDefaultLibCheck", type: "boolean", + // We need to store these to determine whether `lib` files need to be rechecked + affectsMultiFileBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript, defaultValueDescription: false, @@ -1032,6 +1087,7 @@ namespace ts { name: "emitBOM", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files, defaultValueDescription: false, @@ -1043,6 +1099,7 @@ namespace ts { lf: NewLineKind.LineFeed })), affectsEmit: true, + affectsMultiFileBuildInfo: true, paramType: Diagnostics.NEWLINE, category: Diagnostics.Emit, description: Diagnostics.Set_the_newline_character_for_emitting_files, @@ -1052,6 +1109,7 @@ namespace ts { name: "noErrorTruncation", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Output_Formatting, description: Diagnostics.Disable_truncating_types_in_error_messages, defaultValueDescription: false, @@ -1082,6 +1140,7 @@ namespace ts { name: "stripInternal", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments, defaultValueDescription: false, @@ -1122,6 +1181,7 @@ namespace ts { name: "noImplicitUseStrict", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files, defaultValueDescription: false, @@ -1130,6 +1190,7 @@ namespace ts { name: "noEmitHelpers", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output, defaultValueDescription: false, @@ -1138,6 +1199,7 @@ namespace ts { name: "noEmitOnError", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, transpileOptionValue: undefined, description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported, @@ -1147,6 +1209,7 @@ namespace ts { name: "preserveConstEnums", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code, defaultValueDescription: false, @@ -1155,6 +1218,7 @@ namespace ts { name: "declarationDir", type: "string", affectsEmit: true, + affectsMultiFileBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -1165,6 +1229,8 @@ namespace ts { { name: "skipLibCheck", type: "boolean", + // We need to store these to determine whether `lib` files need to be rechecked + affectsMultiFileBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_all_d_ts_files, defaultValueDescription: false, @@ -1174,6 +1240,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unused_labels, defaultValueDescription: undefined, @@ -1183,6 +1250,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unreachable_code, defaultValueDescription: undefined, @@ -1191,6 +1259,7 @@ namespace ts { name: "suppressExcessPropertyErrors", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals, defaultValueDescription: false, @@ -1199,6 +1268,7 @@ namespace ts { name: "suppressImplicitAnyIndexErrors", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures, defaultValueDescription: false, @@ -1223,6 +1293,7 @@ namespace ts { name: "noStrictGenericChecks", type: "boolean", affectsSemanticDiagnostics: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types, defaultValueDescription: false, @@ -1232,6 +1303,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields, defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext @@ -1240,6 +1312,7 @@ namespace ts { name: "preserveValueImports", type: "boolean", affectsEmit: true, + affectsMultiFileBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed, defaultValueDescription: false, diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 6f08f15b240e6..d933bdb8a091e 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6422,7 +6422,8 @@ namespace ts { affectsEmit?: true; // true if the options affects emit affectsProgramStructure?: true; // true if program should be reconstructed from root files if option changes and does not affect module resolution as affectsModuleResolution indirectly means program needs to reconstructed affectsDeclarationPath?: true; // true if the options affects declaration file path computed - affectsOutFileBuildInfo?: true; // true if this options should be emitted in buildInfo with --out + affectsMultiFileBuildInfo?: true; // true if this options should be emitted in buildInfo without --out + affectsOutFileBuildInfo?: true; // true if this options should be emitted in buildInfo with --out transpileOptionValue?: boolean | undefined; // If set this means that the option should be set to this value when transpiling extraValidation?: (value: CompilerOptionsValue) => [DiagnosticMessage, ...string[]] | undefined; // Additional validation to be performed for the value to be valid } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index ca3b5e4a18149..faffc43606b4f 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -120,7 +120,7 @@ export { C } from "./c"; {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":9000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,6 +172,7 @@ export { C } from "./c"; } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "declarationMap": true, @@ -226,7 +227,7 @@ export { C } from "./c"; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1811 + "size": 1831 } @@ -273,7 +274,7 @@ export interface A { //// [/src/lib/index.d.ts] file written with same contents //// [/src/lib/index.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":26000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -325,6 +326,7 @@ export interface A { } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "declarationMap": true, @@ -379,6 +381,6 @@ export interface A { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 1839 + "size": 1859 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index a4265da8e58d0..5e804ee09c84e 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -108,7 +108,7 @@ export { C } from "./c"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":10000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-15463561693-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-4206296467-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -160,6 +160,7 @@ export { C } from "./c"; } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "emitDeclarationOnly": true, @@ -213,7 +214,7 @@ export { C } from "./c"; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1790 + "size": 1810 } @@ -254,7 +255,7 @@ export interface A { //// [/src/lib/c.d.ts] file written with same contents //// [/src/lib/index.d.ts] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"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},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"},{"version":"-14761736732-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7639584379-import { B } from \"./b\";\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","signature":"-6009477228-export { A } from \"./a\";\r\nexport { B } from \"./b\";\r\nexport { C } from \"./c\";\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"exportedModulesMap":[[4,1],[3,2],[2,3],[5,4]],"semanticDiagnosticsPerFile":[1,4,3,2,5],"dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -306,6 +307,7 @@ export interface A { } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "emitDeclarationOnly": true, @@ -359,6 +361,6 @@ export interface A { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1817 + "size": 1837 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 3071a0dfbd65c..14693380e826c 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -107,7 +107,7 @@ export interface C { {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../src/c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"11179224639-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,6 +146,7 @@ export interface C { } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "declarationMap": true, @@ -183,7 +184,7 @@ export interface C { "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1563 + "size": 1583 } @@ -218,7 +219,7 @@ exitCode:: ExitStatus.Success {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IAChB,CAAC,EAAE,CAAC,CAAC;CACN"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"6651905050-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-4181862109-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,6 +258,7 @@ exitCode:: ExitStatus.Success } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "declarationMap": true, @@ -294,7 +296,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1575 + "size": 1595 } @@ -342,7 +344,7 @@ export interface A { //// [/src/lib/c.d.ts] file written with same contents //// [/src/lib/c.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":35000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"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},{"version":"5380514971-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-6995298949-export declare class B {\r\n prop: string;\r\n}\r\nexport interface A {\r\n b: B;\r\n foo: any;\r\n}\r\n"},{"version":"429593025-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-2697851509-import { A } from \"./a\";\r\nexport interface C {\r\n a: A;\r\n}\r\n"},{"version":"-2273488249-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"20298635505-import { C } from \"./c\";\r\nexport interface B {\r\n b: C;\r\n}\r\n"}],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[1,2,4,3],"dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -381,6 +383,7 @@ export interface A { } }, "options": { + "alwaysStrict": true, "composite": true, "declaration": true, "declarationMap": true, @@ -418,6 +421,6 @@ export interface A { "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 1602 + "size": 1622 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index ca2e47f2d2cc4..c81465a33944f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -231,8 +231,6 @@ Output:: [12:01:01 AM] Building project '/a/b/project1.tsconfig.json'... -[12:01:02 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... - Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] @@ -272,20 +270,74 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time +//// [/a/b/commonFile1.js] +"use strict"; +var x = 1; + + +//// [/a/b/commonFile1.d.ts] file written with same contents +//// [/a/b/commonFile2.js] +"use strict"; +var y = 1; + + +//// [/a/b/commonFile2.d.ts] file written with same contents +//// [/a/b/project1.tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1],"dtsChangeTime":29000},"version":"FakeTSVersion"} + +//// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./commonfile1.ts", + "./commonfile2.ts" + ], + "fileInfos": { + "../lib/lib.d.ts": { + "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 + }, + "./commonfile1.ts": { + "version": "2167136208-let x = 1", + "signature": "2842409786-declare let x: number;\n", + "affectsGlobalScope": true + }, + "./commonfile2.ts": { + "version": "2168322129-let y = 1", + "signature": "784887931-declare let y: number;\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "strict": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./commonfile1.ts", + "./commonfile2.ts", + "../lib/lib.d.ts" + ], + "dtsChangeTime": 29000 + }, + "version": "FakeTSVersion", + "size": 888 +} + Change:: Build project 2 Input:: Output:: -[12:01:04 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' +[12:01:21 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' -[12:01:05 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:22 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:06 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... - -[12:01:08 AM] Found 0 errors. Watching for file changes. +[12:01:36 AM] Found 0 errors. Watching for file changes. @@ -324,7 +376,50 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time +//// [/a/b/other.js] +"use strict"; +var z = 0; + + +//// [/a/b/other.d.ts] file written with same contents +//// [/a/b/project2.tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1],"dtsChangeTime":45000},"version":"FakeTSVersion"} + +//// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./other.ts" + ], + "fileInfos": { + "../lib/lib.d.ts": { + "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 + }, + "./other.ts": { + "version": "2874288940-let z = 0;", + "signature": "-1272633924-declare let z: number;\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "strict": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./other.ts", + "../lib/lib.d.ts" + ], + "dtsChangeTime": 45000 + }, + "version": "FakeTSVersion", + "size": 753 +} + Change:: change bravo config @@ -335,15 +430,13 @@ Input:: Output:: >> Screen clear -[12:01:12 AM] File change detected. Starting incremental compilation... - -[12:01:13 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'bravo.tsconfig.json' +[12:01:40 AM] File change detected. Starting incremental compilation... -[12:01:14 AM] Building project '/a/b/project2.tsconfig.json'... +[12:01:41 AM] Project 'project2.tsconfig.json' is out of date because output 'project2.tsconfig.tsbuildinfo' is older than input 'bravo.tsconfig.json' -[12:01:15 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:01:42 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:17 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -382,7 +475,49 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/project2.tsconfig.tsbuildinfo] file changed its modified time +//// [/a/b/other.js] +var z = 0; + + +//// [/a/b/other.d.ts] file written with same contents +//// [/a/b/project2.tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"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},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"options":{"composite":true,"strict":false},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,1],"dtsChangeTime":45000},"version":"FakeTSVersion"} + +//// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./other.ts" + ], + "fileInfos": { + "../lib/lib.d.ts": { + "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 + }, + "./other.ts": { + "version": "2874288940-let z = 0;", + "signature": "-1272633924-declare let z: number;\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "strict": false + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./other.ts", + "../lib/lib.d.ts" + ], + "dtsChangeTime": 45000 + }, + "version": "FakeTSVersion", + "size": 754 +} + Change:: project 2 extends alpha @@ -393,13 +528,13 @@ Input:: Output:: >> Screen clear -[12:01:21 AM] File change detected. Starting incremental compilation... +[12:02:00 AM] File change detected. Starting incremental compilation... -[12:01:22 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'project2.tsconfig.json' +[12:02:01 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'project2.tsconfig.json' -[12:01:23 AM] Building project '/a/b/project2.tsconfig.json'... +[12:02:02 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:34 AM] Found 0 errors. Watching for file changes. +[12:02:13 AM] Found 0 errors. Watching for file changes. @@ -445,16 +580,8 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/commonFile1.js] -"use strict"; -var x = 1; - - -//// [/a/b/commonFile2.js] -"use strict"; -var y = 1; - - +//// [/a/b/commonFile1.js] file written with same contents +//// [/a/b/commonFile2.js] file written with same contents //// [/a/b/other.js] "use strict"; var z = 0; @@ -470,13 +597,11 @@ Input:: Output:: >> Screen clear -[12:01:38 AM] File change detected. Starting incremental compilation... +[12:02:17 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Project 'project1.tsconfig.json' is out of date because output 'project1.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' +[12:02:18 AM] Project 'project1.tsconfig.json' is out of date because output 'project1.tsconfig.tsbuildinfo' is older than input 'alpha.tsconfig.json' -[12:01:40 AM] Building project '/a/b/project1.tsconfig.json'... - -[12:01:41 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +[12:02:19 AM] Building project '/a/b/project1.tsconfig.json'... @@ -517,20 +642,71 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/project1.tsconfig.tsbuildinfo] file changed its modified time +//// [/a/b/commonFile1.js] +var x = 1; + + +//// [/a/b/commonFile1.d.ts] file written with same contents +//// [/a/b/commonFile2.js] +var y = 1; + + +//// [/a/b/commonFile2.d.ts] file written with same contents +//// [/a/b/project1.tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"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},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"options":{"composite":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[2,3,1],"dtsChangeTime":29000},"version":"FakeTSVersion"} + +//// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./commonfile1.ts", + "./commonfile2.ts" + ], + "fileInfos": { + "../lib/lib.d.ts": { + "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 + }, + "./commonfile1.ts": { + "version": "2167136208-let x = 1", + "signature": "2842409786-declare let x: number;\n", + "affectsGlobalScope": true + }, + "./commonfile2.ts": { + "version": "2168322129-let y = 1", + "signature": "784887931-declare let y: number;\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "./commonfile1.ts", + "./commonfile2.ts", + "../lib/lib.d.ts" + ], + "dtsChangeTime": 29000 + }, + "version": "FakeTSVersion", + "size": 874 +} + Change:: Build project 2 Input:: Output:: -[12:01:43 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'alpha.tsconfig.json' - -[12:01:44 AM] Building project '/a/b/project2.tsconfig.json'... +[12:02:39 AM] Project 'project2.tsconfig.json' is out of date because output 'commonFile1.js' is older than input 'alpha.tsconfig.json' -[12:01:45 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +[12:02:40 AM] Building project '/a/b/project2.tsconfig.json'... -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:02:51 AM] Found 0 errors. Watching for file changes. @@ -573,6 +749,9 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/a/b/commonFile1.js] file changed its modified time -//// [/a/b/commonFile2.js] file changed its modified time -//// [/a/b/other.js] file changed its modified time +//// [/a/b/commonFile1.js] file written with same contents +//// [/a/b/commonFile2.js] file written with same contents +//// [/a/b/other.js] +var z = 0; + + diff --git a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js index efaad4632b2de..e13b9430351d0 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js +++ b/tests/baselines/reference/tscWatch/programUpdates/extended-source-files-are-watched.js @@ -93,7 +93,7 @@ Output:: >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... -[12:00:30 AM] Found 0 errors. Watching for file changes. +[12:00:36 AM] Found 0 errors. Watching for file changes. @@ -134,6 +134,16 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/a/b/commonFile1.js] +"use strict"; +var x = 1; + + +//// [/a/b/commonFile2.js] +"use strict"; +var y = 1; + + Change:: Change first extended config @@ -144,9 +154,9 @@ Input:: Output:: >> Screen clear -[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] File change detected. Starting incremental compilation... -[12:00:34 AM] Found 0 errors. Watching for file changes. +[12:00:46 AM] Found 0 errors. Watching for file changes. @@ -187,6 +197,14 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/a/b/commonFile1.js] +var x = 1; + + +//// [/a/b/commonFile2.js] +var y = 1; + + Change:: Change second extended config @@ -197,9 +215,9 @@ Input:: Output:: >> Screen clear -[12:00:37 AM] File change detected. Starting incremental compilation... +[12:00:49 AM] File change detected. Starting incremental compilation... -[12:00:38 AM] Found 0 errors. Watching for file changes. +[12:00:50 AM] Found 0 errors. Watching for file changes. @@ -250,9 +268,9 @@ Input:: Output:: >> Screen clear -[12:00:41 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] File change detected. Starting incremental compilation... -[12:00:42 AM] Found 0 errors. Watching for file changes. +[12:00:54 AM] Found 0 errors. Watching for file changes. From b568d7e09ce00a6268b6adba6afb6fcd4838b8ea Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 12:42:16 -0700 Subject: [PATCH 46/64] Factor out types for program written in buildinfo with and without bundle emit --- src/compiler/builder.ts | 222 +++++++++++--------- src/compiler/commandLineParser.ts | 138 ++++++------ src/compiler/emitter.ts | 2 +- src/compiler/tsbuildPublic.ts | 4 +- src/compiler/types.ts | 4 +- src/compiler/watchPublic.ts | 2 +- src/testRunner/unittests/tsbuild/helpers.ts | 53 ++--- 7 files changed, 220 insertions(+), 205 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 0c05024ce1bc8..34b308440dd8c 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -787,9 +787,9 @@ namespace ts { * ProgramBuildInfoFileInfo is string if FileInfo.version === FileInfo.signature && !FileInfo.affectsGlobalScope otherwise encoded FileInfo */ export type ProgramBuildInfoFileInfo = string | ProgramBuildInfoBuilderStateFileInfo; - export interface ProgramBuildInfo { - fileNames: readonly string[] | undefined; - fileInfos: readonly ProgramBuildInfoFileInfo[] | undefined; + export interface ProgramMultiFileEmitBuildInfo { + fileNames: readonly string[]; + fileInfos: readonly ProgramBuildInfoFileInfo[]; options: CompilerOptions | undefined; fileIdsList?: readonly (readonly ProgramBuildInfoFileId[])[]; referencedMap?: ProgramBuildInfoReferencedMap; @@ -798,10 +798,17 @@ namespace ts { affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly ProgramBuildInfoFileId[]; emitSignatures?: readonly ProgramBuildInfoEmitSignature[]; + dtsChangeTime?: number; + } + + export interface ProgramBundleEmitBuildInfo { + options: CompilerOptions | undefined; outSignature?: string; dtsChangeTime?: number; } + export type ProgramBuildInfo = ProgramMultiFileEmitBuildInfo | ProgramBundleEmitBuildInfo; + /** * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ @@ -810,108 +817,115 @@ namespace ts { if (outFilePath && !state.compilerOptions.composite) return; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); - const fileNames: string[] | undefined = !outFilePath ? [] : undefined; + state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime; + if (outFilePath) { + const result: ProgramBundleEmitBuildInfo = { + options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsBundleEmitBuildInfo"), + outSignature: state.outSignature, + dtsChangeTime: state.dtsChangeTime, + }; + return result; + } + + const fileNames: string[] = []; const fileNameToFileId = new Map(); let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; - let fileInfos: ProgramBuildInfoFileInfo[] | undefined; - let referencedMap: ProgramBuildInfoReferencedMap | undefined; - let exportedModulesMap: ProgramBuildInfoReferencedMap | undefined; - let semanticDiagnosticsPerFile: ProgramBuildInfoDiagnostic[] | undefined; - let affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; - let changeFileSet: ProgramBuildInfoFileId[] | undefined; - if (!outFilePath) { - fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { - // Ensure fileId - const fileId = toFileId(key); - Debug.assert(fileNames![fileId - 1] === relativeToBuildInfo(key)); - const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); - const actualSignature = signature ?? value.signature; - if (state.compilerOptions.composite) { - const file = state.program!.getSourceFileByPath(key)!; - if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { - const emitSignature = state.emitSignatures?.get(key); - if (emitSignature !== actualSignature) { - (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); - } + const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { + // Ensure fileId + const fileId = toFileId(key); + Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); + const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); + const actualSignature = signature ?? value.signature; + if (state.compilerOptions.composite) { + const file = state.program!.getSourceFileByPath(key)!; + if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { + const emitSignature = state.emitSignatures?.get(key); + if (emitSignature !== actualSignature) { + (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); } } - return value.version === actualSignature ? - value.affectsGlobalScope || value.impliedFormat ? - // If file version is same as signature, dont serialize signature - { version: value.version, signature: undefined, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : - // If file info only contains version and signature and both are same we can just write string - value.version : - actualSignature !== undefined ? // If signature is not same as version, encode signature in the fileInfo - signature === undefined ? - // If we havent computed signature, use fileInfo as is - value : - // Serialize fileInfo with new updated signature - { version: value.version, signature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : - // Signature of the FileInfo is undefined, serialize it as false - { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }; - }); - - if (state.referencedMap) { - referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map(key => [ - toFileId(key), - toFileIdListId(state.referencedMap!.getValues(key)!) - ]); } + return value.version === actualSignature ? + value.affectsGlobalScope || value.impliedFormat ? + // If file version is same as signature, dont serialize signature + { version: value.version, signature: undefined, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : + // If file info only contains version and signature and both are same we can just write string + value.version : + actualSignature !== undefined ? // If signature is not same as version, encode signature in the fileInfo + signature === undefined ? + // If we havent computed signature, use fileInfo as is + value : + // Serialize fileInfo with new updated signature + { version: value.version, signature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : + // Signature of the FileInfo is undefined, serialize it as false + { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }; + }); - if (state.exportedModulesMap) { - exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), key => { - if (state.currentAffectedFilesExportedModulesMap) { - if (state.currentAffectedFilesExportedModulesMap.deletedKeys()?.has(key)) { - return undefined; - } + let referencedMap: ProgramBuildInfoReferencedMap | undefined; + if (state.referencedMap) { + referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map(key => [ + toFileId(key), + toFileIdListId(state.referencedMap!.getValues(key)!) + ]); + } - const newValue = state.currentAffectedFilesExportedModulesMap.getValues(key); - if (newValue) { - return [toFileId(key), toFileIdListId(newValue)]; - } + let exportedModulesMap: ProgramBuildInfoReferencedMap | undefined; + if (state.exportedModulesMap) { + exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), key => { + if (state.currentAffectedFilesExportedModulesMap) { + if (state.currentAffectedFilesExportedModulesMap.deletedKeys()?.has(key)) { + return undefined; } - // Not in temporary cache, use existing value - return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; - }); - } - - if (state.semanticDiagnosticsPerFile) { - for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { - const value = state.semanticDiagnosticsPerFile.get(key)!; - (semanticDiagnosticsPerFile ||= []).push( - value.length ? - [ - toFileId(key), - convertToReusableDiagnostics(value, relativeToBuildInfo) - ] : - toFileId(key) - ); + const newValue = state.currentAffectedFilesExportedModulesMap.getValues(key); + if (newValue) { + return [toFileId(key), toFileIdListId(newValue)]; + } } + + // Not in temporary cache, use existing value + return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; + }); + } + + let semanticDiagnosticsPerFile: ProgramBuildInfoDiagnostic[] | undefined; + if (state.semanticDiagnosticsPerFile) { + for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) { + const value = state.semanticDiagnosticsPerFile.get(key)!; + (semanticDiagnosticsPerFile ||= []).push( + value.length ? + [ + toFileId(key), + convertToReusableDiagnostics(value, relativeToBuildInfo) + ] : + toFileId(key) + ); } + } - if (state.affectedFilesPendingEmit) { - const seenFiles = new Set(); - for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) { - if (tryAddToSet(seenFiles, path)) { - (affectedFilesPendingEmit ||= []).push([toFileId(path), state.affectedFilesPendingEmitKind!.get(path)!]); - } + let affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; + if (state.affectedFilesPendingEmit) { + const seenFiles = new Set(); + for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) { + if (tryAddToSet(seenFiles, path)) { + (affectedFilesPendingEmit ||= []).push([toFileId(path), state.affectedFilesPendingEmitKind!.get(path)!]); } } + } - if (state.changedFilesSet.size) { - for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { - (changeFileSet ||= []).push(toFileId(path)); - } + let changeFileSet: ProgramBuildInfoFileId[] | undefined; + if (state.changedFilesSet.size) { + for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) { + (changeFileSet ||= []).push(toFileId(path)); } } - return { + const result: ProgramMultiFileEmitBuildInfo = { fileNames, fileInfos, - options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, relativeToBuildInfoEnsuringAbsolutePath), + options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsMultiFileEmitBuildInfo"), fileIdsList, referencedMap, exportedModulesMap, @@ -919,9 +933,9 @@ namespace ts { affectedFilesPendingEmit, changeFileSet, emitSignatures, - outSignature: state.outSignature, - dtsChangeTime: state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime, + dtsChangeTime: state.dtsChangeTime, }; + return result; function relativeToBuildInfoEnsuringAbsolutePath(path: string) { return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory)); @@ -934,8 +948,8 @@ namespace ts { function toFileId(path: Path): ProgramBuildInfoFileId { let fileId = fileNameToFileId.get(path); if (fileId === undefined) { - fileNames!.push(relativeToBuildInfo(path)); - fileNameToFileId.set(path, fileId = fileNames!.length as ProgramBuildInfoFileId); + fileNames.push(relativeToBuildInfo(path)); + fileNameToFileId.set(path, fileId = fileNames.length as ProgramBuildInfoFileId); } return fileId; } @@ -950,25 +964,22 @@ namespace ts { } return fileIdListId; } - } - function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions, relativeToBuildInfo: (path: string) => string) { - let result: CompilerOptions | undefined; - const { optionsNameMap } = getOptionsNameMap(); - const isOutFile = outFile(options); - - for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { - const optionKey = name.toLowerCase(); - const optionInfo = optionsNameMap.get(optionKey); - if (isOutFile ? optionInfo?.affectsOutFileBuildInfo : optionInfo?.affectsMultiFileBuildInfo) { - (result ||= {})[name] = convertToReusableCompilerOptionValue( - optionInfo, - options[name] as CompilerOptionsValue, - relativeToBuildInfo - ); + function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions, optionKey: "affectsBundleEmitBuildInfo" | "affectsMultiFileEmitBuildInfo") { + let result: CompilerOptions | undefined; + const { optionsNameMap } = getOptionsNameMap(); + for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { + const optionInfo = optionsNameMap.get(name.toLowerCase()); + if (optionInfo?.[optionKey]) { + (result ||= {})[name] = convertToReusableCompilerOptionValue( + optionInfo, + options[name] as CompilerOptionsValue, + relativeToBuildInfoEnsuringAbsolutePath + ); + } } + return result; } - return result; } function convertToReusableCompilerOptionValue(option: CommandLineOption | undefined, value: CompilerOptionsValue, relativeToBuildInfo: (path: string) => string) { @@ -1404,10 +1415,11 @@ namespace ts { { version: fileInfo.version, signature: fileInfo.signature === false ? undefined : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat }; } - export function createBuildProgramUsingProgramBuildInfo(program: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { + export function createBuilderProgramUsingProgramBuildInfo(programFromBuildInfo: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + const program = programFromBuildInfo as ProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo; const filePaths = program.fileNames?.map(toPath); const filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); const fileInfos = new Map(); @@ -1471,7 +1483,7 @@ namespace ts { } function toFilePath(fileId: ProgramBuildInfoFileId) { - return filePaths![fileId - 1]; + return filePaths[fileId - 1]; } function toFilePathsSet(fileIdsListId: ProgramBuildInfoFileIdListId) { diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index d3743cf447419..339b88812860b 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -299,7 +299,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it, defaultValueDescription: false, @@ -335,7 +335,7 @@ namespace ts { affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, paramType: Diagnostics.VERSION, showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, @@ -363,7 +363,7 @@ namespace ts { })), affectsModuleResolution: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, category: Diagnostics.Modules, @@ -432,7 +432,7 @@ namespace ts { category: Diagnostics.Command_line_Options, affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, isCommandLineOnly: true, description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing, defaultValueDescription: false, @@ -477,7 +477,7 @@ namespace ts { type: jsxOptionMap, affectsSourceFile: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsModuleResolution: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, @@ -490,7 +490,7 @@ namespace ts { shortName: "d", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -501,7 +501,7 @@ namespace ts { name: "declarationMap", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -512,7 +512,7 @@ namespace ts { name: "emitDeclarationOnly", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, @@ -524,7 +524,7 @@ namespace ts { name: "sourceMap", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -534,9 +534,9 @@ namespace ts { name: "outFile", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsDeclarationPath: true, - affectsOutFileBuildInfo: true, + affectsBundleEmitBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, showInSimplifiedHelpView: true, @@ -548,7 +548,7 @@ namespace ts { name: "outDir", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -560,7 +560,7 @@ namespace ts { name: "rootDir", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.LOCATION, @@ -572,8 +572,8 @@ namespace ts { name: "composite", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, - affectsOutFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, isTSConfigOnly: true, category: Diagnostics.Projects, transpileOptionValue: undefined, @@ -584,8 +584,8 @@ namespace ts { name: "tsBuildInfoFile", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, - affectsOutFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, category: Diagnostics.Projects, @@ -597,7 +597,7 @@ namespace ts { name: "removeComments", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -616,7 +616,7 @@ namespace ts { name: "importHelpers", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file, defaultValueDescription: false, @@ -630,7 +630,7 @@ namespace ts { })), affectsEmit: true, affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types, defaultValueDescription: ImportsNotUsedAsValues.Remove, @@ -639,7 +639,7 @@ namespace ts { name: "downlevelIteration", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration, defaultValueDescription: false, @@ -661,7 +661,7 @@ namespace ts { // The value of each strictFlag depends on own strictFlag value or this and never accessed directly. // But we need to store `strict` in builf info, even though it won't be examined directly, so that the // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_all_strict_type_checking_options, @@ -671,7 +671,7 @@ namespace ts { name: "noImplicitAny", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type, @@ -681,7 +681,7 @@ namespace ts { name: "strictNullChecks", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_type_checking_take_into_account_null_and_undefined, @@ -691,7 +691,7 @@ namespace ts { name: "strictFunctionTypes", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible, @@ -701,7 +701,7 @@ namespace ts { name: "strictBindCallApply", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function, @@ -711,7 +711,7 @@ namespace ts { name: "strictPropertyInitialization", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor, @@ -721,7 +721,7 @@ namespace ts { name: "noImplicitThis", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any, @@ -731,7 +731,7 @@ namespace ts { name: "useUnknownInCatchVariables", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any, @@ -742,7 +742,7 @@ namespace ts { type: "boolean", affectsSourceFile: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_use_strict_is_always_emitted, @@ -754,7 +754,7 @@ namespace ts { name: "noUnusedLocals", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read, defaultValueDescription: false, @@ -763,7 +763,7 @@ namespace ts { name: "noUnusedParameters", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read, defaultValueDescription: false, @@ -772,7 +772,7 @@ namespace ts { name: "exactOptionalPropertyTypes", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined, defaultValueDescription: false, @@ -781,7 +781,7 @@ namespace ts { name: "noImplicitReturns", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function, defaultValueDescription: false, @@ -791,7 +791,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements, defaultValueDescription: false, @@ -800,7 +800,7 @@ namespace ts { name: "noUncheckedIndexedAccess", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index, defaultValueDescription: false, @@ -809,7 +809,7 @@ namespace ts { name: "noImplicitOverride", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier, defaultValueDescription: false, @@ -818,7 +818,7 @@ namespace ts { name: "noPropertyAccessFromIndexSignature", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: false, category: Diagnostics.Type_Checking, description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type, @@ -905,7 +905,7 @@ namespace ts { name: "allowSyntheticDefaultImports", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export, defaultValueDescription: Diagnostics.module_system_or_esModuleInterop @@ -915,7 +915,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility, @@ -932,7 +932,7 @@ namespace ts { name: "allowUmdGlobalAccess", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Modules, description: Diagnostics.Allow_accessing_UMD_globals_from_modules, defaultValueDescription: false, @@ -955,7 +955,7 @@ namespace ts { name: "sourceRoot", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code, @@ -964,7 +964,7 @@ namespace ts { name: "mapRoot", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations, @@ -973,7 +973,7 @@ namespace ts { name: "inlineSourceMap", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -982,7 +982,7 @@ namespace ts { name: "inlineSources", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -993,7 +993,7 @@ namespace ts { name: "experimentalDecorators", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators, defaultValueDescription: false, @@ -1003,7 +1003,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files, defaultValueDescription: false, @@ -1029,7 +1029,7 @@ namespace ts { type: "string", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsModuleResolution: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk, @@ -1048,9 +1048,9 @@ namespace ts { name: "out", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsDeclarationPath: true, - affectsOutFileBuildInfo: true, + affectsBundleEmitBuildInfo: true, isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files // for correct behaviour, please use outFile category: Diagnostics.Backwards_Compatibility, @@ -1062,7 +1062,7 @@ namespace ts { name: "reactNamespace", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit, defaultValueDescription: "`React`", @@ -1071,7 +1071,7 @@ namespace ts { name: "skipDefaultLibCheck", type: "boolean", // We need to store these to determine whether `lib` files need to be rechecked - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript, defaultValueDescription: false, @@ -1087,7 +1087,7 @@ namespace ts { name: "emitBOM", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files, defaultValueDescription: false, @@ -1099,7 +1099,7 @@ namespace ts { lf: NewLineKind.LineFeed })), affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, paramType: Diagnostics.NEWLINE, category: Diagnostics.Emit, description: Diagnostics.Set_the_newline_character_for_emitting_files, @@ -1109,7 +1109,7 @@ namespace ts { name: "noErrorTruncation", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Output_Formatting, description: Diagnostics.Disable_truncating_types_in_error_messages, defaultValueDescription: false, @@ -1140,7 +1140,7 @@ namespace ts { name: "stripInternal", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments, defaultValueDescription: false, @@ -1181,7 +1181,7 @@ namespace ts { name: "noImplicitUseStrict", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files, defaultValueDescription: false, @@ -1190,7 +1190,7 @@ namespace ts { name: "noEmitHelpers", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output, defaultValueDescription: false, @@ -1199,7 +1199,7 @@ namespace ts { name: "noEmitOnError", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, transpileOptionValue: undefined, description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported, @@ -1209,7 +1209,7 @@ namespace ts { name: "preserveConstEnums", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code, defaultValueDescription: false, @@ -1218,7 +1218,7 @@ namespace ts { name: "declarationDir", type: "string", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -1230,7 +1230,7 @@ namespace ts { name: "skipLibCheck", type: "boolean", // We need to store these to determine whether `lib` files need to be rechecked - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_all_d_ts_files, defaultValueDescription: false, @@ -1240,7 +1240,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unused_labels, defaultValueDescription: undefined, @@ -1250,7 +1250,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unreachable_code, defaultValueDescription: undefined, @@ -1259,7 +1259,7 @@ namespace ts { name: "suppressExcessPropertyErrors", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals, defaultValueDescription: false, @@ -1268,7 +1268,7 @@ namespace ts { name: "suppressImplicitAnyIndexErrors", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures, defaultValueDescription: false, @@ -1293,7 +1293,7 @@ namespace ts { name: "noStrictGenericChecks", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types, defaultValueDescription: false, @@ -1303,7 +1303,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields, defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext @@ -1312,7 +1312,7 @@ namespace ts { name: "preserveValueImports", type: "boolean", affectsEmit: true, - affectsMultiFileBuildInfo: true, + affectsMultiFileEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed, defaultValueDescription: false, diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index a157e0d7ff89c..46664b9d6d24e 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -831,7 +831,7 @@ namespace ts { newBuildInfo.program = buildInfo.program; if (newBuildInfo.program && changedDtsText !== undefined && config.options.composite) { // Update the output signature - newBuildInfo.program.outSignature = computeSignature(changedDtsText, changedDtsData, createHash); + (newBuildInfo.program as ProgramBundleEmitBuildInfo).outSignature = computeSignature(changedDtsText, changedDtsData, createHash); newBuildInfo.program.dtsChangeTime = getCurrentTime(host).getTime(); } // Update sourceFileInfo diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 54cbd277757bd..8593f57375ec6 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1543,8 +1543,8 @@ namespace ts { } if (buildInfo.program) { - if (buildInfo.program.changeFileSet?.length || - (!project.options.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) { + if ((buildInfo.program as ProgramMultiFileEmitBuildInfo).changeFileSet?.length || + (!project.options.noEmit && (buildInfo.program as ProgramMultiFileEmitBuildInfo).affectedFilesPendingEmit?.length)) { return { type: UpToDateStatusType.OutOfDateBuildInfo, buildInfoFile: buildInfoPath diff --git a/src/compiler/types.ts b/src/compiler/types.ts index d933bdb8a091e..515c8e2abc360 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6422,8 +6422,8 @@ namespace ts { affectsEmit?: true; // true if the options affects emit affectsProgramStructure?: true; // true if program should be reconstructed from root files if option changes and does not affect module resolution as affectsModuleResolution indirectly means program needs to reconstructed affectsDeclarationPath?: true; // true if the options affects declaration file path computed - affectsMultiFileBuildInfo?: true; // true if this options should be emitted in buildInfo without --out - affectsOutFileBuildInfo?: true; // true if this options should be emitted in buildInfo with --out + affectsMultiFileEmitBuildInfo?: true; // true if this options should be emitted in buildInfo without --out + affectsBundleEmitBuildInfo?: true; // true if this options should be emitted in buildInfo with --out transpileOptionValue?: boolean | undefined; // If set this means that the option should be set to this value when transpiling extraValidation?: (value: CompilerOptionsValue) => [DiagnosticMessage, ...string[]] | undefined; // Additional validation to be performed for the value to be valid } diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 6d807f6630f83..e3257391f9e07 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -21,7 +21,7 @@ namespace ts { } if (buildInfo.version !== version) return undefined; if (!buildInfo.program) return undefined; - return createBuildProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host); + return createBuilderProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host); } export function createIncrementalCompilerHost(options: CompilerOptions, system = sys): CompilerHost { diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index f73282c8bbafb..fcfde3284372e 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -199,52 +199,55 @@ interface Symbol { type ReadableProgramBuildInfoDiagnostic = string | [string, readonly ReusableDiagnostic[]]; type ReadableProgramBuilderInfoFilePendingEmit = [string, "DtsOnly" | "Full"]; type ReadableProgramBuildInfoEmitSignature = string | [string, string]; - type ReadableFileInfo = Omit & { impliedFormat: string | undefined; }; - interface ReadableProgramBuildInfo { - fileNames: readonly string[] | undefined; + type ReadableProgramBuildInfoFileInfo = Omit & { impliedFormat: string | undefined; }; + type ReadableProgramMultiFileEmitBuildInfo = Omit & { fileNamesList: readonly (readonly string[])[] | undefined; - fileInfos: MapLike | undefined; - options: CompilerOptions | undefined; + fileInfos: MapLike; referencedMap?: MapLike; exportedModulesMap?: MapLike; semanticDiagnosticsPerFile?: readonly ReadableProgramBuildInfoDiagnostic[]; affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[]; changeFileSet?: readonly string[]; emitSignatures?: readonly ReadableProgramBuildInfoEmitSignature[]; - outSignature?: string; - dtsChangeTime?: number; - } + }; + + type ReadableProgramBuildInfo = ReadableProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo; type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { const fileInfos: ReadableProgramBuildInfo["fileInfos"] = {}; - buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); - const fileNamesList = buildInfo.program?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); - const program: ReadableProgramBuildInfo | undefined = buildInfo.program && { - fileNames: buildInfo.program.fileNames, + const buildInfoProgram = buildInfo.program as (ProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo) | undefined; + buildInfoProgram?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); + const fileNamesList = buildInfoProgram?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); + const program: ReadableProgramBuildInfo | undefined = buildInfoProgram && { + fileNames: buildInfoProgram.fileNames, fileNamesList, - fileInfos: buildInfo.program.fileInfos ? fileInfos : undefined, - options: buildInfo.program.options, - referencedMap: toMapOfReferencedSet(buildInfo.program.referencedMap), - exportedModulesMap: toMapOfReferencedSet(buildInfo.program.exportedModulesMap), - semanticDiagnosticsPerFile: buildInfo.program.semanticDiagnosticsPerFile?.map(d => + fileInfos: buildInfoProgram.fileInfos ? fileInfos : undefined!, + options: buildInfoProgram.options, + referencedMap: toMapOfReferencedSet(buildInfoProgram.referencedMap), + exportedModulesMap: toMapOfReferencedSet(buildInfoProgram.exportedModulesMap), + semanticDiagnosticsPerFile: buildInfoProgram.semanticDiagnosticsPerFile?.map(d => isNumber(d) ? toFileName(d) : [toFileName(d[0]), d[1]] ), - affectedFilesPendingEmit: buildInfo.program.affectedFilesPendingEmit?.map(([fileId, emitKind]) => [ + affectedFilesPendingEmit: buildInfoProgram.affectedFilesPendingEmit?.map(([fileId, emitKind]) => [ toFileName(fileId), emitKind === BuilderFileEmit.DtsOnly ? "DtsOnly" : emitKind === BuilderFileEmit.Full ? "Full" : Debug.assertNever(emitKind) ]), - changeFileSet: buildInfo.program.changeFileSet?.map(toFileName), - emitSignatures: buildInfo.program.emitSignatures?.map(s => + changeFileSet: buildInfoProgram.changeFileSet?.map(toFileName), + emitSignatures: buildInfoProgram.emitSignatures?.map(s => isNumber(s) ? toFileName(s) : [toFileName(s[0]), s[1]] ), - outSignature: buildInfo.program.outSignature, - dtsChangeTime: buildInfo.program.dtsChangeTime, + outSignature: buildInfoProgram.outSignature, + dtsChangeTime: buildInfoProgram.dtsChangeTime, }; const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { @@ -272,14 +275,14 @@ interface Symbol { sys.writeFile(`${buildInfoPath}.readable.baseline.txt`, JSON.stringify(result, /*replacer*/ undefined, 2)); function toFileName(fileId: ProgramBuildInfoFileId) { - return buildInfo.program!.fileNames![fileId - 1]; + return buildInfoProgram!.fileNames[fileId - 1]; } function toFileNames(fileIdsListId: ProgramBuildInfoFileIdListId) { return fileNamesList![fileIdsListId - 1]; } - function toReadableFileInfo(fileInfo: ProgramBuildInfoFileInfo): ReadableFileInfo { + function toReadableFileInfo(fileInfo: ProgramBuildInfoFileInfo): ReadableProgramBuildInfoFileInfo { const info = toBuilderStateFileInfo(fileInfo); return { ...info, @@ -499,7 +502,7 @@ interface Symbol { } { if (!text) return { buildInfo: text }; const readableBuildInfo = JSON.parse(text) as ReadableBuildInfo; - let sanitizedFileInfos: MapLike | undefined; + let sanitizedFileInfos: MapLike | undefined; if (readableBuildInfo.program?.fileInfos) { sanitizedFileInfos = {}; for (const id in readableBuildInfo.program.fileInfos) { From 78ba7781a197bcb54644e60f1b3b422968c7e645 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 13:44:35 -0700 Subject: [PATCH 47/64] No need to store output file stamps if not in watch mode --- src/compiler/tsbuildPublic.ts | 27 +++++++----- ...al-flag-changes-between-non-dts-changes.js | 16 +++---- ...t-composite-but-uses-project-references.js | 12 ++--- .../when-rootDir-is-not-specified.js | 4 +- .../outputPaths/when-rootDir-is-specified.js | 4 +- ...-different-folders-with-no-files-clause.js | 44 +++++++++---------- ...nsitive-references-in-different-folders.js | 44 +++++++++---------- .../on-transitive-references.js | 44 +++++++++---------- ...roject-uses-different-module-resolution.js | 4 +- 9 files changed, 103 insertions(+), 96 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 8593f57375ec6..99eaef5a93489 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -245,7 +245,6 @@ namespace ts { readonly projectStatus: ESMap; readonly extendedConfigCache: ESMap; readonly buildInfoCache: ESMap; - readonly outputTimeStamps: ESMap>; readonly builderPrograms: ESMap; readonly diagnostics: ESMap; @@ -274,6 +273,7 @@ namespace ts { readonly allWatchedExtendedConfigFiles: ESMap>; readonly allWatchedPackageJsonFiles: ESMap>; readonly filesWatched: ESMap; + readonly outputTimeStamps: ESMap>; readonly lastCachedPackageJsonLookups: ESMap; @@ -1000,8 +1000,8 @@ namespace ts { } } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); - if (!isIncremental) { - (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)).set(path, now ||= getCurrentTime(state.host)); + if (!isIncremental && state.watch) { + (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)!).set(path, now ||= getCurrentTime(state.host)); } }); @@ -1414,6 +1414,7 @@ namespace ts { } function getOutputTimeStampMap(state: SolutionBuilderState, resolvedConfigFilePath: ResolvedConfigFilePath) { + if (!state.watch) return undefined; let result = state.outputTimeStamps.get(resolvedConfigFilePath); if (!result) state.outputTimeStamps.set(resolvedConfigFilePath, result = new Map()); return result; @@ -1594,8 +1595,12 @@ namespace ts { for (const output of outputs) { const path = toPath(state, output); // Output is missing; can stop checking - let outputTime = outputTimeStampMap.get(path); - if (!outputTime) outputTimeStampMap.set(path, outputTime = ts.getModifiedTime(state.host, output)); + let outputTime = outputTimeStampMap?.get(path); + if (!outputTime) { + outputTime = ts.getModifiedTime(state.host, output); + outputTimeStampMap?.set(path, outputTime); + } + if (outputTime === missingFileModifiedTime) { return { type: UpToDateStatusType.OutputMissing, @@ -1751,7 +1756,7 @@ namespace ts { const { host } = state; const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); - const modifiedOutputs = new Set(); + const modifiedOutputs = outputTimeStampMap ? new Set() : undefined; if (!skipOutputs || outputs.length !== skipOutputs.size) { let reportVerbose = !!state.options.verbose; for (const file of outputs) { @@ -1762,14 +1767,16 @@ namespace ts { reportStatus(state, verboseMessage, proj.options.configFilePath!); } host.setModifiedTime(file, now ||= getCurrentTime(state.host)); - outputTimeStampMap.set(path, now); - modifiedOutputs.add(path); + if (outputTimeStampMap) { + outputTimeStampMap.set(path, now); + modifiedOutputs!.add(path); + } } } // Clear out timestamps not in output list any more - outputTimeStampMap.forEach((_value, key) => { - if (!skipOutputs?.has(key) && !modifiedOutputs.has(key)) outputTimeStampMap.delete(key); + outputTimeStampMap?.forEach((_value, key) => { + if (!skipOutputs?.has(key) && !modifiedOutputs!.has(key)) outputTimeStampMap.delete(key); }); } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index aecb32f1402ad..2d3216b097dd5 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -766,24 +766,24 @@ console.log(s);console.log(s); Output:: /lib/tsc --b /src/third --verbose --incremental -[12:01:05 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:01:06 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' +[12:01:05 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' -[12:01:07 AM] Building project '/src/first/tsconfig.json'... +[12:01:06 AM] Building project '/src/first/tsconfig.json'... -[12:01:16 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' +[12:01:15 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:17 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:01:16 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:18 AM] Updating output of project '/src/third/tsconfig.json'... +[12:01:17 AM] Updating output of project '/src/third/tsconfig.json'... -[12:01:19 AM] Cannot update output of project '/src/third/tsconfig.json' because there was error reading file 'src/third/thirdjs/output/third-output.js' +[12:01:18 AM] Cannot update output of project '/src/third/tsconfig.json' because there was error reading file 'src/third/thirdjs/output/third-output.js' -[12:01:20 AM] Building project '/src/third/tsconfig.json'... +[12:01:19 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index b46330cc804cb..efca28de87b9d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -1750,20 +1750,20 @@ console.log(s); Output:: /lib/tsc --b /src/third --verbose -[12:00:48 AM] Projects in this build: +[12:00:47 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:49 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' +[12:00:48 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' -[12:00:50 AM] Building project '/src/first/tsconfig.json'... +[12:00:49 AM] Building project '/src/first/tsconfig.json'... -[12:00:59 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' +[12:00:58 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:01:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:59 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:01:01 AM] Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js index d75a2ecdc171e..eaac37ec1267b 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified.js @@ -49,10 +49,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:15 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' +[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js index 95a62f8055ee3..8ca9a8e4ec745 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -49,10 +49,10 @@ Input:: Output:: /lib/tsc --b /src/tsconfig.json -v -[12:00:15 AM] Projects in this build: +[12:00:14 AM] Projects in this build: * src/tsconfig.json -[12:00:16 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' +[12:00:15 AM] Project 'src/tsconfig.json' is up to date because newest input 'src/src/index.ts' is older than output 'src/dist/index.js' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 2d83f51bcbb46..ce628372bedf8 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -173,9 +173,9 @@ a_1.X; /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:01:02 AM] Starting compilation in watch mode... +[12:01:01 AM] Starting compilation in watch mode... -[12:01:06 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -293,7 +293,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":69000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -341,7 +341,7 @@ export declare function gfoo(): void; "../a/index.d.ts", "./index.ts" ], - "dtsChangeTime": 69000 + "dtsChangeTime": 68000 }, "version": "FakeTSVersion", "size": 960 @@ -350,9 +350,9 @@ export declare function gfoo(): void; Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -450,9 +450,9 @@ export class A {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Found 0 errors. Watching for file changes. +[12:01:38 AM] Found 0 errors. Watching for file changes. @@ -549,9 +549,9 @@ Input:: Output:: >> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -648,9 +648,9 @@ Input:: Output:: >> Screen clear -[12:01:51 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... -[12:01:52 AM] Found 0 errors. Watching for file changes. +[12:01:51 AM] Found 0 errors. Watching for file changes. @@ -743,9 +743,9 @@ Input:: Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -825,14 +825,14 @@ Input:: Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... +[12:01:58 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:06 AM] Found 1 error. Watching for file changes. +[12:02:05 AM] Found 1 error. Watching for file changes. @@ -913,9 +913,9 @@ Input:: Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... -[12:02:13 AM] Found 0 errors. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -1010,14 +1010,14 @@ Input:: Output:: >> Screen clear -[12:02:15 AM] File change detected. Starting incremental compilation... +[12:02:14 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:19 AM] Found 1 error. Watching for file changes. +[12:02:18 AM] Found 1 error. Watching for file changes. @@ -1109,9 +1109,9 @@ Input:: Output:: >> Screen clear -[12:02:22 AM] File change detected. Starting incremental compilation... +[12:02:21 AM] File change detected. Starting incremental compilation... -[12:02:23 AM] Found 0 errors. Watching for file changes. +[12:02:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index e915b99ee557e..c8482f5cd0538 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -173,9 +173,9 @@ a_1.X; /a/lib/tsc.js -w -p c Output:: >> Screen clear -[12:01:02 AM] Starting compilation in watch mode... +[12:01:01 AM] Starting compilation in watch mode... -[12:01:06 AM] Found 0 errors. Watching for file changes. +[12:01:05 AM] Found 0 errors. Watching for file changes. @@ -289,7 +289,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":69000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":68000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -337,7 +337,7 @@ export declare function gfoo(): void; "../a/index.d.ts", "./index.ts" ], - "dtsChangeTime": 69000 + "dtsChangeTime": 68000 }, "version": "FakeTSVersion", "size": 960 @@ -346,9 +346,9 @@ export declare function gfoo(): void; Output:: >> Screen clear -[12:01:23 AM] File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... -[12:01:27 AM] Found 0 errors. Watching for file changes. +[12:01:26 AM] Found 0 errors. Watching for file changes. @@ -442,9 +442,9 @@ export class A {} Output:: >> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... -[12:01:39 AM] Found 0 errors. Watching for file changes. +[12:01:38 AM] Found 0 errors. Watching for file changes. @@ -537,9 +537,9 @@ Input:: Output:: >> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... +[12:01:42 AM] File change detected. Starting incremental compilation... -[12:01:47 AM] Found 0 errors. Watching for file changes. +[12:01:46 AM] Found 0 errors. Watching for file changes. @@ -632,9 +632,9 @@ Input:: Output:: >> Screen clear -[12:01:51 AM] File change detected. Starting incremental compilation... +[12:01:50 AM] File change detected. Starting incremental compilation... -[12:01:52 AM] Found 0 errors. Watching for file changes. +[12:01:51 AM] Found 0 errors. Watching for file changes. @@ -722,9 +722,9 @@ Input:: Output:: >> Screen clear -[12:01:56 AM] File change detected. Starting incremental compilation... +[12:01:55 AM] File change detected. Starting incremental compilation... -[12:01:57 AM] Found 0 errors. Watching for file changes. +[12:01:56 AM] Found 0 errors. Watching for file changes. @@ -799,14 +799,14 @@ Input:: Output:: >> Screen clear -[12:01:59 AM] File change detected. Starting incremental compilation... +[12:01:58 AM] File change detected. Starting incremental compilation... c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]}    ~~~~~~~~~~~~~~~ -[12:02:06 AM] Found 1 error. Watching for file changes. +[12:02:05 AM] Found 1 error. Watching for file changes. @@ -885,9 +885,9 @@ Input:: Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... -[12:02:13 AM] Found 0 errors. Watching for file changes. +[12:02:12 AM] Found 0 errors. Watching for file changes. @@ -978,14 +978,14 @@ Input:: Output:: >> Screen clear -[12:02:15 AM] File change detected. Starting incremental compilation... +[12:02:14 AM] File change detected. Starting incremental compilation... b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]}    ~~~~~~~~~~~~~~~ -[12:02:19 AM] Found 1 error. Watching for file changes. +[12:02:18 AM] Found 1 error. Watching for file changes. @@ -1074,9 +1074,9 @@ Input:: Output:: >> Screen clear -[12:02:22 AM] File change detected. Starting incremental compilation... +[12:02:21 AM] File change detected. Starting incremental compilation... -[12:02:23 AM] Found 0 errors. Watching for file changes. +[12:02:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 99c301e0d1048..b958bea40ba5a 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -197,9 +197,9 @@ a_1.X; /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:56 AM] Starting compilation in watch mode... +[12:00:55 AM] Starting compilation in watch mode... -[12:01:00 AM] Found 0 errors. Watching for file changes. +[12:00:59 AM] Found 0 errors. Watching for file changes. @@ -302,7 +302,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":63000},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"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},"-8728835846-export declare class A {\n}\n",{"version":"-23418138964-import {A} from '@ref/a';\r\nexport const b = new A();\r\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -350,7 +350,7 @@ export declare function gfoo(): void; "./a.d.ts", "./b.ts" ], - "dtsChangeTime": 63000 + "dtsChangeTime": 62000 }, "version": "FakeTSVersion", "size": 954 @@ -359,9 +359,9 @@ export declare function gfoo(): void; Output:: >> Screen clear -[12:01:17 AM] File change detected. Starting incremental compilation... +[12:01:16 AM] File change detected. Starting incremental compilation... -[12:01:21 AM] Found 0 errors. Watching for file changes. +[12:01:20 AM] Found 0 errors. Watching for file changes. @@ -447,9 +447,9 @@ export class A {} Output:: >> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... +[12:01:28 AM] File change detected. Starting incremental compilation... -[12:01:33 AM] Found 0 errors. Watching for file changes. +[12:01:32 AM] Found 0 errors. Watching for file changes. @@ -530,9 +530,9 @@ Input:: Output:: >> Screen clear -[12:01:37 AM] File change detected. Starting incremental compilation... +[12:01:36 AM] File change detected. Starting incremental compilation... -[12:01:41 AM] Found 0 errors. Watching for file changes. +[12:01:40 AM] Found 0 errors. Watching for file changes. @@ -613,9 +613,9 @@ Input:: Output:: >> Screen clear -[12:01:45 AM] File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... -[12:01:46 AM] Found 0 errors. Watching for file changes. +[12:01:45 AM] Found 0 errors. Watching for file changes. @@ -697,9 +697,9 @@ Input:: Output:: >> Screen clear -[12:01:50 AM] File change detected. Starting incremental compilation... +[12:01:49 AM] File change detected. Starting incremental compilation... -[12:01:51 AM] Found 0 errors. Watching for file changes. +[12:01:50 AM] Found 0 errors. Watching for file changes. @@ -768,14 +768,14 @@ Input:: Output:: >> Screen clear -[12:01:53 AM] File change detected. Starting incremental compilation... +[12:01:52 AM] File change detected. Starting incremental compilation... tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 1 {"files":["c.ts"],"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["./refs/*"]}},"references":[{"path":"tsconfig.b.json"}]}    ~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:02:00 AM] Found 1 error. Watching for file changes. +[12:01:59 AM] Found 1 error. Watching for file changes. @@ -859,9 +859,9 @@ Input:: Output:: >> Screen clear -[12:02:03 AM] File change detected. Starting incremental compilation... +[12:02:02 AM] File change detected. Starting incremental compilation... -[12:02:07 AM] Found 0 errors. Watching for file changes. +[12:02:06 AM] Found 0 errors. Watching for file changes. @@ -942,14 +942,14 @@ Input:: Output:: >> Screen clear -[12:02:09 AM] File change detected. Starting incremental compilation... +[12:02:08 AM] File change detected. Starting incremental compilation... tsconfig.b.json:10:21 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 10 "references": [ { "path": "tsconfig.a.json" } ]    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[12:02:13 AM] Found 1 error. Watching for file changes. +[12:02:12 AM] Found 1 error. Watching for file changes. @@ -1031,9 +1031,9 @@ Input:: Output:: >> Screen clear -[12:02:16 AM] File change detected. Starting incremental compilation... +[12:02:15 AM] File change detected. Starting incremental compilation... -[12:02:17 AM] Found 0 errors. Watching for file changes. +[12:02:16 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 3425bfd7a7439..0803622afb4a3 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -184,9 +184,9 @@ a_1.X; /a/lib/tsc.js -w -p tsconfig.c.json Output:: >> Screen clear -[12:00:56 AM] Starting compilation in watch mode... +[12:00:55 AM] Starting compilation in watch mode... -[12:01:00 AM] Found 0 errors. Watching for file changes. +[12:00:59 AM] Found 0 errors. Watching for file changes. From 10728b407b7e14bd531c50f55e994fcd7502859e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 15:26:06 -0700 Subject: [PATCH 48/64] Cleanup --- src/compiler/tsbuildPublic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 99eaef5a93489..66eaa4fa0494e 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1625,7 +1625,7 @@ namespace ts { } const seenRefs = buildInfoPath ? new Set() : undefined; - const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath)!; + const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath); seenRefs?.add(resolvedPath); let pseudoUpToDate = false; From 5492949503ffc102f7220bd67ba513801d862c16 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 20 Apr 2022 16:25:59 -0700 Subject: [PATCH 49/64] Test for single watch per file --- src/harness/virtualFileSystemWithWatch.ts | 3 +- .../tsbuildWatch/watchEnvironment.ts | 1 - .../unittests/tsserver/watchEnvironment.ts | 31 ++++++++ ...e-can-create-multiple-watchers-per-file.js | 72 +++++++++++++++++++ ...en-watchFile-is-single-watcher-per-file.js | 71 ++++++++++++++++++ 5 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-can-create-multiple-watchers-per-file.js create mode 100644 tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 784f6f867016c..26ade106c0f5d 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -1081,13 +1081,14 @@ interface Array { length: number; [n: number]: T; }` baseline.push(""); } - serializeWatches(baseline: string[]) { + serializeWatches(baseline: string[] = []) { serializeMultiMap(baseline, "WatchedFiles", this.watchedFiles, ({ fileName, pollingInterval }) => ({ fileName, pollingInterval })); baseline.push(""); serializeMultiMap(baseline, "FsWatches", this.fsWatches, serializeTestFsWatcher); baseline.push(""); serializeMultiMap(baseline, "FsWatchesRecursive", this.fsWatchesRecursive, serializeTestFsWatcher); baseline.push(""); + return baseline; } realpath(s: string): string { diff --git a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts index a196d6e79d2a8..a01b35f5a98cc 100644 --- a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts +++ b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts @@ -28,7 +28,6 @@ namespace ts.tscWatch { const host = createSolutionBuilderWithWatchHostForBaseline(sys, cb); const solutionBuilder = createSolutionBuilderWithWatch(host, ["tsconfig.json"], { watch: true, verbose: true }); solutionBuilder.build(); - // TODO: (shkamat): Need different test where we check single watch per file runWatchBaseline({ scenario: "watchEnvironment", subScenario: `same file in multiple projects${singleWatchPerFile ? " with single watcher per file" : ""}`, diff --git a/src/testRunner/unittests/tsserver/watchEnvironment.ts b/src/testRunner/unittests/tsserver/watchEnvironment.ts index 2624e1b6e34db..a7d045373dcf9 100644 --- a/src/testRunner/unittests/tsserver/watchEnvironment.ts +++ b/src/testRunner/unittests/tsserver/watchEnvironment.ts @@ -818,4 +818,35 @@ namespace ts.projectSystem { verifyFileNames("/User/userName/Projects/İ", "/user/username/projects/İ"); }); }); + + describe("unittests:: tsserver:: watchEnvironment:: watchFile is single watcher per file", () => { + function verifyWatchFile(scenario: string, environmentVariables?: ESMap) { + it(scenario, () => { + const config: File = { + path: `${tscWatch.projectRoot}/tsconfig.json`, + content: JSON.stringify({ + compilerOptions: { + composite: true, + resolveJsonModule: true, + }, + }) + }; + const index: File = { + path: `${tscWatch.projectRoot}/index.ts`, + content: `import * as tsconfig from "./tsconfig.json";` + }; + const host = createServerHost([config, index, libFile], { environmentVariables }); + const session = createSession(host, { logger: createLoggerWithInMemoryLogs() }); + openFilesForSession([index], session); + host.serializeWatches().forEach(b => session.logger.info(b)); + baselineTsserverLogs("watchEnvironment", scenario, session); + }); + } + + verifyWatchFile("when watchFile can create multiple watchers per file"); + verifyWatchFile( + "when watchFile is single watcher per file", + arrayToMap(["TSC_WATCHFILE"], identity, () => TestFSWithWatch.Tsc_WatchFile.SingleFileWatcherPerName) + ); + }); } diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-can-create-multiple-watchers-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-can-create-multiple-watchers-per-file.js new file mode 100644 index 0000000000000..419c7847bbfb4 --- /dev/null +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-can-create-multiple-watchers-per-file.js @@ -0,0 +1,72 @@ +Provided types map file "/a/lib/typesMap.json" doesn't exist +request:{"seq":0,"type":"request","command":"open","arguments":{"file":"/user/username/projects/myproject/index.ts"}} +Search path: /user/username/projects/myproject +For info: /user/username/projects/myproject/index.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +Creating configuration project /user/username/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "composite": true, + "resolveJsonModule": true, + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded +Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 500 undefined WatchType: Closed Script info +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Project '/user/username/projects/myproject/tsconfig.json' (Configured) + Files (3) + /a/lib/lib.d.ts + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/index.ts + + + ../../../../a/lib/lib.d.ts + Default library for target 'es3' + tsconfig.json + Imported via "./tsconfig.json" from file 'index.ts' + index.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +----------------------------------------------- +Search path: /user/username/projects/myproject +For info: /user/username/projects/myproject/tsconfig.json :: No config files found. +Project '/user/username/projects/myproject/tsconfig.json' (Configured) + Files (3) + +----------------------------------------------- +Open files: + FileName: /user/username/projects/myproject/index.ts ProjectRootPath: undefined + Projects: /user/username/projects/myproject/tsconfig.json +response:{"responseRequired":false} +WatchedFiles:: +/user/username/projects/myproject/tsconfig.json: + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} +/a/lib/lib.d.ts: + {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} + +FsWatches:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} +/user/username/projects/myproject/tsconfig.json: + {"directoryName":"/user/username/projects/myproject/tsconfig.json","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} +/user/username/projects/myproject/node_modules/@types: + {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js new file mode 100644 index 0000000000000..6300aadb8a614 --- /dev/null +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -0,0 +1,71 @@ +Provided types map file "/a/lib/typesMap.json" doesn't exist +request:{"seq":0,"type":"request","command":"open","arguments":{"file":"/user/username/projects/myproject/index.ts"}} +Search path: /user/username/projects/myproject +For info: /user/username/projects/myproject/index.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +Creating configuration project /user/username/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Config: /user/username/projects/myproject/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/index.ts" + ], + "options": { + "composite": true, + "resolveJsonModule": true, + "configFilePath": "/user/username/projects/myproject/tsconfig.json" + } +} +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded +Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 500 undefined WatchType: Closed Script info +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Project '/user/username/projects/myproject/tsconfig.json' (Configured) + Files (3) + /a/lib/lib.d.ts + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/index.ts + + + ../../../../a/lib/lib.d.ts + Default library for target 'es3' + tsconfig.json + Imported via "./tsconfig.json" from file 'index.ts' + index.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +----------------------------------------------- +Search path: /user/username/projects/myproject +For info: /user/username/projects/myproject/tsconfig.json :: No config files found. +Project '/user/username/projects/myproject/tsconfig.json' (Configured) + Files (3) + +----------------------------------------------- +Open files: + FileName: /user/username/projects/myproject/index.ts ProjectRootPath: undefined + Projects: /user/username/projects/myproject/tsconfig.json +response:{"responseRequired":false} +WatchedFiles:: +/user/username/projects/myproject/tsconfig.json: + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} +/a/lib/lib.d.ts: + {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} + +FsWatches:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} +/user/username/projects/myproject/tsconfig.json: + {"directoryName":"/user/username/projects/myproject/tsconfig.json","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} +/user/username/projects/myproject/node_modules/@types: + {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} From 70069d27046a2fb5de8b916a89c9365abd8875ff Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 21 Apr 2022 09:54:27 -0700 Subject: [PATCH 50/64] Fix emit and error update baselines that were duplicate --- .../unittests/tscWatch/emitAndErrorUpdates.ts | 16 +- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- .../with-noEmitOnError-with-incremental.js | 711 ----------------- .../with-noEmitOnError.js | 711 ----------------- .../with-noEmitOnError-with-incremental.js | 730 ------------------ .../with-noEmitOnError.js | 730 ------------------ .../with-noEmitOnError-with-incremental.js | 713 ----------------- .../incremental/default/with-noEmitOnError.js | 713 ----------------- .../with-noEmitOnError-with-incremental.js | 726 ----------------- .../defaultAndD/with-noEmitOnError.js | 726 ----------------- .../with-noEmitOnError-with-incremental.js | 707 ----------------- .../isolatedModules/with-noEmitOnError.js | 707 ----------------- .../with-noEmitOnError-with-incremental.js | 726 ----------------- .../isolatedModulesAndD/with-noEmitOnError.js | 726 ----------------- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- ...rors-for-.d.ts-change-with-incremental.js} | 2 +- ...errors-for-.ts-change-with-incremental.js} | 2 +- ...l-import-that-changes-with-incremental.js} | 2 +- .../export-with-incremental.js} | 2 +- .../exports-with-incremental.js} | 2 +- 43 files changed, 31 insertions(+), 8671 deletions(-) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js => assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js => assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js => assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js => assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js => assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js => assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js => assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js => assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js => assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js => assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/default/deepImportChanges/errors-for-.d.ts-change.js => default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/default/deepImportChanges/errors-for-.ts-change.js => default/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js => default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/default/transitive-exports/no-circular-import/export.js => default/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/default/transitive-exports/yes-circular-import/exports.js => default/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js => defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js => defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js => defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/defaultAndD/transitive-exports/no-circular-import/export.js => defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js => defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js delete mode 100644 tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js => isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js => isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js => isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModules/transitive-exports/no-circular-import/export.js => isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js => isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js => isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js => isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js} (98%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js => isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js => isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js} (99%) rename tests/baselines/reference/tscWatch/emitAndErrorUpdates/{incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js => isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js} (99%) diff --git a/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts b/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts index 598b422d5bab7..47e0fd184192c 100644 --- a/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts +++ b/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts @@ -14,7 +14,6 @@ namespace ts.tscWatch { lib, configFile, changes, - baselineIncremental }: VerifyEmitAndErrorUpdatesWorker) { verifyTscWatch({ scenario: "emitAndErrorUpdates", @@ -25,18 +24,7 @@ namespace ts.tscWatch { { currentDirectory: currentDirectory || projectRoot } ), changes, - baselineIncremental - }); - verifyTscWatch({ - scenario: "emitAndErrorUpdates", - subScenario: `incremental/${subScenario}`, - commandLineArgs: ["--w", "--i"], - sys: () => createWatchedSystem( - [...files(), configFile(), lib?.() || libFile], - { currentDirectory: currentDirectory || projectRoot } - ), - changes, - baselineIncremental + baselineIncremental: true }); } @@ -54,7 +42,6 @@ namespace ts.tscWatch { lib?: () => File; changes: TscWatchCompileChange[]; configFile?: () => File; - baselineIncremental?: boolean } function verifyEmitAndErrorUpdates(input: VerifyEmitAndErrorUpdates) { verifyEmitAndErrorUpdatesWorker({ @@ -374,7 +361,6 @@ const a: string = 10;`), const a: string = "hello";`), noChange, ], - baselineIncremental: true }); }); }); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 0a08936aad5a3..c5130b5495049 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js index a02c355ad5092..33b4582b2ccbd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index d0ef2c17b099d..4c6c77b11add7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js index 079a29e8103f8..1a48bdea04321 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js index b6640524b36d7..6caa1b9794982 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 59e9152a272f4..b63adfd0c4251 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 34d7a6f01d14b..6adfdb6568798 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 684bae78c879c..745c0c77cc237 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js index 21eff29fc5920..af4f4a181641e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index a0b4491f09040..3016171b46f88 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index fc05264b9f6be..593abaae006aa 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js index 1ddc36f38bc2a..5a5dfeed69b23 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index ba0c15f8df4a8..091a8a38963a9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js index 33455df772015..7478e4399d7ba 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js index f72cf752238d1..2fa93457d394e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index c440413b8f56a..227bc8f09ae57 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index e9cf233438753..fdff50ba6e389 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 081531da6d496..15c66918eba57 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js index 3553ec1da0723..644a417b671c0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 8e8b28d62f71b..67721632cff47 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js deleted file mode 100644 index e42e43bd8b646..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,711 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1101 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1096 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1259 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1087 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js deleted file mode 100644 index 9dde0054674ce..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ /dev/null @@ -1,711 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1101 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1096 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1259 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1087 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js deleted file mode 100644 index bfdf6d81126b5..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,730 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1120 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1249 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1412 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1240 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js deleted file mode 100644 index 3f2c70b67c6d6..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ /dev/null @@ -1,730 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1120 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1249 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1412 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "assumeChangesOnlyAffectDirectDependencies": true, - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1240 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js deleted file mode 100644 index 050317bc3b808..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,713 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{ - "compilerOptions": { - "outDir": "./dev-build", - "noEmitOnError": true - } -} - - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1052 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1047 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1210 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1038 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js deleted file mode 100644 index ab3c4d7927f42..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js +++ /dev/null @@ -1,713 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{ - "compilerOptions": { - "outDir": "./dev-build", - "noEmitOnError": true - } -} - - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1052 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1047 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1210 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1038 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js deleted file mode 100644 index 036a97dadd0e4..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,726 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1071 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1200 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1363 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1191 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js deleted file mode 100644 index 35a4b1f80423d..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js +++ /dev/null @@ -1,726 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1071 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1200 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1363 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1191 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js deleted file mode 100644 index 7df8484e45904..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,707 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1052 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1047 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1210 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1038 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js deleted file mode 100644 index ecd40437efddc..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js +++ /dev/null @@ -1,707 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1052 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:06 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1047 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:13 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:17 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1210 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:24 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:25 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:29 AM] File change detected. Starting incremental compilation... - -[12:01:36 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1038 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:43 AM] File change detected. Starting incremental compilation... - -[12:01:44 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js deleted file mode 100644 index b320338ade2cd..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ /dev/null @@ -1,726 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i --incremental -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1071 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1200 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1363 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1191 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js deleted file mode 100644 index e4a2935993f12..0000000000000 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js +++ /dev/null @@ -1,726 +0,0 @@ -Input:: -//// [/user/username/projects/noEmitOnError/shared/types/db.ts] -export interface A { - name: string; -} - -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -; - -//// [/user/username/projects/noEmitOnError/src/other.ts] -console.log("hi"); -export { } - -//// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true}} - -//// [/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; } -interface ReadonlyArray {} -declare const console: { log(msg: any): void; }; - - -/a/lib/tsc.js --w --i -Output:: ->> Screen clear -[12:00:31 AM] Starting compilation in watch mode... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:37 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Shape signatures in builder refreshed for:: -/a/lib/lib.d.ts (used version) -/user/username/projects/noemitonerror/shared/types/db.ts (used version) -/user/username/projects/noemitonerror/src/main.ts (used version) -/user/username/projects/noemitonerror/src/other.ts (used version) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},"-9621097780-export interface A {\r\n name: string;\r\n}","2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","11373096570-console.log(\"hi\");\r\nexport { }"],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3,4],"affectedFilesPendingEmit":[[2,1],[3,1],[4,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-9621097780-export interface A {\r\n name: string;\r\n}" - }, - "../src/main.ts": { - "version": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;", - "signature": "2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "11373096570-console.log(\"hi\");\r\nexport { }" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../shared/types/db.ts", - "Full" - ], - [ - "../src/main.ts", - "Full" - ], - [ - "../src/other.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1071 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... - -src/main.ts:4:1 - error TS1005: ',' expected. - -4 ; -  ~ - -[12:00:44 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Syntax error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a = { - lastName: 'sdsd' -}; - - -Output:: ->> Screen clear -[12:00:48 AM] File change detected. Starting incremental compilation... - -[12:01:12 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1200 -} - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] -"use strict"; -exports.__esModule = true; - - -//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.d.ts] -export interface A { - name: string; -} - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = { - lastName: 'sdsd' -}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] -export {}; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] -"use strict"; -exports.__esModule = true; -console.log("hi"); - - -//// [/user/username/projects/noEmitOnError/dev-build/src/other.d.ts] -export {}; - - - -Change:: Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = 10; - - -Output:: ->> Screen clear -[12:01:19 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:23 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"../src/main.ts","start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],4],"affectedFilesPendingEmit":[[3,1]]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - [ - "../src/main.ts", - [ - { - "file": "../src/main.ts", - "start": 46, - "length": 1, - "code": 2322, - "category": 1, - "messageText": "Type 'number' is not assignable to type 'string'." - } - ] - ], - "../src/other.ts" - ], - "affectedFilesPendingEmit": [ - [ - "../src/main.ts", - "Full" - ] - ] - }, - "version": "FakeTSVersion", - "size": 1363 -} - - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:30 AM] File change detected. Starting incremental compilation... - -src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. - -2 const a: string = 10; -   ~ - -[12:01:31 AM] Found 1 error. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - - -Change:: Fix Semantic Error - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] -import { A } from "../shared/types/db"; -const a: string = "hello"; - - -Output:: ->> Screen clear -[12:01:35 AM] File change detected. Starting incremental compilation... - -[12:01:45 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/noEmitOnError/src/main.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/noemitonerror/src/main.ts (computed .d.ts) - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"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},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":"-5014788164-export interface A {\n name: string;\n}\n"},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":"-3531856636-export {};\n"}],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} - -//// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ], - "fileNamesList": [ - [ - "../shared/types/db.ts" - ] - ], - "fileInfos": { - "../../../../../a/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; };", - "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 - }, - "../shared/types/db.ts": { - "version": "-9621097780-export interface A {\r\n name: string;\r\n}", - "signature": "-5014788164-export interface A {\n name: string;\n}\n" - }, - "../src/main.ts": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n" - }, - "../src/other.ts": { - "version": "11373096570-console.log(\"hi\");\r\nexport { }", - "signature": "-3531856636-export {};\n" - } - }, - "options": { - "declaration": true, - "noEmitOnError": true, - "outDir": "./" - }, - "referencedMap": { - "../src/main.ts": [ - "../shared/types/db.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../shared/types/db.ts", - "../src/main.ts", - "../src/other.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1191 -} - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] -"use strict"; -exports.__esModule = true; -var a = "hello"; - - -//// [/user/username/projects/noEmitOnError/dev-build/src/main.d.ts] file written with same contents - -Change:: No change - -Input:: -//// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents - -Output:: ->> Screen clear -[12:01:52 AM] File change detected. Starting incremental compilation... - -[12:01:53 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Completely -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts - -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: - -WatchedFiles:: -/user/username/projects/noemitonerror/tsconfig.json: - {"fileName":"/user/username/projects/noEmitOnError/tsconfig.json","pollingInterval":250} -/user/username/projects/noemitonerror/shared/types/db.ts: - {"fileName":"/user/username/projects/noEmitOnError/shared/types/db.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/main.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/main.ts","pollingInterval":250} -/user/username/projects/noemitonerror/src/other.ts: - {"fileName":"/user/username/projects/noEmitOnError/src/other.ts","pollingInterval":250} -/a/lib/lib.d.ts: - {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} - -FsWatches:: - -FsWatchesRecursive:: -/user/username/projects/noemitonerror/node_modules/@types: - {"directoryName":"/user/username/projects/noEmitOnError/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} -/user/username/projects/noemitonerror: - {"directoryName":"/user/username/projects/noemitonerror","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} - -exitCode:: ExitStatus.undefined - diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index ae960b54f62fa..430b92cfe1fbe 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js index 13f79b0d72f36..b7c98b950f987 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 53ebb855fc8d2..fb715a4461512 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js index 9f576d8cb82f3..d1d1cf5ed92c9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js index 3cc11bccabbb9..0562d36b928b0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index eac80ea725366..61e6fc3d5e357 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js similarity index 98% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index e611a650ee126..928b318d4f6e8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index ae50ce1ec816a..e2ae1d604a0f7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js index ab19e60075cee..7e08ca5e38f94 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js similarity index 99% rename from tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js rename to tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 65720509b7e27..4bacc1c6a60d1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --i +/a/lib/tsc.js --w --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... From 21a68062be8c0625f5e3579abf3cfb26868690ba Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 21 Apr 2022 10:16:19 -0700 Subject: [PATCH 51/64] More refactoring --- .../unittests/tscWatch/emitAndErrorUpdates.ts | 123 +++++++++--------- ...rrors-for-.d.ts-change-with-incremental.js | 12 +- .../errors-for-.d.ts-change.js | 12 +- .../errors-for-.ts-change-with-incremental.js | 12 +- .../errors-for-.ts-change.js | 12 +- ...el-import-that-changes-with-incremental.js | 12 +- ...g-a-deep-multilevel-import-that-changes.js | 12 +- .../export-with-incremental.js | 12 +- .../no-circular-import/export.js | 12 +- .../exports-with-incremental.js | 12 +- .../yes-circular-import/exports.js | 12 +- .../with-noEmitOnError-with-incremental.js | 24 ++-- .../with-noEmitOnError.js | 24 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 12 +- .../errors-for-.d.ts-change.js | 12 +- .../errors-for-.ts-change-with-incremental.js | 12 +- .../errors-for-.ts-change.js | 12 +- ...el-import-that-changes-with-incremental.js | 12 +- ...g-a-deep-multilevel-import-that-changes.js | 12 +- .../export-with-incremental.js | 12 +- .../no-circular-import/export.js | 12 +- .../exports-with-incremental.js | 12 +- .../yes-circular-import/exports.js | 12 +- .../with-noEmitOnError-with-incremental.js | 24 ++-- .../with-noEmitOnError.js | 24 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 12 +- .../errors-for-.d.ts-change.js | 12 +- .../errors-for-.ts-change-with-incremental.js | 12 +- .../errors-for-.ts-change.js | 12 +- ...el-import-that-changes-with-incremental.js | 12 +- ...g-a-deep-multilevel-import-that-changes.js | 12 +- .../export-with-incremental.js | 12 +- .../no-circular-import/export.js | 12 +- .../exports-with-incremental.js | 12 +- .../yes-circular-import/exports.js | 12 +- .../with-noEmitOnError-with-incremental.js | 24 ++-- .../defaultAndD/with-noEmitOnError.js | 24 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 12 +- .../errors-for-.d.ts-change.js | 12 +- .../errors-for-.ts-change-with-incremental.js | 12 +- .../errors-for-.ts-change.js | 12 +- ...el-import-that-changes-with-incremental.js | 12 +- ...g-a-deep-multilevel-import-that-changes.js | 12 +- .../export-with-incremental.js | 12 +- .../no-circular-import/export.js | 12 +- .../exports-with-incremental.js | 12 +- .../yes-circular-import/exports.js | 12 +- .../with-noEmitOnError-with-incremental.js | 24 ++-- .../isolatedModules/with-noEmitOnError.js | 24 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 12 +- .../errors-for-.d.ts-change.js | 12 +- .../errors-for-.ts-change-with-incremental.js | 12 +- .../errors-for-.ts-change.js | 12 +- ...el-import-that-changes-with-incremental.js | 12 +- ...g-a-deep-multilevel-import-that-changes.js | 12 +- .../export-with-incremental.js | 12 +- .../no-circular-import/export.js | 12 +- .../exports-with-incremental.js | 12 +- .../yes-circular-import/exports.js | 12 +- .../with-noEmitOnError-with-incremental.js | 24 ++-- .../isolatedModulesAndD/with-noEmitOnError.js | 24 ++-- 61 files changed, 514 insertions(+), 449 deletions(-) diff --git a/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts b/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts index 47e0fd184192c..789c1d85d9427 100644 --- a/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts +++ b/src/testRunner/unittests/tscWatch/emitAndErrorUpdates.ts @@ -4,80 +4,88 @@ namespace ts.tscWatch { path: `${projectRoot}/tsconfig.json`, content: `{}` }; - interface VerifyEmitAndErrorUpdatesWorker extends VerifyEmitAndErrorUpdates { - configFile: () => File; + interface VerifyEmitAndErrorUpdates { + subScenario: string + files: () => File[]; + currentDirectory?: string; + changes: TscWatchCompileChange[]; } - function verifyEmitAndErrorUpdatesWorker({ + function verifyEmitAndErrorUpdates({ subScenario, files, currentDirectory, - lib, - configFile, changes, - }: VerifyEmitAndErrorUpdatesWorker) { + }: VerifyEmitAndErrorUpdates) { verifyTscWatch({ scenario: "emitAndErrorUpdates", - subScenario, + subScenario: `default/${subScenario}`, commandLineArgs: ["--w"], sys: () => createWatchedSystem( - [...files(), configFile(), lib?.() || libFile], + files(), { currentDirectory: currentDirectory || projectRoot } ), changes, baselineIncremental: true }); - } - - function changeCompilerOptions(input: VerifyEmitAndErrorUpdates, additionalOptions: CompilerOptions): File { - const configFile = input.configFile?.() || config; - const content = JSON.parse(configFile.content); - content.compilerOptions = { ...content.compilerOptions, ...additionalOptions }; - return { path: configFile.path, content: JSON.stringify(content) }; - } - - interface VerifyEmitAndErrorUpdates { - subScenario: string - files: () => File[]; - currentDirectory?: string; - lib?: () => File; - changes: TscWatchCompileChange[]; - configFile?: () => File; - } - function verifyEmitAndErrorUpdates(input: VerifyEmitAndErrorUpdates) { - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `default/${input.subScenario}`, - configFile: () => input.configFile?.() || config - }); - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `defaultAndD/${input.subScenario}`, - configFile: () => changeCompilerOptions(input, { declaration: true }) + verifyTscWatch({ + scenario: "emitAndErrorUpdates", + subScenario: `defaultAndD/${subScenario}`, + commandLineArgs: ["--w", "--d"], + sys: () => createWatchedSystem( + files(), + { currentDirectory: currentDirectory || projectRoot } + ), + changes, + baselineIncremental: true }); - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `isolatedModules/${input.subScenario}`, - configFile: () => changeCompilerOptions(input, { isolatedModules: true }) + verifyTscWatch({ + scenario: "emitAndErrorUpdates", + subScenario: `isolatedModules/${subScenario}`, + commandLineArgs: ["--w", "--isolatedModules"], + sys: () => createWatchedSystem( + files(), + { currentDirectory: currentDirectory || projectRoot } + ), + changes, + baselineIncremental: true }); - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `isolatedModulesAndD/${input.subScenario}`, - configFile: () => changeCompilerOptions(input, { isolatedModules: true, declaration: true }) + verifyTscWatch({ + scenario: "emitAndErrorUpdates", + subScenario: `isolatedModulesAndD/${subScenario}`, + commandLineArgs: ["--w", "--isolatedModules", "--d"], + sys: () => createWatchedSystem( + files(), + { currentDirectory: currentDirectory || projectRoot } + ), + changes, + baselineIncremental: true }); - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `assumeChangesOnlyAffectDirectDependencies/${input.subScenario}`, - configFile: () => changeCompilerOptions(input, { assumeChangesOnlyAffectDirectDependencies: true }) + verifyTscWatch({ + scenario: "emitAndErrorUpdates", + subScenario: `assumeChangesOnlyAffectDirectDependencies/${subScenario}`, + commandLineArgs: ["--w", "--assumeChangesOnlyAffectDirectDependencies"], + sys: () => createWatchedSystem( + files(), + { currentDirectory: currentDirectory || projectRoot } + ), + changes, + baselineIncremental: true }); - verifyEmitAndErrorUpdatesWorker({ - ...input, - subScenario: `assumeChangesOnlyAffectDirectDependenciesAndD/${input.subScenario}`, - configFile: () => changeCompilerOptions(input, { assumeChangesOnlyAffectDirectDependencies: true, declaration: true }) + verifyTscWatch({ + scenario: "emitAndErrorUpdates", + subScenario: `assumeChangesOnlyAffectDirectDependenciesAndD/${subScenario}`, + commandLineArgs: ["--w", "--assumeChangesOnlyAffectDirectDependencies", "--d"], + sys: () => createWatchedSystem( + files(), + { currentDirectory: currentDirectory || projectRoot } + ), + changes, + baselineIncremental: true }); } @@ -93,7 +101,7 @@ console.log(b.c.d);` function verifyDeepImportChange(subScenario: string, bFile: File, cFile: File) { verifyEmitAndErrorUpdates({ subScenario: `deepImportChanges/${subScenario}`, - files: () => [aFile, bFile, cFile], + files: () => [aFile, bFile, cFile, config, libFile], changes: [ { caption: "Rename property d to d2 of class C to initialize signatures", @@ -201,7 +209,7 @@ getPoint().c.x;` }; verifyEmitAndErrorUpdates({ subScenario: "file not exporting a deep multilevel import that changes", - files: () => [aFile, bFile, cFile, dFile, eFile], + files: () => [aFile, bFile, cFile, dFile, eFile, config, libFile], changes: [ { caption: "Rename property x2 to x of interface Coords to initialize signatures", @@ -272,8 +280,7 @@ export class Data { function verifyTransitiveExports(subScenario: string, files: readonly File[]) { verifyEmitAndErrorUpdates({ subScenario: `transitive exports/${subScenario}`, - files: () => [lib1ToolsInterface, lib1ToolsPublic, app, lib2Public, lib1Public, ...files], - configFile: () => config, + files: () => [lib1ToolsInterface, lib1ToolsPublic, app, lib2Public, lib1Public, ...files, config, libFile], changes: [ { caption: "Rename property title to title2 of interface ITest to initialize signatures", @@ -344,10 +351,8 @@ export class Data2 { verifyEmitAndErrorUpdates({ subScenario: "with noEmitOnError", currentDirectory: `${TestFSWithWatch.tsbuildProjectsLocation}/noEmitOnError`, - files: () => ["shared/types/db.ts", "src/main.ts", "src/other.ts"] - .map(f => TestFSWithWatch.getTsBuildProjectFile("noEmitOnError", f)), - lib: () => ({ path: libFile.path, content: libContent }), - configFile: () => TestFSWithWatch.getTsBuildProjectFile("noEmitOnError", "tsconfig.json"), + files: () => ["shared/types/db.ts", "src/main.ts", "src/other.ts", "tsconfig.json"] + .map(f => TestFSWithWatch.getTsBuildProjectFile("noEmitOnError", f)).concat({ path: libFile.path, content: libContent }), changes: [ noChange, change("Fix Syntax error", `import { A } from "../shared/types/db"; diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index c5130b5495049..6a041b65e6641 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -186,7 +186,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -315,7 +315,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -444,7 +444,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 4ad08307699cb..a57c638113775 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -117,7 +117,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -177,7 +177,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -237,7 +237,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js index 33b4582b2ccbd..23c11406eb649 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -216,7 +216,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -374,7 +374,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -529,7 +529,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index e5af13740a6c7..bbb192686dd8c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -147,7 +147,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -227,7 +227,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -304,7 +304,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 4c6c77b11add7..932b543aa7c77 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -336,7 +336,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -511,7 +511,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -677,7 +677,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 2e4300b3b2939..c111b5acd9ca7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -192,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -271,7 +271,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -341,7 +341,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js index 1a48bdea04321..fc31d2e4fd3d0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -350,7 +350,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -568,7 +568,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -774,7 +774,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 668de3197073d..04176b96f835d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -236,7 +236,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -320,7 +320,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -392,7 +392,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js index 6caa1b9794982..7621b48620ed9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -388,7 +388,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -627,7 +627,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -851,7 +851,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index c6e0b42637201..f3ac1ca8c312c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -259,7 +259,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -349,7 +349,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -424,7 +424,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index 10cfb6a2a9db9..66361bdfd7352 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --incremental Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -186,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -240,7 +246,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -376,7 +382,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -508,7 +514,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -560,7 +566,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -675,7 +681,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 4aff6d522fa99..afae34719afe4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -110,7 +116,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -164,7 +170,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -242,7 +248,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -298,7 +304,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -350,7 +356,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -407,7 +413,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index b63adfd0c4251..886291524d1ec 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -188,7 +188,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -315,7 +315,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -442,7 +442,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 3bfc8798173ab..de7c8b26d4857 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -121,7 +121,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -181,7 +181,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -241,7 +241,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 6adfdb6568798..d09f4a30aac7e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -226,7 +226,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -372,7 +372,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -518,7 +518,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 1b5b6508729ef..8f520833999d9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -159,7 +159,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -238,7 +238,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -317,7 +317,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 745c0c77cc237..1c584b2192318 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -380,7 +380,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -620,7 +620,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -860,7 +860,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 261571ca33d61..70d7947893d28 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -238,7 +238,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -336,7 +336,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -434,7 +434,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js index af4f4a181641e..2676fda0435fb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -373,7 +373,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -558,7 +558,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -743,7 +743,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 3606da8908821..58f180292c40d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -261,7 +261,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -334,7 +334,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -407,7 +407,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 3016171b46f88..4510654e988ce 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -420,7 +420,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -623,7 +623,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -826,7 +826,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index 1b1c6a5f0fadf..4fd5806186f86 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -293,7 +293,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -369,7 +369,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -445,7 +445,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index ba89be276eac7..177b83e4e69c0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d --incremental Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -187,7 +193,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -241,7 +247,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -392,7 +398,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -525,7 +531,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -577,7 +583,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -694,7 +700,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index a858fd1aff63c..90deabe3f64c0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w +/a/lib/tsc.js --w --assumeChangesOnlyAffectDirectDependencies --d Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -110,7 +116,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -164,7 +170,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -256,7 +262,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -312,7 +318,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -364,7 +370,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -422,7 +428,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 227bc8f09ae57..684dea28408be 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -192,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -333,7 +333,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -467,7 +467,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 881bb3fb80725..17e3233cb3527 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -126,7 +126,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -189,7 +189,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -257,7 +257,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index fdff50ba6e389..d858507e5ef04 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -230,7 +230,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -390,7 +390,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -543,7 +543,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 461b77f5037bb..08dcbf13f7a6f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -164,7 +164,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -246,7 +246,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -333,7 +333,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 15c66918eba57..a58b4eb17bc67 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -363,7 +363,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -563,7 +563,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -792,7 +792,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 80810ab0ec43a..9e99b43aad01d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -222,7 +222,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -326,7 +326,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -414,7 +414,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js index 644a417b671c0..4104139fe57f6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -378,7 +378,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -597,7 +597,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -799,7 +799,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 3daa1e66f2f5d..2190b02d47ac2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -267,7 +267,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -352,7 +352,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -443,7 +443,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 67721632cff47..9cdda3984c24f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -425,7 +425,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -665,7 +665,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -888,7 +888,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index d90b5e2271ced..593c9617e0e37 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -299,7 +299,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -390,7 +390,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -487,7 +487,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index a7e1626c8dc86..94324f6c44189 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --d --incremental Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -186,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -240,7 +246,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -390,7 +396,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -522,7 +528,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -574,7 +580,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -690,7 +696,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js index efbd1eccf804c..a4bf06db84972 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w +/a/lib/tsc.js --w --d Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -110,7 +116,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -164,7 +170,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -256,7 +262,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -312,7 +318,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -364,7 +370,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -422,7 +428,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 430b92cfe1fbe..ff4344bb84cea 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -188,7 +188,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -328,7 +328,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -461,7 +461,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index f82cb18acc206..8c8209e471803 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -122,7 +122,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -184,7 +184,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -251,7 +251,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js index b7c98b950f987..679bce8fe693a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -213,7 +213,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -364,7 +364,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -508,7 +508,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 187c852e65829..d4790480af7a1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -147,7 +147,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -220,7 +220,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -298,7 +298,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index fb715a4461512..01fdad94c7444 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -333,7 +333,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -520,7 +520,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -736,7 +736,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index bdf52477a2dec..56330519ee98e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -192,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -283,7 +283,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -358,7 +358,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js index d1d1cf5ed92c9..473b5515ee220 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -347,7 +347,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -554,7 +554,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -744,7 +744,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js index 666c696b59ce8..d65fbda9b5e06 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -236,7 +236,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -309,7 +309,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -388,7 +388,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js index 0562d36b928b0..99330151b9552 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -385,7 +385,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -612,7 +612,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -822,7 +822,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js index 64a6121a827be..4cf0f78421872 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -259,7 +259,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -337,7 +337,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -421,7 +421,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js index b6855669b1717..a36e2b150a391 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --incremental Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -185,7 +191,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -239,7 +245,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -374,7 +380,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -505,7 +511,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -557,7 +563,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -671,7 +677,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js index eeeb35625e47a..834b57c40c7c0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -110,7 +116,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -164,7 +170,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -242,7 +248,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -298,7 +304,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -350,7 +356,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -407,7 +413,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 61e6fc3d5e357..678e7c8ae2899 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -192,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -333,7 +333,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -467,7 +467,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 07ddff950d931..cda16a2b1cb0c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -126,7 +126,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -189,7 +189,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -257,7 +257,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 928b318d4f6e8..5d12e56fc0a61 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -230,7 +230,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -389,7 +389,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -541,7 +541,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index 68a41566c5e8d..dbc72826363be 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -19,7 +19,7 @@ export class C } //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -35,7 +35,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... @@ -45,7 +45,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -164,7 +164,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -245,7 +245,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -331,7 +331,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index e2ae1d604a0f7..d40607def4347 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -363,7 +363,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -565,7 +565,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -796,7 +796,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 54fdd1b5eba79..4a8ad69b79fdc 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -34,7 +34,7 @@ getPoint().c.x; import "./d"; //// [/user/username/projects/myproject/tsconfig.json] -{"compilerOptions":{"isolatedModules":true,"declaration":true}} +{} //// [/a/lib/lib.d.ts] /// @@ -50,7 +50,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... @@ -76,7 +76,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -222,7 +222,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -328,7 +328,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -418,7 +418,7 @@ Output:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] -Program options: {"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js index 7e08ca5e38f94..959c28f91bec6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -378,7 +378,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -596,7 +596,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -797,7 +797,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 91452c7142d6f..5a586c008f24e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -33,7 +33,7 @@ export class Data { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -49,7 +49,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... @@ -59,7 +59,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -267,7 +267,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -351,7 +351,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -441,7 +441,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 4bacc1c6a60d1..78e3d0aaaba8a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -425,7 +425,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -664,7 +664,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -886,7 +886,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index 058f6fe2036ea..61e6ec49af81d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -39,7 +39,7 @@ export class Data2 { } //// [/user/username/projects/myproject/tsconfig.json] -{"files":["app.ts"],"compilerOptions":{"baseUrl":".","isolatedModules":true,"declaration":true}} +{"files":["app.ts"],"compilerOptions":{"baseUrl":"."}} //// [/a/lib/lib.d.ts] /// @@ -55,7 +55,7 @@ interface String { charAt: any; } interface Array { length: number; [n: number]: T; } -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:39 AM] Starting compilation in watch mode... @@ -65,7 +65,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -299,7 +299,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -389,7 +389,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -485,7 +485,7 @@ Output:: Program root files: ["/user/username/projects/myproject/app.ts"] -Program options: {"baseUrl":"/user/username/projects/myproject","isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program options: {"baseUrl":"/user/username/projects/myproject","watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 83a5707d25137..d7d541fba1caf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w --incremental +/a/lib/tsc.js --w --isolatedModules --d --incremental Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -186,7 +192,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -240,7 +246,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -390,7 +396,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -522,7 +528,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -574,7 +580,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -690,7 +696,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js index e95bfc9ace12c..fbbd014cad500 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js @@ -15,7 +15,13 @@ console.log("hi"); export { } //// [/user/username/projects/noEmitOnError/tsconfig.json] -{"compilerOptions":{"outDir":"./dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true}} +{ + "compilerOptions": { + "outDir": "./dev-build", + "noEmitOnError": true + } +} + //// [/a/lib/lib.d.ts] /// @@ -33,7 +39,7 @@ interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -/a/lib/tsc.js --w +/a/lib/tsc.js --w --isolatedModules --d Output:: >> Screen clear [12:00:31 AM] Starting compilation in watch mode... @@ -48,7 +54,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Not Program files:: /a/lib/lib.d.ts @@ -110,7 +116,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -164,7 +170,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -256,7 +262,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -312,7 +318,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -364,7 +370,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts @@ -422,7 +428,7 @@ Output:: Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"isolatedModules":true,"declaration":true,"watch":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} +Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"isolatedModules":true,"declaration":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} Program structureReused: Completely Program files:: /a/lib/lib.d.ts From b32d2ebad2d7807eeae369c3b315c1158cfae9c9 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 21 Apr 2022 15:56:54 -0700 Subject: [PATCH 52/64] Only copy emit state fields when backing up to restore if emit fails --- src/compiler/builder.ts | 95 +++++++++++-------- src/compiler/builderPublic.ts | 4 +- src/compiler/builderState.ts | 16 ---- src/compiler/tsbuildPublic.ts | 4 +- .../when-file-with-no-error-changes.js | 2 +- ...ixing-error-files-all-files-are-emitted.js | 2 +- 6 files changed, 60 insertions(+), 63 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 34b308440dd8c..1025be5cc8603 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -142,6 +142,18 @@ namespace ts { filesChangingSignature?: Set; } + type BackupEmitState = Pick & { changedFilesSet: BuilderProgramState["changedFilesSet"] | undefined }; + function hasSameKeys(map1: ReadonlyCollection | undefined, map2: ReadonlyCollection | undefined): boolean { // Has same size and every key is present in both maps return map1 === map2 || map1 !== undefined && map2 !== undefined && map1.size === map2.size && !forEachKey(map1, key => !map2.has(key)); @@ -296,34 +308,35 @@ namespace ts { state.program = undefined; } - /** - * Creates a clone of the state - */ - function cloneBuilderProgramState(state: Readonly): BuilderProgramState { - const newState = BuilderState.clone(state) as BuilderProgramState; - newState.semanticDiagnosticsPerFile = state.semanticDiagnosticsPerFile && new Map(state.semanticDiagnosticsPerFile); - newState.changedFilesSet = new Set(state.changedFilesSet); - newState.affectedFiles = state.affectedFiles; - newState.affectedFilesIndex = state.affectedFilesIndex; - newState.currentChangedFilePath = state.currentChangedFilePath; - newState.currentAffectedFilesSignatures = state.currentAffectedFilesSignatures && new Map(state.currentAffectedFilesSignatures); - newState.currentAffectedFilesExportedModulesMap = state.currentAffectedFilesExportedModulesMap?.clone(); - newState.seenAffectedFiles = state.seenAffectedFiles && new Set(state.seenAffectedFiles); - newState.cleanedDiagnosticsOfLibFiles = state.cleanedDiagnosticsOfLibFiles; - newState.semanticDiagnosticsFromOldState = state.semanticDiagnosticsFromOldState && new Set(state.semanticDiagnosticsFromOldState); - newState.program = state.program; - newState.compilerOptions = state.compilerOptions; - newState.affectedFilesPendingEmit = state.affectedFilesPendingEmit && state.affectedFilesPendingEmit.slice(); - newState.affectedFilesPendingEmitKind = state.affectedFilesPendingEmitKind && new Map(state.affectedFilesPendingEmitKind); - newState.affectedFilesPendingEmitIndex = state.affectedFilesPendingEmitIndex; - newState.seenEmittedFiles = state.seenEmittedFiles && new Map(state.seenEmittedFiles); - newState.programEmitComplete = state.programEmitComplete; - newState.filesChangingSignature = state.filesChangingSignature && new Set(state.filesChangingSignature); - newState.emitSignatures = state.emitSignatures && new Map(state.emitSignatures); - newState.outSignature = state.outSignature; - newState.dtsChangeTime = state.dtsChangeTime; - newState.hasChangedEmitSignature = state.hasChangedEmitSignature; - return newState; + function backupEmitBuilderProgramState(state: Readonly): BackupEmitState { + const outFilePath = outFile(state.compilerOptions); + // Only in --out changeFileSet is kept around till emit + Debug.assert(!state.changedFilesSet.size || outFilePath); + return { + affectedFilesPendingEmit: state.affectedFilesPendingEmit && state.affectedFilesPendingEmit.slice(), + affectedFilesPendingEmitKind: state.affectedFilesPendingEmitKind && new Map(state.affectedFilesPendingEmitKind), + affectedFilesPendingEmitIndex: state.affectedFilesPendingEmitIndex, + seenEmittedFiles: state.seenEmittedFiles && new Map(state.seenEmittedFiles), + programEmitComplete: state.programEmitComplete, + emitSignatures: state.emitSignatures && new Map(state.emitSignatures), + outSignature: state.outSignature, + dtsChangeTime: state.dtsChangeTime, + hasChangedEmitSignature: state.hasChangedEmitSignature, + changedFilesSet: outFilePath ? new Set(state.changedFilesSet) : undefined, + }; + } + + function restoreEmitBuilderProgramState(state: BuilderProgramState, backupEmitState: BackupEmitState) { + state.affectedFilesPendingEmit = backupEmitState.affectedFilesPendingEmit; + state.affectedFilesPendingEmitKind = backupEmitState.affectedFilesPendingEmitKind; + state.affectedFilesPendingEmitIndex = backupEmitState.affectedFilesPendingEmitIndex; + state.seenEmittedFiles = backupEmitState.seenEmittedFiles; + state.programEmitComplete = backupEmitState.programEmitComplete; + state.emitSignatures = backupEmitState.emitSignatures; + state.outSignature = backupEmitState.outSignature; + state.dtsChangeTime = backupEmitState.dtsChangeTime; + state.hasChangedEmitSignature = backupEmitState.hasChangedEmitSignature; + if (backupEmitState.changedFilesSet) state.changedFilesSet = backupEmitState.changedFilesSet; } /** @@ -1090,8 +1103,8 @@ namespace ts { * Computing hash to for signature verification */ const computeHash = maybeBind(host, host.createHash); - let state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature); - let backupState: BuilderProgramState | undefined; + const state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature); + let backupEmitState: BackupEmitState | undefined; newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName, host); // To ensure that we arent storing any references to old program or new program without state @@ -1102,20 +1115,20 @@ namespace ts { const getState = () => state; const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics); builderProgram.getState = getState; - builderProgram.backupState = () => { - Debug.assert(backupState === undefined); - backupState = cloneBuilderProgramState(state); + builderProgram.backupEmitState = () => { + Debug.assert(backupEmitState === undefined); + backupEmitState = backupEmitBuilderProgramState(state); }; - builderProgram.restoreState = () => { - state = Debug.checkDefined(backupState); - backupState = undefined; + builderProgram.restoreEmitState = () => { + restoreEmitBuilderProgramState(state, Debug.checkDefined(backupEmitState)); + backupEmitState = undefined; }; builderProgram.getAllDependencies = sourceFile => BuilderState.getAllDependencies(state, Debug.checkDefined(state.program), sourceFile); builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; builderProgram.emit = emit; builderProgram.releaseProgram = () => { releaseCache(state); - backupState = undefined; + backupEmitState = undefined; }; if (kind === BuilderProgramKind.SemanticDiagnosticsBuilderProgram) { @@ -1451,8 +1464,8 @@ namespace ts { }; return { getState: () => state, - backupState: noop, - restoreState: noop, + backupEmitState: noop, + restoreEmitState: noop, getProgram: notImplemented, getProgramOrUndefined: returnUndefined, releaseProgram: noop, @@ -1506,8 +1519,8 @@ namespace ts { export function createRedirectedBuilderProgram(getState: () => { program?: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: readonly Diagnostic[]): BuilderProgram { return { getState: notImplemented, - backupState: noop, - restoreState: noop, + backupEmitState: noop, + restoreEmitState: noop, getProgram, getProgramOrUndefined: () => getState().program, releaseProgram: () => getState().program = undefined, diff --git a/src/compiler/builderPublic.ts b/src/compiler/builderPublic.ts index 23d07864ecf49..99ca24ebeffaa 100644 --- a/src/compiler/builderPublic.ts +++ b/src/compiler/builderPublic.ts @@ -39,9 +39,9 @@ namespace ts { /*@internal*/ getState(): ReusableBuilderProgramState; /*@internal*/ - backupState(): void; + backupEmitState(): void; /*@internal*/ - restoreState(): void; + restoreEmitState(): void; /** * Returns current program */ diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 99f190564e2ba..cf748525657fa 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -61,7 +61,6 @@ namespace ts { } export interface ReadonlyManyToManyPathMap { - clone(): ManyToManyPathMap; forEach(action: (v: ReadonlySet, k: Path) => void): void; getKeys(v: Path): ReadonlySet | undefined; getValues(k: Path): ReadonlySet | undefined; @@ -85,7 +84,6 @@ namespace ts { export function createManyToManyPathMap(): ManyToManyPathMap { function create(forward: ESMap>, reverse: ESMap>, deleted: Set | undefined): ManyToManyPathMap { const map: ManyToManyPathMap = { - clone: () => create(new Map(forward), new Map(reverse), deleted && new Set(deleted)), forEach: fn => forward.forEach(fn), getKeys: v => reverse.get(v), getValues: k => forward.get(k), @@ -324,20 +322,6 @@ namespace ts { state.allFileNames = undefined; } - /** - * Creates a clone of the state - */ - export function clone(state: Readonly): BuilderState { - // Dont need to backup allFiles info since its cache anyway - return { - fileInfos: new Map(state.fileInfos), - referencedMap: state.referencedMap?.clone(), - exportedModulesMap: state.exportedModulesMap?.clone(), - hasCalledUpdateShapeSignature: state.hasCalledUpdateShapeSignature && new Set(state.hasCalledUpdateShapeSignature), - useFileVersionAsSignature: state.useFileVersionAsSignature, - }; - } - /** * Gets the files affected by the path from the program */ diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 66eaa4fa0494e..18e05baff6427 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -948,7 +948,7 @@ namespace ts { Debug.assertIsDefined(program); Debug.assert(step === BuildStep.Emit); // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly - program.backupState(); + program.backupEmitState(); let declDiagnostics: Diagnostic[] | undefined; const reportDeclarationDiagnostics = (d: Diagnostic) => (declDiagnostics || (declDiagnostics = [])).push(d); const outputFiles: OutputFile[] = []; @@ -964,7 +964,7 @@ namespace ts { ); // Don't emit .d.ts if there are decl file errors if (declDiagnostics) { - program.restoreState(); + program.restoreEmitState(); ({ buildResult, step } = buildErrors( state, projectPath, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index e1700804c77fc..d66c9e1c3153a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -55,7 +55,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 83be14415cabb..4da78d4df1fd7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -55,7 +55,7 @@ Semantic diagnostics in builder refreshed for:: Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) /user/username/projects/solution/app/filewitherror.ts (used version) -/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts) +/user/username/projects/solution/app/filewithouterror.ts (computed .d.ts during emit) WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: From 303824eee922dd1e801ba0bec1fa09f07a0e936e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 26 Apr 2022 14:51:58 -0700 Subject: [PATCH 53/64] Instead of maintaining delta of changes, maintain old state for those changes --- src/compiler/builder.ts | 132 ++--- src/compiler/builderState.ts | 123 ++--- src/testRunner/tsconfig.json | 1 + .../unittests/tsc/cancellationToken.ts | 169 ++++++ src/testRunner/unittests/tscWatch/helpers.ts | 2 +- .../when-emitting-buildInfo.js | 506 ++++++++++++++++++ .../tsc/cancellationToken/when-using-state.js | 506 ++++++++++++++++++ 7 files changed, 1267 insertions(+), 172 deletions(-) create mode 100644 src/testRunner/unittests/tsc/cancellationToken.ts create mode 100644 tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js create mode 100644 tests/baselines/reference/tsc/cancellationToken/when-using-state.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 1025be5cc8603..f5b3ffc37ef05 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -29,27 +29,6 @@ namespace ts { * The map has key by source file's path that has been changed */ changedFilesSet?: Set; - /** - * Set of affected files being iterated - */ - affectedFiles?: readonly SourceFile[] | undefined; - /** - * Current changed file for iterating over affected files - */ - currentChangedFilePath?: Path | undefined; - /** - * Map of file signatures, with key being file path, calculated while getting current changed file's affected files - * These will be committed whenever the iteration through affected files of current changed file is complete - */ - currentAffectedFilesSignatures?: ESMap | undefined; - /** - * Newly computed visible to outside referencedSet - */ - currentAffectedFilesExportedModulesMap?: BuilderState.ManyToManyPathMap | undefined; - /** - * True if the semantic diagnostics were copied from the old state - */ - semanticDiagnosticsFromOldState?: Set; /** * program corresponding to this state */ @@ -106,10 +85,18 @@ namespace ts { * The map has key by source file's path that has been changed */ changedFilesSet: Set; + /** + * Set of affected files being iterated + */ + affectedFiles?: readonly SourceFile[] | undefined; /** * Current index to retrieve affected file from */ affectedFilesIndex: number | undefined; + /** + * Current changed file for iterating over affected files + */ + currentChangedFilePath?: Path | undefined; /** * Already seen affected files */ @@ -118,6 +105,10 @@ namespace ts { * whether this program has cleaned semantic diagnostics cache for lib files */ cleanedDiagnosticsOfLibFiles?: boolean; + /** + * True if the semantic diagnostics were copied from the old state + */ + semanticDiagnosticsFromOldState?: Set; /** * Records if change in dts emit was detected */ @@ -187,18 +178,8 @@ namespace ts { !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldCompilerOptions!); if (useOldState) { - // Verify the sanity of old state - if (!oldState!.currentChangedFilePath) { - const affectedSignatures = oldState!.currentAffectedFilesSignatures; - Debug.assert(!oldState!.affectedFiles && (!affectedSignatures || !affectedSignatures.size), "Cannot reuse if only few affected files of currentChangedFile were iterated"); - } - const changedFilesSet = oldState!.changedFilesSet; - if (canCopySemanticDiagnostics) { - Debug.assert(!changedFilesSet?.size || !forEachKey(changedFilesSet, path => oldState!.semanticDiagnosticsPerFile!.has(path)), "Semantic diagnostics shouldnt be available for changed files"); - } - // Copy old state's changed files set - changedFilesSet?.forEach(value => state.changedFilesSet.add(value)); + oldState!.changedFilesSet?.forEach(value => state.changedFilesSet.add(value)); if (!outFilePath && oldState!.affectedFilesPendingEmit) { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); @@ -373,10 +354,8 @@ namespace ts { state.changedFilesSet.delete(state.currentChangedFilePath!); state.currentChangedFilePath = undefined; // Commit the changes in file signature - BuilderState.updateSignaturesFromCache(state, state.currentAffectedFilesSignatures!); - state.currentAffectedFilesSignatures!.clear(); - BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); - state.currentAffectedFilesExportedModulesMap?.clear(); + state.oldSignatures?.clear(); + state.oldExportedModulesMap?.clear(); state.affectedFiles = undefined; } @@ -397,11 +376,7 @@ namespace ts { } // Get next batch of affected files - if (!state.currentAffectedFilesSignatures) state.currentAffectedFilesSignatures = new Map(); - if (state.exportedModulesMap) { - state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap(); - } - state.affectedFiles = BuilderState.getFilesAffectedBy(state, program, nextKey.value, cancellationToken, computeHash, state.currentAffectedFilesSignatures, state.currentAffectedFilesExportedModulesMap); + state.affectedFiles = BuilderState.getFilesAffectedByWithOldState(state, program, nextKey.value, cancellationToken, computeHash); state.currentChangedFilePath = nextKey.value; state.affectedFilesIndex = 0; if (!state.seenAffectedFiles) state.seenAffectedFiles = new Set(); @@ -474,14 +449,11 @@ namespace ts { state, Debug.checkDefined(state.program), affectedFile, - Debug.checkDefined(state.currentAffectedFilesSignatures), cancellationToken, computeHash, - state.currentAffectedFilesExportedModulesMap ); return; } - Debug.assert(state.hasCalledUpdateShapeSignature?.has(affectedFile.resolvedPath) || state.currentAffectedFilesSignatures?.has(affectedFile.resolvedPath), `Signature not updated for affected file: ${affectedFile.fileName}`); if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) return; handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, computeHash, host); } @@ -512,10 +484,8 @@ namespace ts { state, program, sourceFile, - Debug.checkDefined(state.currentAffectedFilesSignatures), cancellationToken, computeHash, - state.currentAffectedFilesExportedModulesMap, !host.disableUseFileVersionAsSignature ); // If not dts emit, nothing more to do @@ -540,32 +510,11 @@ namespace ts { } function isChangedSignature(state: BuilderProgramState, path: Path) { - const newSignature = Debug.checkDefined(state.currentAffectedFilesSignatures).get(path); - const oldSignature = Debug.checkDefined(state.fileInfos.get(path)).signature; + const oldSignature = Debug.checkDefined(state.oldSignatures).get(path) || undefined; + const newSignature = Debug.checkDefined(state.fileInfos.get(path)).signature; return newSignature !== oldSignature; } - function forEachKeyOfExportedModulesMap( - state: BuilderProgramState, - filePath: Path, - fn: (exportedFromPath: Path) => T | undefined, - ): T | undefined { - // Go through exported modules from cache first - let keys = state.currentAffectedFilesExportedModulesMap!.getKeys(filePath); - const result = keys && forEachKey(keys, fn); - if (result) return result; - - // If exported from path is not from cache and exported modules has path, all files referencing file exported from are affected - keys = state.exportedModulesMap!.getKeys(filePath); - return keys && forEachKey(keys, exportedFromPath => - // If the cache had an updated value, skip - !state.currentAffectedFilesExportedModulesMap!.hasKey(exportedFromPath) && - !state.currentAffectedFilesExportedModulesMap!.deletedKeys()?.has(exportedFromPath) ? - fn(exportedFromPath) : - undefined - ); - } - function handleDtsMayChangeOfGlobalScope( state: BuilderProgramState, filePath: Path, @@ -622,11 +571,10 @@ namespace ts { } } - Debug.assert(!!state.currentAffectedFilesExportedModulesMap); const seenFileAndExportsOfFile = new Set(); // Go through exported modules from cache first // If exported modules has path, all files referencing file exported from are affected - forEachKeyOfExportedModulesMap(state, affectedFile.resolvedPath, exportedFromPath => { + state.exportedModulesMap.getKeys(affectedFile.resolvedPath)?.forEach(exportedFromPath => { if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, cancellationToken, computeHash, host)) return true; const references = state.referencedMap!.getKeys(exportedFromPath); return references && forEachKey(references, filePath => @@ -658,10 +606,9 @@ namespace ts { if (handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, computeHash, host)) return true; handleDtsMayChangeOf(state, filePath, cancellationToken, computeHash, host); - Debug.assert(!!state.currentAffectedFilesExportedModulesMap); // If exported modules has path, all files referencing file exported from are affected - forEachKeyOfExportedModulesMap(state, filePath, exportedFromPath => + state.exportedModulesMap!.getKeys(filePath)?.forEach(exportedFromPath => handleDtsMayChangeOfFileAndExportsOfFile( state, exportedFromPath, @@ -849,8 +796,8 @@ namespace ts { // Ensure fileId const fileId = toFileId(key); Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); - const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key); - const actualSignature = signature ?? value.signature; + const oldSignature = state.oldSignatures?.get(key); + const actualSignature = oldSignature !== undefined ? oldSignature || undefined : value.signature; if (state.compilerOptions.composite) { const file = state.program!.getSourceFileByPath(key)!; if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { @@ -867,11 +814,11 @@ namespace ts { // If file info only contains version and signature and both are same we can just write string value.version : actualSignature !== undefined ? // If signature is not same as version, encode signature in the fileInfo - signature === undefined ? + oldSignature === undefined ? // If we havent computed signature, use fileInfo as is value : // Serialize fileInfo with new updated signature - { version: value.version, signature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : + { version: value.version, signature: actualSignature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : // Signature of the FileInfo is undefined, serialize it as false { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat }; }); @@ -887,19 +834,11 @@ namespace ts { let exportedModulesMap: ProgramBuildInfoReferencedMap | undefined; if (state.exportedModulesMap) { exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), key => { - if (state.currentAffectedFilesExportedModulesMap) { - if (state.currentAffectedFilesExportedModulesMap.deletedKeys()?.has(key)) { - return undefined; - } - - const newValue = state.currentAffectedFilesExportedModulesMap.getValues(key); - if (newValue) { - return [toFileId(key), toFileIdListId(newValue)]; - } - } - + const oldValue = state.oldExportedModulesMap?.get(key); // Not in temporary cache, use existing value - return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; + if (oldValue === undefined) return [toFileId(key), toFileIdListId(state.exportedModulesMap!.getValues(key)!)]; + if (oldValue) return [toFileId(key), toFileIdListId(oldValue)]; + return undefined; }); } @@ -1221,18 +1160,21 @@ namespace ts { if (!customTransformers) { const file = sourceFiles[0]; const info = state.fileInfos.get(file.resolvedPath)!; - const signature = state.currentAffectedFilesSignatures?.get(file.resolvedPath) || info.signature; - if (signature === file.version) { + if (info.signature === file.version) { newSignature = computeSignature(text, data, computeHash); if (newSignature !== file.version) { // Update it if (host.storeFilesChangingSignatureDuringEmit) (state.filesChangingSignature ||= new Set()).add(file.resolvedPath); - if (state.exportedModulesMap) BuilderState.updateExportedModules(file, file.exportedModulesFromDeclarationEmit, state.currentAffectedFilesExportedModulesMap ||= BuilderState.createManyToManyPathMap()); - if (state.affectedFiles && state.affectedFilesIndex! < state.affectedFiles.length) { - state.currentAffectedFilesSignatures!.set(file.resolvedPath, newSignature); + if (state.exportedModulesMap) BuilderState.updateExportedModules(state, file, file.exportedModulesFromDeclarationEmit); + if (state.affectedFiles) { + // Keep old signature so we know what to undo if cancellation happens + const existing = state.oldSignatures?.get(file.resolvedPath); + if (existing === undefined) (state.oldSignatures ||= new Map()).set(file.resolvedPath, info.signature || false); + info.signature = newSignature; } else { + // These are directly commited info.signature = newSignature; - if (state.exportedModulesMap) BuilderState.updateExportedFilesMapFromCache(state, state.currentAffectedFilesExportedModulesMap); + state.oldExportedModulesMap?.clear(); } } } diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index cf748525657fa..40504c501d518 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -40,6 +40,14 @@ namespace ts { * no change in their signature for this version of the program */ hasCalledUpdateShapeSignature?: Set; + /** + * Stores signatures before before the update till affected file is commited + */ + oldSignatures?: ESMap; + /** + * Stores exportedModulesMap before the update till affected file is commited + */ + oldExportedModulesMap?: ESMap | false>; /** * Cache of all files excluding default library file for the current program */ @@ -61,36 +69,23 @@ namespace ts { } export interface ReadonlyManyToManyPathMap { - forEach(action: (v: ReadonlySet, k: Path) => void): void; getKeys(v: Path): ReadonlySet | undefined; getValues(k: Path): ReadonlySet | undefined; - hasKey(k: Path): boolean; keys(): Iterator; - - /** - * The set of arguments to {@link deleteKeys} which have not subsequently - * been arguments to {@link set}. Note that a key does not have to have - * ever been in the map to appear in this set. - */ - deletedKeys(): ReadonlySet | undefined; } export interface ManyToManyPathMap extends ReadonlyManyToManyPathMap { deleteKey(k: Path): boolean; set(k: Path, v: ReadonlySet): void; - clear(): void; } export function createManyToManyPathMap(): ManyToManyPathMap { function create(forward: ESMap>, reverse: ESMap>, deleted: Set | undefined): ManyToManyPathMap { const map: ManyToManyPathMap = { - forEach: fn => forward.forEach(fn), getKeys: v => reverse.get(v), getValues: k => forward.get(k), - hasKey: k => forward.has(k), keys: () => forward.keys(), - deletedKeys: () => deleted, deleteKey: k => { (deleted ||= new Set()).add(k); @@ -123,11 +118,6 @@ namespace ts { return map; }, - clear: () => { - forward.clear(); - reverse.clear(); - deleted?.clear(); - } }; return map; @@ -284,7 +274,10 @@ namespace ts { // Create the reference map, and set the file infos for (const sourceFile of newProgram.getSourceFiles()) { const version = Debug.checkDefined(sourceFile.version, "Program intended to be used with Builder should have source files with versions set"); - const oldInfo = useOldState ? oldState!.fileInfos.get(sourceFile.resolvedPath) : undefined; + const oldUncommitedSignature = useOldState ? oldState!.oldSignatures?.get(sourceFile.resolvedPath) : undefined; + const signature = oldUncommitedSignature === undefined ? + useOldState ? oldState!.fileInfos.get(sourceFile.resolvedPath)?.signature : undefined : + oldUncommitedSignature || undefined; if (referencedMap) { const newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName); if (newReferences) { @@ -292,7 +285,10 @@ namespace ts { } // Copy old visible to outside files map if (useOldState) { - const exportedModules = oldState!.exportedModulesMap!.getValues(sourceFile.resolvedPath); + const oldUncommitedExportedModules = oldState!.oldExportedModulesMap?.get(sourceFile.resolvedPath); + const exportedModules = oldUncommitedExportedModules === undefined ? + oldState!.exportedModulesMap!.getValues(sourceFile.resolvedPath) : + oldUncommitedExportedModules || undefined; if (exportedModules) { exportedModulesMap!.set(sourceFile.resolvedPath, exportedModules); } @@ -300,7 +296,7 @@ namespace ts { } fileInfos.set(sourceFile.resolvedPath, { version, - signature: oldInfo && oldInfo.signature, + signature, affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || undefined, impliedFormat: sourceFile.impliedNodeFormat }); @@ -325,35 +321,24 @@ namespace ts { /** * Gets the files affected by the path from the program */ - export function getFilesAffectedBy(state: BuilderState, programOfThisState: Program, path: Path, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, cacheToUpdateSignature?: ESMap, exportedModulesMapCache?: ManyToManyPathMap): readonly SourceFile[] { - // Since the operation could be cancelled, the signatures are always stored in the cache - // They will be committed once it is safe to use them - // eg when calling this api from tsserver, if there is no cancellation of the operation - // In the other cases the affected files signatures are committed only after the iteration through the result is complete - const signatureCache = cacheToUpdateSignature || new Map(); + export function getFilesAffectedBy(state: BuilderState, programOfThisState: Program, path: Path, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash): readonly SourceFile[] { + const result = getFilesAffectedByWithOldState(state, programOfThisState, path, cancellationToken, computeHash); + state.oldSignatures?.clear(); + state.oldExportedModulesMap?.clear(); + return result; + } + + export function getFilesAffectedByWithOldState(state: BuilderState, programOfThisState: Program, path: Path, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash): readonly SourceFile[] { const sourceFile = programOfThisState.getSourceFileByPath(path); if (!sourceFile) { return emptyArray; } - if (!updateShapeSignature(state, programOfThisState, sourceFile, signatureCache, cancellationToken, computeHash, exportedModulesMapCache)) { + if (!updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, computeHash)) { return [sourceFile]; } - const result = (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, signatureCache, cancellationToken, computeHash, exportedModulesMapCache); - if (!cacheToUpdateSignature) { - // Commit all the signatures in the signature cache - updateSignaturesFromCache(state, signatureCache); - } - return result; - } - - /** - * Updates the signatures from the cache into state's fileinfo signatures - * This should be called whenever it is safe to commit the state of the builder - */ - export function updateSignaturesFromCache(state: BuilderState, signatureCache: ESMap) { - signatureCache.forEach((signature, path) => updateSignatureOfFile(state, signature, path)); + return (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, cancellationToken, computeHash); } export function updateSignatureOfFile(state: BuilderState, signature: string | undefined, path: Path) { @@ -364,18 +349,11 @@ namespace ts { /** * Returns if the shape of the signature has changed since last emit */ - export function updateShapeSignature(state: Readonly, programOfThisState: Program, sourceFile: SourceFile, cacheToUpdateSignature: ESMap, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, exportedModulesMapCache?: ManyToManyPathMap, useFileVersionAsSignature = state.useFileVersionAsSignature) { - Debug.assert(!!sourceFile); - Debug.assert(!exportedModulesMapCache || !!state.exportedModulesMap, "Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"); - + export function updateShapeSignature(state: BuilderState, programOfThisState: Program, sourceFile: SourceFile, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, useFileVersionAsSignature = state.useFileVersionAsSignature) { // If we have cached the result for this file, that means hence forth we should assume file shape is uptodate - if (state.hasCalledUpdateShapeSignature?.has(sourceFile.resolvedPath) || cacheToUpdateSignature.has(sourceFile.resolvedPath)) { - return false; - } - - const info = state.fileInfos.get(sourceFile.resolvedPath); - if (!info) return Debug.fail(); + if (state.hasCalledUpdateShapeSignature?.has(sourceFile.resolvedPath)) return false; + const info = state.fileInfos.get(sourceFile.resolvedPath)!; const prevSignature = info.signature; let latestSignature: string | undefined; if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) { @@ -391,26 +369,29 @@ namespace ts { if (firstDts) { Debug.assert(isDeclarationFileName(firstDts.name), "File extension for signature expected to be dts", () => `Found: ${getAnyExtensionFromPath(firstDts.name)} for ${firstDts.name}:: All output files: ${JSON.stringify(emitOutput.outputFiles.map(f => f.name))}`); latestSignature = computeSignature(firstDts.text, computeHash); - if (exportedModulesMapCache && latestSignature !== prevSignature) { - updateExportedModules(sourceFile, emitOutput.exportedModulesFromDeclarationEmit, exportedModulesMapCache); + if (latestSignature !== prevSignature) { + updateExportedModules(state, sourceFile, emitOutput.exportedModulesFromDeclarationEmit); } } } // Default is to use file version as signature if (latestSignature === undefined) { latestSignature = sourceFile.version; - if (exportedModulesMapCache && latestSignature !== prevSignature) { + if (state.exportedModulesMap && latestSignature !== prevSignature) { + (state.oldExportedModulesMap ||= new Map()).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false); // All the references in this file are exported const references = state.referencedMap ? state.referencedMap.getValues(sourceFile.resolvedPath) : undefined; if (references) { - exportedModulesMapCache.set(sourceFile.resolvedPath, references); + state.exportedModulesMap.set(sourceFile.resolvedPath, references); } else { - exportedModulesMapCache.deleteKey(sourceFile.resolvedPath); + state.exportedModulesMap.deleteKey(sourceFile.resolvedPath); } } } - cacheToUpdateSignature.set(sourceFile.resolvedPath, latestSignature); + (state.oldSignatures ||= new Map()).set(sourceFile.resolvedPath, prevSignature || false); + (state.hasCalledUpdateShapeSignature ||= new Set()).add(sourceFile.resolvedPath); + info.signature = latestSignature; return latestSignature !== prevSignature; } @@ -421,19 +402,21 @@ namespace ts { /** * Coverts the declaration emit result into exported modules map */ - export function updateExportedModules(sourceFile: SourceFile, exportedModulesFromDeclarationEmit: ExportedModulesFromDeclarationEmit | undefined, exportedModulesMapCache: ManyToManyPathMap) { + export function updateExportedModules(state: BuilderState, sourceFile: SourceFile, exportedModulesFromDeclarationEmit: ExportedModulesFromDeclarationEmit | undefined) { + if (!state.exportedModulesMap) return; + (state.oldExportedModulesMap ||= new Map()).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false); if (!exportedModulesFromDeclarationEmit) { - exportedModulesMapCache.deleteKey(sourceFile.resolvedPath); + state.exportedModulesMap.deleteKey(sourceFile.resolvedPath); return; } let exportedModules: Set | undefined; exportedModulesFromDeclarationEmit.forEach(symbol => addExportedModule(getReferencedFilesFromImportedModuleSymbol(symbol))); if (exportedModules) { - exportedModulesMapCache.set(sourceFile.resolvedPath, exportedModules); + state.exportedModulesMap.set(sourceFile.resolvedPath, exportedModules); } else { - exportedModulesMapCache.deleteKey(sourceFile.resolvedPath); + state.exportedModulesMap.deleteKey(sourceFile.resolvedPath); } function addExportedModule(exportedModulePaths: Path[] | undefined) { @@ -446,18 +429,6 @@ namespace ts { } } - /** - * Updates the exported modules from cache into state's exported modules map - * This should be called whenever it is safe to commit the state of the builder - */ - export function updateExportedFilesMapFromCache(state: BuilderState, exportedModulesMapCache: ManyToManyPathMap | undefined) { - if (exportedModulesMapCache) { - Debug.assert(!!state.exportedModulesMap); - exportedModulesMapCache.deletedKeys()?.forEach(path => state.exportedModulesMap!.deleteKey(path)); - exportedModulesMapCache.forEach((exportedModules, path) => state.exportedModulesMap!.set(path, exportedModules)); - } - } - /** * Get all the dependencies of the sourceFile */ @@ -585,7 +556,7 @@ namespace ts { /** * When program emits modular code, gets the files affected by the sourceFile whose shape has changed */ - function getFilesAffectedByUpdatedShapeWhenModuleEmit(state: BuilderState, programOfThisState: Program, sourceFileWithUpdatedShape: SourceFile, cacheToUpdateSignature: ESMap, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash, exportedModulesMapCache: ManyToManyPathMap | undefined) { + function getFilesAffectedByUpdatedShapeWhenModuleEmit(state: BuilderState, programOfThisState: Program, sourceFileWithUpdatedShape: SourceFile, cancellationToken: CancellationToken | undefined, computeHash: ComputeHash) { if (isFileAffectingGlobalScope(sourceFileWithUpdatedShape)) { return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape); } @@ -608,7 +579,7 @@ namespace ts { if (!seenFileNamesMap.has(currentPath)) { const currentSourceFile = programOfThisState.getSourceFileByPath(currentPath)!; seenFileNamesMap.set(currentPath, currentSourceFile); - if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cacheToUpdateSignature, cancellationToken, computeHash, exportedModulesMapCache)) { + if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cancellationToken, computeHash)) { queue.push(...getReferencedByPaths(state, currentSourceFile.resolvedPath)); } } diff --git a/src/testRunner/tsconfig.json b/src/testRunner/tsconfig.json index 599aaa19a8615..3b56e6465aff5 100644 --- a/src/testRunner/tsconfig.json +++ b/src/testRunner/tsconfig.json @@ -149,6 +149,7 @@ "unittests/tsbuildWatch/publicApi.ts", "unittests/tsbuildWatch/reexport.ts", "unittests/tsbuildWatch/watchEnvironment.ts", + "unittests/tsc/cancellationToken.ts", "unittests/tsc/composite.ts", "unittests/tsc/declarationEmit.ts", "unittests/tsc/incremental.ts", diff --git a/src/testRunner/unittests/tsc/cancellationToken.ts b/src/testRunner/unittests/tsc/cancellationToken.ts new file mode 100644 index 0000000000000..462b08c9f084f --- /dev/null +++ b/src/testRunner/unittests/tsc/cancellationToken.ts @@ -0,0 +1,169 @@ +namespace ts.tscWatch { + describe("unittests:: tsc:: builder cancellationToken", () => { + verifyCancellation(/*useBuildInfo*/ true, "when emitting buildInfo"); + verifyCancellation(/*useBuildInfo*/ false, "when using state"); + function verifyCancellation(useBuildInfo: boolean, scenario: string) { + it(scenario, () => { + const aFile: File = { + path: `${projectRoot}/a.ts`, + content: Utils.dedent` + import {B} from './b'; + declare var console: any; + let b = new B(); + console.log(b.c.d);` + }; + const bFile: File = { + path: `${projectRoot}/b.ts`, + content: Utils.dedent` + import {C} from './c'; + export class B { + c = new C(); + }` + }; + const cFile: File = { + path: `${projectRoot}/c.ts`, + content: Utils.dedent` + export class C { + d = 1; + }` + }; + const dFile: File = { + path: `${projectRoot}/d.ts`, + content: "export class D { }" + }; + const config: File = { + path: `${projectRoot}/tsconfig.json`, + content: JSON.stringify({ compilerOptions: { incremental: true, declaration: true } }) + }; + const { sys, baseline, oldSnap: originalSnap } = createBaseline(createWatchedSystem( + [aFile, bFile, cFile, dFile, config, libFile], + { currentDirectory: projectRoot } + )); + sys.exit = exitCode => sys.exitCode = exitCode; + const reportDiagnostic = createDiagnosticReporter(sys, /*pretty*/ true); + const parsedConfig = parseConfigFileWithSystem( + "tsconfig.json", + {}, + /*extendedConfigCache*/ undefined, + /*watchOptionsToExtend*/ undefined, + sys, + reportDiagnostic + )!; + const host = createIncrementalCompilerHost(parsedConfig.options, sys); + let programs: CommandLineProgram[] = emptyArray; + let oldPrograms: CommandLineProgram[] = emptyArray; + let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram = undefined!; + let oldSnap = originalSnap; + let cancel = false; + const cancellationToken: CancellationToken = { + isCancellationRequested: () => cancel, + throwIfCancellationRequested: () => { + if (cancel) { + sys.write(`Cancelled!!\r\n`); + throw new OperationCanceledException(); + } + }, + }; + + // Initial build + baselineBuild(); + + // Cancel on first semantic operation + // Change + oldSnap = applyChange( + sys, + baseline, + sys => sys.appendFile(cFile.path, "export function foo() {}"), + "Add change that affects d.ts" + ); + createIncrementalProgram(); + + // Cancel during semantic diagnostics + cancel = true; + try { + builderProgram.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken); + } + catch (e) { + sys.write(`Operation ws cancelled:: ${e instanceof OperationCanceledException}\r\n`); + } + cancel = false; + builderProgram.emitBuildInfo(); + baselineBuildInfo(builderProgram.getCompilerOptions(), sys); + watchBaseline({ + baseline, + getPrograms: () => programs, + oldPrograms, + sys, + oldSnap, + }); + + // Normal emit again + noChange("Normal build"); + baselineBuild(); + + // Do clean build:: all the emitted files should be same + noChange("Clean build"); + baselineCleanBuild(); + + Harness.Baseline.runBaseline(`tsc/cancellationToken/${scenario.split(" ").join("-")}.js`, baseline.join("\r\n")); + + function noChange(caption: string) { + oldSnap = applyChange(sys, baseline, noop, caption); + } + + function updatePrograms() { + oldPrograms = programs; + programs = [[builderProgram.getProgram(), builderProgram]]; + } + + function createIncrementalProgram() { + builderProgram = useBuildInfo ? + ts.createIncrementalProgram({ + rootNames: parsedConfig.fileNames, + options: parsedConfig.options, + host, + }) : + builderProgram = builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram( + parsedConfig.fileNames, + parsedConfig.options, + host, + builderProgram, + /* configFileParsingDiagnostics*/ undefined, + /*projectReferences*/ undefined, + ); + updatePrograms(); + } + + function emitAndBaseline() { + emitFilesAndReportErrorsAndGetExitStatus(builderProgram, reportDiagnostic); + baselineBuildInfo(builderProgram.getCompilerOptions(), sys); + watchBaseline({ + baseline, + getPrograms: () => programs, + oldPrograms, + sys, + oldSnap, + }); + } + + function baselineBuild() { + createIncrementalProgram(); + emitAndBaseline(); + } + + function baselineCleanBuild() { + builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram( + parsedConfig.fileNames, + parsedConfig.options, + host, + /*oldProgram*/ undefined, + /* configFileParsingDiagnostics*/ undefined, + /*projectReferences*/ undefined, + ); + updatePrograms(); + emitAndBaseline(); + } + }); + } + }); +} \ No newline at end of file diff --git a/src/testRunner/unittests/tscWatch/helpers.ts b/src/testRunner/unittests/tscWatch/helpers.ts index 501264b40ff32..184c718a294f3 100644 --- a/src/testRunner/unittests/tscWatch/helpers.ts +++ b/src/testRunner/unittests/tscWatch/helpers.ts @@ -341,7 +341,7 @@ namespace ts.tscWatch { if (state.semanticDiagnosticsPerFile?.size) { baseline.push("Semantic diagnostics in builder refreshed for::"); for (const file of program.getSourceFiles()) { - if (!state.semanticDiagnosticsFromOldState || !state.semanticDiagnosticsFromOldState.has(file.resolvedPath)) { + if (!internalState.semanticDiagnosticsFromOldState || !internalState.semanticDiagnosticsFromOldState.has(file.resolvedPath)) { baseline.push(file.fileName); } } diff --git a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js new file mode 100644 index 0000000000000..5368c55ff22dc --- /dev/null +++ b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js @@ -0,0 +1,506 @@ +Input:: +//// [/user/username/projects/myproject/a.ts] +import {B} from './b'; +declare var console: any; +let b = new B(); +console.log(b.c.d); + +//// [/user/username/projects/myproject/b.ts] +import {C} from './c'; +export class B { + c = new C(); +} + +//// [/user/username/projects/myproject/c.ts] +export class C { + d = 1; +} + +//// [/user/username/projects/myproject/d.ts] +export class D { } + +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true}} + +//// [/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; } + + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] +"use strict"; +exports.__esModule = true; +exports.C = void 0; +var C = /** @class */ (function () { + function C() { + this.d = 1; + } + return C; +}()); +exports.C = C; + + +//// [/user/username/projects/myproject/c.d.ts] +export declare class C { + d: number; +} + + +//// [/user/username/projects/myproject/b.js] +"use strict"; +exports.__esModule = true; +exports.B = void 0; +var c_1 = require("./c"); +var B = /** @class */ (function () { + function B() { + this.c = new c_1.C(); + } + return B; +}()); +exports.B = B; + + +//// [/user/username/projects/myproject/b.d.ts] +import { C } from './c'; +export declare class B { + c: C; +} + + +//// [/user/username/projects/myproject/a.js] +"use strict"; +exports.__esModule = true; +var b_1 = require("./b"); +var b = new b_1.B(); +console.log(b.c.d); + + +//// [/user/username/projects/myproject/a.d.ts] +export {}; + + +//// [/user/username/projects/myproject/d.js] +"use strict"; +exports.__esModule = true; +exports.D = void 0; +var D = /** @class */ (function () { + function D() { + } + return D; +}()); +exports.D = D; + + +//// [/user/username/projects/myproject/d.d.ts] +export declare class D { +} + + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"-5130721255-export class C {\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "-5130721255-export class C {\n d = 1;\n}", + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1250 +} + + +Change:: Add change that affects d.ts + +Input:: +//// [/user/username/projects/myproject/c.ts] +export class C { + d = 1; +}export function foo() {} + + +Output:: +Cancelled!! +Operation ws cancelled:: true + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/c.ts + +No shapes updated in the builder:: + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"840271342-export class C {\n d = 1;\n}export function foo() {}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,5],"changeFileSet":[2]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "840271342-export class C {\n d = 1;\n}export function foo() {}", + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./d.ts" + ], + "changeFileSet": [ + "./c.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1290 +} + + +Change:: Normal build + +Input:: + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/myproject/c.ts (computed .d.ts) +/user/username/projects/myproject/b.ts (computed .d.ts) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] +"use strict"; +exports.__esModule = true; +exports.foo = exports.C = void 0; +var C = /** @class */ (function () { + function C() { + this.d = 1; + } + return C; +}()); +exports.C = C; +function foo() { } +exports.foo = foo; + + +//// [/user/username/projects/myproject/c.d.ts] +export declare class C { + d: number; +} +export declare function foo(): void; + + +//// [/user/username/projects/myproject/b.js] file written with same contents +//// [/user/username/projects/myproject/b.d.ts] file written with same contents +//// [/user/username/projects/myproject/a.d.ts] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"840271342-export class C {\n d = 1;\n}export function foo() {}","signature":"-7819740442-export declare class C {\n d: number;\n}\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "840271342-export class C {\n d = 1;\n}export function foo() {}", + "signature": "-7819740442-export declare class C {\n d: number;\n}\nexport declare function foo(): void;\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1310 +} + + +Change:: Clean build + +Input:: + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] file written with same contents +//// [/user/username/projects/myproject/c.d.ts] file written with same contents +//// [/user/username/projects/myproject/b.js] file written with same contents +//// [/user/username/projects/myproject/b.d.ts] file written with same contents +//// [/user/username/projects/myproject/a.js] file written with same contents +//// [/user/username/projects/myproject/a.d.ts] file written with same contents +//// [/user/username/projects/myproject/d.js] file written with same contents +//// [/user/username/projects/myproject/d.d.ts] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js new file mode 100644 index 0000000000000..58c0696abd6ef --- /dev/null +++ b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js @@ -0,0 +1,506 @@ +Input:: +//// [/user/username/projects/myproject/a.ts] +import {B} from './b'; +declare var console: any; +let b = new B(); +console.log(b.c.d); + +//// [/user/username/projects/myproject/b.ts] +import {C} from './c'; +export class B { + c = new C(); +} + +//// [/user/username/projects/myproject/c.ts] +export class C { + d = 1; +} + +//// [/user/username/projects/myproject/d.ts] +export class D { } + +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true}} + +//// [/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; } + + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] +"use strict"; +exports.__esModule = true; +exports.C = void 0; +var C = /** @class */ (function () { + function C() { + this.d = 1; + } + return C; +}()); +exports.C = C; + + +//// [/user/username/projects/myproject/c.d.ts] +export declare class C { + d: number; +} + + +//// [/user/username/projects/myproject/b.js] +"use strict"; +exports.__esModule = true; +exports.B = void 0; +var c_1 = require("./c"); +var B = /** @class */ (function () { + function B() { + this.c = new c_1.C(); + } + return B; +}()); +exports.B = B; + + +//// [/user/username/projects/myproject/b.d.ts] +import { C } from './c'; +export declare class B { + c: C; +} + + +//// [/user/username/projects/myproject/a.js] +"use strict"; +exports.__esModule = true; +var b_1 = require("./b"); +var b = new b_1.B(); +console.log(b.c.d); + + +//// [/user/username/projects/myproject/a.d.ts] +export {}; + + +//// [/user/username/projects/myproject/d.js] +"use strict"; +exports.__esModule = true; +exports.D = void 0; +var D = /** @class */ (function () { + function D() { + } + return D; +}()); +exports.D = D; + + +//// [/user/username/projects/myproject/d.d.ts] +export declare class D { +} + + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"-5130721255-export class C {\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "-5130721255-export class C {\n d = 1;\n}", + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1250 +} + + +Change:: Add change that affects d.ts + +Input:: +//// [/user/username/projects/myproject/c.ts] +export class C { + d = 1; +}export function foo() {} + + +Output:: +Cancelled!! +Operation ws cancelled:: true + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Completely +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/c.ts + +No shapes updated in the builder:: + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"840271342-export class C {\n d = 1;\n}export function foo() {}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,5],"changeFileSet":[2]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "840271342-export class C {\n d = 1;\n}export function foo() {}", + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./d.ts" + ], + "changeFileSet": [ + "./c.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1290 +} + + +Change:: Normal build + +Input:: + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Completely +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/myproject/c.ts (computed .d.ts) +/user/username/projects/myproject/b.ts (computed .d.ts) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] +"use strict"; +exports.__esModule = true; +exports.foo = exports.C = void 0; +var C = /** @class */ (function () { + function C() { + this.d = 1; + } + return C; +}()); +exports.C = C; +function foo() { } +exports.foo = foo; + + +//// [/user/username/projects/myproject/c.d.ts] +export declare class C { + d: number; +} +export declare function foo(): void; + + +//// [/user/username/projects/myproject/b.js] file written with same contents +//// [/user/username/projects/myproject/b.d.ts] file written with same contents +//// [/user/username/projects/myproject/a.d.ts] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"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},{"version":"840271342-export class C {\n d = 1;\n}export function foo() {}","signature":"-7819740442-export declare class C {\n d: number;\n}\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"exportedModulesMap":[[3,2]],"semanticDiagnosticsPerFile":[1,4,3,2,5]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./c.ts", + "./b.ts", + "./a.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./b.ts" + ], + [ + "./c.ts" + ] + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "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 + }, + "./c.ts": { + "version": "840271342-export class C {\n d = 1;\n}export function foo() {}", + "signature": "-7819740442-export declare class C {\n d: number;\n}\nexport declare function foo(): void;\n" + }, + "./b.ts": { + "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" + }, + "./a.ts": { + "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", + "signature": "-3531856636-export {};\n" + }, + "./d.ts": { + "version": "-7804761415-export class D { }", + "signature": "-8611429667-export declare class D {\n}\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./a.ts": [ + "./b.ts" + ], + "./b.ts": [ + "./c.ts" + ] + }, + "exportedModulesMap": { + "./b.ts": [ + "./c.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1310 +} + + +Change:: Clean build + +Input:: + +Output:: + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/c.ts +/user/username/projects/myproject/b.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/myproject/c.ts (computed .d.ts during emit) +/user/username/projects/myproject/b.ts (computed .d.ts during emit) +/user/username/projects/myproject/a.ts (computed .d.ts during emit) +/user/username/projects/myproject/d.ts (computed .d.ts during emit) + +WatchedFiles:: + +FsWatches:: + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/c.js] file written with same contents +//// [/user/username/projects/myproject/c.d.ts] file written with same contents +//// [/user/username/projects/myproject/b.js] file written with same contents +//// [/user/username/projects/myproject/b.d.ts] file written with same contents +//// [/user/username/projects/myproject/a.js] file written with same contents +//// [/user/username/projects/myproject/a.d.ts] file written with same contents +//// [/user/username/projects/myproject/d.js] file written with same contents +//// [/user/username/projects/myproject/d.d.ts] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] file written with same contents +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents From 7810c56655beb58803ca4848434eda30fef5c7cd Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 29 Apr 2022 14:48:44 -0700 Subject: [PATCH 54/64] Add test to verify build when input file does not change --- src/testRunner/unittests/tsbuild/outFile.ts | 16 + src/testRunner/unittests/tsbuild/sample.ts | 16 + ...ot-change-but-its-modified-time-changes.js | 628 ++++++++++++++++++ ...ot-change-but-its-modified-time-changes.js | 443 ++++++++++++ 4 files changed, 1103 insertions(+) create mode 100644 tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js create mode 100644 tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js diff --git a/src/testRunner/unittests/tsbuild/outFile.ts b/src/testRunner/unittests/tsbuild/outFile.ts index 109ab200c69ef..3bfe0010fa543 100644 --- a/src/testRunner/unittests/tsbuild/outFile.ts +++ b/src/testRunner/unittests/tsbuild/outFile.ts @@ -171,6 +171,22 @@ namespace ts { ] }); + verifyTscWithEdits({ + scenario: "outFile", + subScenario: "when input file text does not change but its modified time changes", + fs: () => outFileFs, + commandLineArgs: ["--b", "/src/third", "--verbose"], + edits: [ + { + subScenario: "upstream project changes without changing file text", + modifyFs: fs => { + const time = new Date(fs.time()); + fs.utimesSync("/src/first/first_PART1.ts", time, time); + }, + }, + ] + }); + verifyTscCompileLike(testTscCompileLike, { scenario: "outFile", subScenario: "builds till project specified", diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 564ad4cfd9c81..b88051be8e5cb 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -138,6 +138,22 @@ namespace ts { ] }); + verifyTscWithEdits({ + scenario: "sample1", + subScenario: "when input file text does not change but its modified time changes", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tests", "--verbose"], + edits: [ + { + subScenario: "upstream project changes without changing file text", + modifyFs: fs => { + const time = new Date(fs.time()); + fs.utimesSync("/src/core/index.ts", time, time); + }, + }, + ] + }); + verifyTsc({ scenario: "sample1", subScenario: "indicates that it would skip builds during a dry build", diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js new file mode 100644 index 0000000000000..79b5c03c346db --- /dev/null +++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -0,0 +1,628 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/first/first_PART1.ts] +interface TheFirst { + none: any; +} + +const s = "Hello, world"; + +interface NoJsForHereEither { + none: any; +} + +console.log(s); + + +//// [/src/first/first_part2.ts] +console.log(f()); + + +//// [/src/first/first_part3.ts] +function f() { + return "JS does hoists"; +} + +//// [/src/first/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "outFile": "./bin/first-output.js", + "skipDefaultLibCheck": true, + }, + "files": [ + "first_PART1.ts", + "first_part2.ts", + "first_part3.ts" + ], + "references": [ + ] +} + + +//// [/src/second/second_part1.ts] +namespace N { + // Comment text +} + +namespace N { + function f() { + console.log('testing'); + } + + f(); +} + + +//// [/src/second/second_part2.ts] +class C { + doSomething() { + console.log("something got done"); + } +} + + +//// [/src/second/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "../2/second-output.js", + "skipDefaultLibCheck": true + }, + "references": [ + ] +} + + +//// [/src/third/third_part1.ts] +var c = new C(); +c.doSomething(); + + +//// [/src/third/tsconfig.json] +{ + "compilerOptions": { + "target": "es5", + "composite": true, + "removeComments": true, + "strict": false, + "sourceMap": true, + "declarationMap": true, + "declaration": true, + "outFile": "./thirdjs/output/third-output.js", + "skipDefaultLibCheck": true, + }, + "files": [ + "third_part1.ts" + ], + "references": [ + { "path": "../first", "prepend": true }, + { "path": "../second", "prepend": true }, + ] +} + + + + +Output:: +/lib/tsc --b /src/third --verbose +[12:00:06 AM] Projects in this build: + * src/first/tsconfig.json + * src/second/tsconfig.json + * src/third/tsconfig.json + +[12:00:07 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist + +[12:00:08 AM] Building project '/src/first/tsconfig.json'... + +[12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist + +[12:00:20 AM] Building project '/src/second/tsconfig.json'... + +[12:00:31 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.tsbuildinfo' does not exist + +[12:00:32 AM] Building project '/src/third/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/2/second-output.d.ts] +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +//# sourceMappingURL=second-output.d.ts.map + +//// [/src/2/second-output.d.ts.map] +{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"} + +//// [/src/2/second-output.js] +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +//# sourceMappingURL=second-output.js.map + +//// [/src/2/second-output.js.map] +{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} + +//// [/src/2/second-output.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} + +//// [/src/2/second-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/2/second-output.js +---------------------------------------------------------------------- +text: (0-285) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +====================================================================== +====================================================================== +File:: /src/2/second-output.d.ts +---------------------------------------------------------------------- +text: (0-100) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +====================================================================== + +//// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../second", + "sourceFiles": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 285, + "kind": "text" + } + ], + "hash": "-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map", + "mapHash": "9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 100, + "kind": "text" + } + ], + "hash": "7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map", + "mapHash": "7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}" + } + }, + "program": { + "options": { + "composite": true, + "outFile": "./second-output.js" + }, + "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "dtsChangeTime": 21000 + }, + "version": "FakeTSVersion", + "size": 1796 +} + +//// [/src/first/bin/first-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +//# sourceMappingURL=first-output.d.ts.map + +//// [/src/first/bin/first-output.d.ts.map] +{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"} + +//// [/src/first/bin/first-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +//# sourceMappingURL=first-output.js.map + +//// [/src/first/bin/first-output.js.map] +{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} + +//// [/src/first/bin/first-output.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} + +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/first/bin/first-output.js +---------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +====================================================================== +====================================================================== +File:: /src/first/bin/first-output.d.ts +---------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +====================================================================== + +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "..", + "sourceFiles": [ + "../first_PART1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ], + "hash": "-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map", + "mapHash": "-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ], + "hash": "-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map", + "mapHash": "28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}" + } + }, + "program": { + "options": { + "composite": true, + "outFile": "./first-output.js" + }, + "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "dtsChangeTime": 9000 + }, + "version": "FakeTSVersion", + "size": 1691 +} + +//// [/src/third/thirdjs/output/third-output.d.ts] +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} +declare var c: C; +//# sourceMappingURL=third-output.d.ts.map + +//// [/src/third/thirdjs/output/third-output.d.ts.map] +{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC"} + +//// [/src/third/thirdjs/output/third-output.js] +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); +var c = new C(); +c.doSomething(); +//# sourceMappingURL=third-output.js.map + +//// [/src/third/thirdjs/output/third-output.js.map] +{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/third/thirdjs/output/third-output.js +---------------------------------------------------------------------- +prepend: (0-110):: ../../../first/bin/first-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (0-110) +var s = "Hello, world"; +console.log(s); +console.log(f()); +function f() { + return "JS does hoists"; +} + +---------------------------------------------------------------------- +prepend: (110-395):: ../../../2/second-output.js texts:: 1 +>>-------------------------------------------------------------------- +text: (110-395) +var N; +(function (N) { + function f() { + console.log('testing'); + } + f(); +})(N || (N = {})); +var C = (function () { + function C() { + } + C.prototype.doSomething = function () { + console.log("something got done"); + }; + return C; +}()); + +---------------------------------------------------------------------- +text: (395-431) +var c = new C(); +c.doSomething(); + +====================================================================== +====================================================================== +File:: /src/third/thirdjs/output/third-output.d.ts +---------------------------------------------------------------------- +prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (0-157) +interface TheFirst { + none: any; +} +declare const s = "Hello, world"; +interface NoJsForHereEither { + none: any; +} +declare function f(): string; + +---------------------------------------------------------------------- +prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1 +>>-------------------------------------------------------------------- +text: (157-257) +declare namespace N { +} +declare namespace N { +} +declare class C { + doSomething(): void; +} + +---------------------------------------------------------------------- +text: (257-276) +declare var c: C; + +====================================================================== + +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "../..", + "sourceFiles": [ + "../../third_part1.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 110, + "kind": "prepend", + "data": "../../../first/bin/first-output.js", + "texts": [ + { + "pos": 0, + "end": 110, + "kind": "text" + } + ] + }, + { + "pos": 110, + "end": 395, + "kind": "prepend", + "data": "../../../2/second-output.js", + "texts": [ + { + "pos": 110, + "end": 395, + "kind": "text" + } + ] + }, + { + "pos": 395, + "end": 431, + "kind": "text" + } + ], + "hash": "20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map", + "mapHash": "59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 157, + "kind": "prepend", + "data": "../../../first/bin/first-output.d.ts", + "texts": [ + { + "pos": 0, + "end": 157, + "kind": "text" + } + ] + }, + { + "pos": 157, + "end": 257, + "kind": "prepend", + "data": "../../../2/second-output.d.ts", + "texts": [ + { + "pos": 157, + "end": 257, + "kind": "text" + } + ] + }, + { + "pos": 257, + "end": 276, + "kind": "text" + } + ], + "hash": "-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map", + "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" + } + }, + "program": { + "options": { + "composite": true, + "outFile": "./third-output.js" + }, + "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", + "dtsChangeTime": 33000 + }, + "version": "FakeTSVersion", + "size": 3476 +} + + + +Change:: upstream project changes without changing file text +Input:: +//// [/src/first/first_PART1.ts] file changed its modified time + + +Output:: +/lib/tsc --b /src/third --verbose +[12:00:46 AM] Projects in this build: + * src/first/tsconfig.json + * src/second/tsconfig.json + * src/third/tsconfig.json + +[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' + +[12:00:48 AM] Building project '/src/first/tsconfig.json'... + +[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' + +[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed + +[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/first/bin/first-output.d.ts] file written with same contents +//// [/src/first/bin/first-output.d.ts.map] file written with same contents +//// [/src/first/bin/first-output.js] file written with same contents +//// [/src/first/bin/first-output.js.map] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js new file mode 100644 index 0000000000000..204d132d7ef31 --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -0,0 +1,443 @@ +Input:: +//// [/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; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/core/anotherModule.ts] +export const World = "hello"; + + +//// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/src/core/some_decl.d.ts] +declare const dts: any; + + +//// [/src/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} + + +//// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} + + +//// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} + + + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:06 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist + +[12:00:08 AM] Building project '/src/core/tsconfig.json'... + +[12:00:19 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist + +[12:00:20 AM] Building project '/src/logic/tsconfig.json'... + +[12:00:28 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist + +[12:00:29 AM] Building project '/src/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/src/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; + + +//// [/src/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/src/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; + + +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"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},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"dtsChangeTime":9000},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "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; };", + "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 + }, + "./anothermodule.ts": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "dtsChangeTime": 9000 + }, + "version": "FakeTSVersion", + "size": 1452 +} + +//// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/src/logic/index.js] +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/src/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/src/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"dtsChangeTime":21000},"version":"FakeTSVersion"} + +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 21000 + }, + "version": "FakeTSVersion", + "size": 1577 +} + +//// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"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},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"dtsChangeTime":30000},"version":"FakeTSVersion"} + +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "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; };", + "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 + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "dtsChangeTime": 30000 + }, + "version": "FakeTSVersion", + "size": 1724 +} + + + +Change:: upstream project changes without changing file text +Input:: +//// [/src/core/index.ts] file changed its modified time + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:38 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' + +[12:00:40 AM] Building project '/src/core/tsconfig.json'... + +[12:00:41 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... + +[12:00:44 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:45 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... + +[12:00:48 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:49 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/core/tsconfig.tsbuildinfo] file changed its modified time +//// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time +//// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time From 28a9ff34a724ae7eeb2bc9afa17000d6002cfa11 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 29 Apr 2022 14:32:32 -0700 Subject: [PATCH 55/64] If version of the input file does not change, dont mark as out of date --- src/compiler/builder.ts | 108 ++++++++---- src/compiler/builderState.ts | 4 +- src/compiler/diagnosticMessages.json | 4 + src/compiler/tsbuild.ts | 3 +- src/compiler/tsbuildPublic.ts | 42 ++++- src/testRunner/unittests/tsbuild/helpers.ts | 163 ++++++++++-------- .../modules-and-globals-mixed-in-amd.js | 56 +++++- .../multiple-emitHelpers-in-all-projects.js | 84 +++++++-- .../multiple-prologues-in-all-projects.js | 84 +++++++-- .../shebang-in-all-projects.js | 56 +++++- .../amdModulesWithOut/stripInternal.js | 84 +++++++-- .../triple-slash-refs-in-all-projects.js | 64 ++++++- ...e-resolution-finds-original-source-file.js | 28 ++- ...rojects-and-concatenates-them-correctly.js | 50 ++++-- .../outFile/builds-till-project-specified.js | 12 +- .../tsbuild/outFile/clean-projects.js | 36 +++- .../outFile/cleans-till-project-specified.js | 36 +++- ...al-flag-changes-between-non-dts-changes.js | 54 +++++- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 72 ++++++-- ...erated-when-incremental-is-set-to-false.js | 26 ++- ...-buildInfo-absence-results-in-new-build.js | 48 +++++- ...ot-change-but-its-modified-time-changes.js | 54 ++++-- .../baseline-sectioned-sourcemaps.js | 84 +++++++-- .../declarationMap-and-sourceMap-disabled.js | 26 ++- .../emitHelpers-in-all-projects.js | 108 ++++++++++-- ...tHelpers-in-only-one-dependency-project.js | 84 +++++++-- .../tsbuild/outfile-concat/explainFiles.js | 84 +++++++-- .../multiple-emitHelpers-in-all-projects.js | 84 +++++++-- ...tiple-emitHelpers-in-different-projects.js | 84 +++++++-- .../multiple-prologues-in-all-projects.js | 108 ++++++++++-- ...ultiple-prologues-in-different-projects.js | 84 +++++++-- .../outfile-concat/shebang-in-all-projects.js | 84 +++++++-- .../shebang-in-only-one-dependency-project.js | 60 +++++-- .../outfile-concat/strict-in-all-projects.js | 108 ++++++++++-- .../strict-in-one-dependency.js | 84 +++++++-- ...hen-internal-is-inside-another-internal.js | 36 +++- ...en-one-two-three-are-prepended-in-order.js | 108 ++++++++++-- .../stripInternal-jsdoc-style-comment.js | 84 +++++++-- ...en-one-two-three-are-prepended-in-order.js | 72 ++++++-- ...-jsdoc-style-with-comments-emit-enabled.js | 60 +++++-- ...l-when-few-members-of-enum-are-internal.js | 36 +++- ...en-one-two-three-are-prepended-in-order.js | 144 +++++++++++++--- ...nal-when-prepend-is-completely-internal.js | 20 ++- ...en-one-two-three-are-prepended-in-order.js | 108 ++++++++++-- ...tripInternal-with-comments-emit-enabled.js | 84 +++++++-- .../tsbuild/outfile-concat/stripInternal.js | 108 ++++++++++-- .../triple-slash-refs-in-all-projects.js | 86 +++++++-- .../triple-slash-refs-in-one-project.js | 62 +++++-- ...roject-is-not-composite-but-incremental.js | 26 ++- ...t-composite-but-uses-project-references.js | 40 ++++- ...final-project-specifies-tsBuildInfoFile.js | 36 +++- ...-source-files-are-empty-in-the-own-file.js | 60 +++++-- .../reference/tsbuild/sample1/sample.js | 4 +- ...ot-change-but-its-modified-time-changes.js | 14 +- ...mit-any-files-on-error-with-incremental.js | 21 +-- ...ing-errors-only-changed-file-is-emitted.js | 21 +-- ...ncing-project-even-for-non-local-change.js | 60 +++++-- 57 files changed, 2857 insertions(+), 683 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index f5b3ffc37ef05..68ce2f6c5d87a 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -762,6 +762,8 @@ namespace ts { } export interface ProgramBundleEmitBuildInfo { + fileNames: readonly string[]; + fileInfos: readonly string[]; options: CompilerOptions | undefined; outSignature?: string; dtsChangeTime?: number; @@ -769,6 +771,10 @@ namespace ts { export type ProgramBuildInfo = ProgramMultiFileEmitBuildInfo | ProgramBundleEmitBuildInfo; + export function isProgramBundleEmitBuildInfo(info: ProgramBuildInfo): info is ProgramBundleEmitBuildInfo { + return !!outFile(info.options || {}); + } + /** * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ @@ -779,7 +785,17 @@ namespace ts { const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime; if (outFilePath) { + const fileNames: string[] = []; + const fileInfos: string[] = []; + state.program!.getRootFileNames().forEach(f => { + const sourceFile = state.program!.getSourceFile(f); + if (!sourceFile) return; + fileNames.push(relativeToBuildInfo(sourceFile.resolvedPath)); + fileInfos.push(sourceFile.version); + }); const result: ProgramBundleEmitBuildInfo = { + fileNames, + fileInfos, options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsBundleEmitBuildInfo"), outSignature: state.outSignature, dtsChangeTime: state.dtsChangeTime, @@ -1370,40 +1386,52 @@ namespace ts { { version: fileInfo.version, signature: fileInfo.signature === false ? undefined : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat }; } - export function createBuilderProgramUsingProgramBuildInfo(programFromBuildInfo: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { + export function createBuilderProgramUsingProgramBuildInfo(program: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); - const program = programFromBuildInfo as ProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo; - const filePaths = program.fileNames?.map(toPath); - const filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); - const fileInfos = new Map(); - const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; - program.fileInfos?.forEach((fileInfo, index) => { - const path = toFilePath(index + 1 as ProgramBuildInfoFileId); - const stateFileInfo = toBuilderStateFileInfo(fileInfo); - fileInfos.set(path, stateFileInfo); - if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); - }); - program.emitSignatures?.forEach(value => { - if (isNumber(value)) emitSignatures!.delete(toFilePath(value)); - else emitSignatures!.set(toFilePath(value[0]), value[1]); - }); - const state: ReusableBuilderProgramState = { - fileInfos, - compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, - referencedMap: toManyToManyPathMap(program.referencedMap), - exportedModulesMap: toManyToManyPathMap(program.exportedModulesMap), - semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagnosticsPerFile, value => toFilePath(isNumber(value) ? value : value[0]), value => isNumber(value) ? emptyArray : value[1]), - hasReusableDiagnostic: true, - affectedFilesPendingEmit: map(program.affectedFilesPendingEmit, value => toFilePath(value[0])), - affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(value[0]), value => value[1]), - affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0, - changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), - dtsChangeTime: program.dtsChangeTime, - emitSignatures: emitSignatures?.size ? emitSignatures : undefined, - outSignature: program.outSignature, - }; + let state: ReusableBuilderProgramState; + let filePaths: Path[] | undefined; + let filePathsSetList: Set[] | undefined; + if (isProgramBundleEmitBuildInfo(program)) { + state = { + fileInfos: new Map(), + compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, + dtsChangeTime: program.dtsChangeTime, + outSignature: program.outSignature, + }; + } + else { + filePaths = program.fileNames?.map(toPath); + filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); + const fileInfos = new Map(); + const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; + program.fileInfos.forEach((fileInfo, index) => { + const path = toFilePath(index + 1 as ProgramBuildInfoFileId); + const stateFileInfo = toBuilderStateFileInfo(fileInfo); + fileInfos.set(path, stateFileInfo); + if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); + }); + program.emitSignatures?.forEach(value => { + if (isNumber(value)) emitSignatures!.delete(toFilePath(value)); + else emitSignatures!.set(toFilePath(value[0]), value[1]); + }); + state = { + fileInfos, + compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, + referencedMap: toManyToManyPathMap(program.referencedMap), + exportedModulesMap: toManyToManyPathMap(program.exportedModulesMap), + semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagnosticsPerFile, value => toFilePath(isNumber(value) ? value : value[0]), value => isNumber(value) ? emptyArray : value[1]), + hasReusableDiagnostic: true, + affectedFilesPendingEmit: map(program.affectedFilesPendingEmit, value => toFilePath(value[0])), + affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(value[0]), value => value[1]), + affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0, + changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), + dtsChangeTime: program.dtsChangeTime, + emitSignatures: emitSignatures?.size ? emitSignatures : undefined, + }; + } + return { getState: () => state, backupEmitState: noop, @@ -1438,7 +1466,7 @@ namespace ts { } function toFilePath(fileId: ProgramBuildInfoFileId) { - return filePaths[fileId - 1]; + return filePaths![fileId - 1]; } function toFilePathsSet(fileIdsListId: ProgramBuildInfoFileIdListId) { @@ -1458,6 +1486,22 @@ namespace ts { } } + export function getBuildInfoFileVersionMap( + program: ProgramBuildInfo, + buildInfoPath: string, + host: Pick + ): ESMap { + const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); + const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); + const fileInfos = new Map(); + program.fileInfos.forEach((fileInfo, index) => { + const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName); + const version = isString(fileInfo) ? fileInfo : (fileInfo as ProgramBuildInfoBuilderStateFileInfo).version; + fileInfos.set(path, version); + }); + return fileInfos; + } + export function createRedirectedBuilderProgram(getState: () => { program?: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: readonly Diagnostic[]): BuilderProgram { return { getState: notImplemented, diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 40504c501d518..d23c5d55d07cf 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -20,14 +20,14 @@ namespace ts { * Otherwise undefined * Thus non undefined value indicates, module emit */ - readonly referencedMap: BuilderState.ReadonlyManyToManyPathMap | undefined; + readonly referencedMap?: BuilderState.ReadonlyManyToManyPathMap | undefined; /** * Contains the map of exported modules ReferencedSet=exported module files from the file if module emit is enabled * Otherwise undefined * * This is equivalent to referencedMap, but for the emitted .d.ts file. */ - readonly exportedModulesMap: BuilderState.ManyToManyPathMap | undefined; + readonly exportedModulesMap?: BuilderState.ManyToManyPathMap | undefined; /** * true if file version is used as signature diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index c22361eb64339..ccdb8b047d4cc 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5276,6 +5276,10 @@ "category": "Message", "code": 6399 }, + "Project '{0}' is up to date but needs update to timestamps of output files that are older than input files": { + "category": "Message", + "code": 6400 + }, "The expected type comes from property '{0}' which is declared here on type '{1}'": { "category": "Message", diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index 5140cd87669f3..570e73014b863 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -23,6 +23,7 @@ namespace ts { UpstreamBlocked, ComputingUpstream, TsVersionOutputOfDate, + UpToDateWithInputFileText, /** * Projects with no outputs (i.e. "solution" files) @@ -68,7 +69,7 @@ namespace ts { * We track what the newest input file is. */ export interface UpToDate { - type: UpToDateStatusType.UpToDate | UpToDateStatusType.UpToDateWithUpstreamTypes; + type: UpToDateStatusType.UpToDate | UpToDateStatusType.UpToDateWithUpstreamTypes | UpToDateStatusType.UpToDateWithInputFileText; newestInputFileTime?: Date; newestInputFileName?: string; newestDeclarationFileContentChangedTime: Date | undefined; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 18e05baff6427..ea8b6c2635df3 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1256,7 +1256,7 @@ namespace ts { continue; } - if (status.type === UpToDateStatusType.UpToDateWithUpstreamTypes) { + if (status.type === UpToDateStatusType.UpToDateWithUpstreamTypes || status.type === UpToDateStatusType.UpToDateWithInputFileText) { reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); return createUpdateOutputFileStampsProject( state, @@ -1517,6 +1517,8 @@ namespace ts { let oldestOutputFileName = "(none)"; let oldestOutputFileTime = maximumDate; let buildInfoTime: Date | undefined; + let buildInfoProgram: ProgramBuildInfo | undefined; + let buildInfoVersionMap: ESMap | undefined; let newestDeclarationFileContentChangedTime; if (buildInfoPath) { const buildInfoCacheEntry = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath); @@ -1551,6 +1553,7 @@ namespace ts { buildInfoFile: buildInfoPath }; } + buildInfoProgram = buildInfo.program; } oldestOutputFileTime = buildInfoTime; @@ -1561,6 +1564,7 @@ namespace ts { // Check input files let newestInputFileName: string = undefined!; let newestInputFileTime = minimumDate; + let pseudoInputUptodate = false; // Get timestamps of input files for (const inputFile of project.fileNames) { const inputTime = getModifiedTime(state, inputFile); @@ -1573,11 +1577,24 @@ namespace ts { // If an buildInfo is older than the newest input, we can stop checking if (buildInfoTime && buildInfoTime < inputTime) { - return { - type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: buildInfoPath!, - newerInputFileName: inputFile - }; + let version: string | undefined; + let currentVersion: string | undefined; + if (buildInfoProgram) { + // Read files and see if they are same, read is anyways cached + if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath!, host); + version = buildInfoVersionMap.get(toPath(state, inputFile)); + const text = version ? state.readFileWithCache(inputFile) : undefined; + currentVersion = text && (host.createHash || generateDjb2Hash)(text); + if (version && version === currentVersion) pseudoInputUptodate = true; + } + + if (!version || version !== currentVersion) { + return { + type: UpToDateStatusType.OutOfDateWithSelf, + outOfDateOutputFileName: buildInfoPath!, + newerInputFileName: inputFile + }; + } } if (inputTime > newestInputFileTime) { @@ -1692,7 +1709,11 @@ namespace ts { // Up to date return { - type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : UpToDateStatusType.UpToDate, + type: pseudoUpToDate ? + UpToDateStatusType.UpToDateWithUpstreamTypes : + pseudoInputUptodate ? + UpToDateStatusType.UpToDateWithInputFileText : + UpToDateStatusType.UpToDate, newestDeclarationFileContentChangedTime, newestInputFileTime, newestInputFileName, @@ -1845,6 +1866,7 @@ namespace ts { } // falls through + case UpToDateStatusType.UpToDateWithInputFileText: case UpToDateStatusType.UpToDateWithUpstreamTypes: case UpToDateStatusType.OutOfDateWithPrepend: if (!(buildResult & BuildResultFlags.DeclarationOutputUnchanged)) { @@ -2289,6 +2311,12 @@ namespace ts { Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, relName(state, configFileName) ); + case UpToDateStatusType.UpToDateWithInputFileText: + return reportStatus( + state, + Diagnostics.Project_0_is_up_to_date_but_needs_update_to_timestamps_of_output_files_that_are_older_than_input_files, + relName(state, configFileName) + ); case UpToDateStatusType.UpstreamOutOfDate: return reportStatus( state, diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index b501f2836f2c4..240ca3ccd23e4 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -214,41 +214,58 @@ interface Symbol { changeFileSet?: readonly string[]; emitSignatures?: readonly ReadableProgramBuildInfoEmitSignature[]; }; + type ReadableProgramBundleEmitBuildInfo = Omit & { + fileInfos: MapLike; + }; + + type ReadableProgramBuildInfo = ReadableProgramMultiFileEmitBuildInfo | ReadableProgramBundleEmitBuildInfo; - type ReadableProgramBuildInfo = ReadableProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo; + function isReadableProgramBundleEmitBuildInfo(info: ReadableProgramBuildInfo | undefined): info is ReadableProgramBundleEmitBuildInfo { + return !!info && !!outFile(info.options || {}); + } type ReadableBuildInfo = Omit & { program: ReadableProgramBuildInfo | undefined; size: number; }; function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) { - const fileInfos: ReadableProgramBuildInfo["fileInfos"] = {}; - const buildInfoProgram = buildInfo.program as (ProgramMultiFileEmitBuildInfo & ProgramBundleEmitBuildInfo) | undefined; - buildInfoProgram?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); - const fileNamesList = buildInfoProgram?.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); - const program: ReadableProgramBuildInfo | undefined = buildInfoProgram && { - fileNames: buildInfoProgram.fileNames, - fileNamesList, - fileInfos: buildInfoProgram.fileInfos ? fileInfos : undefined!, - options: buildInfoProgram.options, - referencedMap: toMapOfReferencedSet(buildInfoProgram.referencedMap), - exportedModulesMap: toMapOfReferencedSet(buildInfoProgram.exportedModulesMap), - semanticDiagnosticsPerFile: buildInfoProgram.semanticDiagnosticsPerFile?.map(d => - isNumber(d) ? - toFileName(d) : - [toFileName(d[0]), d[1]] - ), - affectedFilesPendingEmit: buildInfoProgram.affectedFilesPendingEmit?.map(([fileId, emitKind]) => [ - toFileName(fileId), - emitKind === BuilderFileEmit.DtsOnly ? "DtsOnly" : - emitKind === BuilderFileEmit.Full ? "Full" : - Debug.assertNever(emitKind) - ]), - changeFileSet: buildInfoProgram.changeFileSet?.map(toFileName), - emitSignatures: buildInfoProgram.emitSignatures?.map(s => - isNumber(s) ? - toFileName(s) : - [toFileName(s[0]), s[1]] - ), - outSignature: buildInfoProgram.outSignature, - dtsChangeTime: buildInfoProgram.dtsChangeTime, - }; + let program: ReadableProgramBuildInfo | undefined; + let fileNamesList: string[][] | undefined; + if (buildInfo.program && isProgramBundleEmitBuildInfo(buildInfo.program)) { + const fileInfos: ReadableProgramBundleEmitBuildInfo["fileInfos"] = {}; + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = fileInfo); + program = { + ...buildInfo.program, + fileInfos + }; + } + else if (buildInfo.program) { + const fileInfos: ReadableProgramMultiFileEmitBuildInfo["fileInfos"] = {}; + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); + fileNamesList = buildInfo.program.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); + program = buildInfo.program && { + fileNames: buildInfo.program.fileNames, + fileNamesList, + fileInfos: buildInfo.program.fileInfos ? fileInfos : undefined!, + options: buildInfo.program.options, + referencedMap: toMapOfReferencedSet(buildInfo.program.referencedMap), + exportedModulesMap: toMapOfReferencedSet(buildInfo.program.exportedModulesMap), + semanticDiagnosticsPerFile: buildInfo.program.semanticDiagnosticsPerFile?.map(d => + isNumber(d) ? + toFileName(d) : + [toFileName(d[0]), d[1]] + ), + affectedFilesPendingEmit: buildInfo.program.affectedFilesPendingEmit?.map(([fileId, emitKind]) => [ + toFileName(fileId), + emitKind === BuilderFileEmit.DtsOnly ? "DtsOnly" : + emitKind === BuilderFileEmit.Full ? "Full" : + Debug.assertNever(emitKind) + ]), + changeFileSet: buildInfo.program.changeFileSet?.map(toFileName), + emitSignatures: buildInfo.program.emitSignatures?.map(s => + isNumber(s) ? + toFileName(s) : + [toFileName(s[0]), s[1]] + ), + dtsChangeTime: buildInfo.program.dtsChangeTime, + }; + } const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version; const result: ReadableBuildInfo = { // Baseline fixed order for bundle @@ -275,7 +292,7 @@ interface Symbol { sys.writeFile(`${buildInfoPath}.readable.baseline.txt`, JSON.stringify(result, /*replacer*/ undefined, 2)); function toFileName(fileId: ProgramBuildInfoFileId) { - return buildInfoProgram!.fileNames[fileId - 1]; + return buildInfo.program!.fileNames[fileId - 1]; } function toFileNames(fileIdsListId: ProgramBuildInfoFileIdListId) { @@ -375,10 +392,10 @@ interface Symbol { const { buildInfo: incrementalBuildInfo, readableBuildInfo: incrementalReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(incrementalBuildText); const { buildInfo: cleanBuildInfo, readableBuildInfo: cleanReadableBuildInfo } = getBuildInfoForIncrementalCorrectnessCheck(cleanBuildText); verifyTextEqual(incrementalBuildInfo, cleanBuildInfo, `TsBuild info text without affectedFilesPendingEmit:: ${outputFile}::`); - // Verify file info sigantures + // Verify file info sigantures verifyMapLike( - incrementalReadableBuildInfo?.program?.fileInfos, - cleanReadableBuildInfo?.program?.fileInfos, + incrementalReadableBuildInfo?.program?.fileInfos as ReadableProgramMultiFileEmitBuildInfo["fileInfos"], + cleanReadableBuildInfo?.program?.fileInfos as ReadableProgramMultiFileEmitBuildInfo["fileInfos"], (key, incrementalFileInfo, cleanFileInfo) => { if (incrementalFileInfo.signature !== cleanFileInfo.signature && incrementalFileInfo.signature !== incrementalFileInfo.version) { return [ @@ -390,44 +407,47 @@ interface Symbol { }, `FileInfos:: File:: ${outputFile}` ); - // Verify exportedModulesMap - verifyMapLike( - incrementalReadableBuildInfo?.program?.exportedModulesMap, - cleanReadableBuildInfo?.program?.exportedModulesMap, - (key, incrementalReferenceSet, cleanReferenceSet) => { - if (!arrayIsEqualTo(incrementalReferenceSet, cleanReferenceSet) && !arrayIsEqualTo(incrementalReferenceSet, incrementalReadableBuildInfo!.program!.referencedMap![key])) { - return [ - `Incremental Reference set is neither from dts nor files reference map for File:: ${key}::`, - `Incremental:: ${JSON.stringify(incrementalReferenceSet, /*replacer*/ undefined, 2)}`, - `Clean:: ${JSON.stringify(cleanReferenceSet, /*replacer*/ undefined, 2)}`, - `IncrementalReferenceMap:: ${JSON.stringify(incrementalReadableBuildInfo!.program!.referencedMap![key], /*replacer*/ undefined, 2)}`, - `CleanReferenceMap:: ${JSON.stringify(cleanReadableBuildInfo!.program!.referencedMap![key], /*replacer*/ undefined, 2)}`, - ]; - } - }, - `exportedModulesMap:: File:: ${outputFile}` - ); - // Verify that incrementally pending affected file emit are in clean build since clean build can contain more files compared to incremental depending of noEmitOnError option - if (incrementalReadableBuildInfo?.program?.affectedFilesPendingEmit) { - if (cleanReadableBuildInfo?.program?.affectedFilesPendingEmit === undefined) { - addBaseline( - `Incremental build contains affectedFilesPendingEmit, clean build does not have it: ${outputFile}::`, - `Incremental buildInfoText:: ${incrementalBuildText}`, - `Clean buildInfoText:: ${cleanBuildText}` - ); - } - let expectedIndex = 0; - incrementalReadableBuildInfo.program.affectedFilesPendingEmit.forEach(([actualFile]) => { - expectedIndex = findIndex(cleanReadableBuildInfo!.program!.affectedFilesPendingEmit!, ([expectedFile]) => actualFile === expectedFile, expectedIndex); - if (expectedIndex === -1) { + if (!isReadableProgramBundleEmitBuildInfo(incrementalReadableBuildInfo?.program)) { + Debug.assert(!isReadableProgramBundleEmitBuildInfo(cleanReadableBuildInfo?.program)); + // Verify exportedModulesMap + verifyMapLike( + incrementalReadableBuildInfo?.program?.exportedModulesMap, + cleanReadableBuildInfo?.program?.exportedModulesMap, + (key, incrementalReferenceSet, cleanReferenceSet) => { + if (!arrayIsEqualTo(incrementalReferenceSet, cleanReferenceSet) && !arrayIsEqualTo(incrementalReferenceSet, (incrementalReadableBuildInfo!.program! as ReadableProgramMultiFileEmitBuildInfo).referencedMap![key])) { + return [ + `Incremental Reference set is neither from dts nor files reference map for File:: ${key}::`, + `Incremental:: ${JSON.stringify(incrementalReferenceSet, /*replacer*/ undefined, 2)}`, + `Clean:: ${JSON.stringify(cleanReferenceSet, /*replacer*/ undefined, 2)}`, + `IncrementalReferenceMap:: ${JSON.stringify((incrementalReadableBuildInfo!.program! as ReadableProgramMultiFileEmitBuildInfo).referencedMap![key], /*replacer*/ undefined, 2)}`, + `CleanReferenceMap:: ${JSON.stringify((cleanReadableBuildInfo!.program! as ReadableProgramMultiFileEmitBuildInfo).referencedMap![key], /*replacer*/ undefined, 2)}`, + ]; + } + }, + `exportedModulesMap:: File:: ${outputFile}` + ); + // Verify that incrementally pending affected file emit are in clean build since clean build can contain more files compared to incremental depending of noEmitOnError option + if (incrementalReadableBuildInfo?.program?.affectedFilesPendingEmit) { + if (cleanReadableBuildInfo?.program?.affectedFilesPendingEmit === undefined) { addBaseline( - `Incremental build contains ${actualFile} file as pending emit, clean build does not have it: ${outputFile}::`, + `Incremental build contains affectedFilesPendingEmit, clean build does not have it: ${outputFile}::`, `Incremental buildInfoText:: ${incrementalBuildText}`, `Clean buildInfoText:: ${cleanBuildText}` ); } - expectedIndex++; - }); + let expectedIndex = 0; + incrementalReadableBuildInfo.program.affectedFilesPendingEmit.forEach(([actualFile]) => { + expectedIndex = findIndex((cleanReadableBuildInfo!.program! as ReadableProgramMultiFileEmitBuildInfo).affectedFilesPendingEmit!, ([expectedFile]) => actualFile === expectedFile, expectedIndex); + if (expectedIndex === -1) { + addBaseline( + `Incremental build contains ${actualFile} file as pending emit, clean build does not have it: ${outputFile}::`, + `Incremental buildInfoText:: ${incrementalBuildText}`, + `Clean buildInfoText:: ${cleanBuildText}` + ); + } + expectedIndex++; + }); + } } } } @@ -502,12 +522,13 @@ interface Symbol { } { if (!text) return { buildInfo: text }; const readableBuildInfo = JSON.parse(text) as ReadableBuildInfo; - let sanitizedFileInfos: MapLike | undefined; + let sanitizedFileInfos: MapLike | undefined; if (readableBuildInfo.program?.fileInfos) { sanitizedFileInfos = {}; for (const id in readableBuildInfo.program.fileInfos) { if (hasProperty(readableBuildInfo.program.fileInfos, id)) { - sanitizedFileInfos[id] = { ...readableBuildInfo.program.fileInfos[id], signature: undefined }; + const info = readableBuildInfo.program.fileInfos[id]; + sanitizedFileInfos[id] = isString(info) ? info : { ...info, signature: undefined }; } } } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 3ff0e7200472c..929880f584308 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -470,7 +470,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -587,6 +587,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -595,7 +603,7 @@ declare const myVar = 30; "dtsChangeTime": 20000 }, "version": "FakeTSVersion", - "size": 2866 + "size": 3018 } //// [/src/lib/module.d.ts] @@ -866,7 +874,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}],"mapHash":"15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}],"mapHash":"15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -938,6 +946,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -946,7 +966,7 @@ declare const globalConst = 10; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1995 + "size": 2217 } @@ -1202,7 +1222,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":20000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1320,6 +1340,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1328,7 +1356,7 @@ declare const myVar = 30; "dtsChangeTime": 20000 }, "version": "FakeTSVersion", - "size": 2939 + "size": 3091 } //// [/src/lib/module.d.ts] file written with same contents @@ -1500,7 +1528,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}],"mapHash":"32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}],"mapHash":"32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1573,6 +1601,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-4405159098-export const x = 10;console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1581,6 +1621,6 @@ declare const globalConst = 10; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 2068 + "size": 2304 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js index 03fc79655263e..bcb665f20d236 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js @@ -1118,7 +1118,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1328,6 +1328,14 @@ declare const appfile4_ar: number[]; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1336,7 +1344,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 6665 + "size": 7011 } //// [/src/lib/module.d.ts] @@ -1961,7 +1969,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2113,6 +2121,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", + "./file1.ts": "186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -2121,7 +2141,7 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 4798 + "size": 5211 } @@ -2908,7 +2928,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3119,6 +3139,14 @@ declare const appfile4_ar: number[]; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" + }, "options": { "composite": true, "outFile": "./module.js" @@ -3127,7 +3155,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 6737 + "size": 7083 } //// [/src/lib/module.d.ts] file written with same contents @@ -3599,7 +3627,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3752,6 +3780,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", + "./file1.ts": "12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -3760,7 +3800,7 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 4870 + "size": 5300 } @@ -4460,7 +4500,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4669,6 +4709,14 @@ declare const appfile4_ar: number[]; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" + }, "options": { "composite": true, "outFile": "./module.js" @@ -4677,7 +4725,7 @@ declare const appfile4_ar: number[]; "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 6517 + "size": 6863 } //// [/src/lib/module.d.ts] file written with same contents @@ -5042,7 +5090,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() { }\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -5173,6 +5221,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", + "./file1.ts": "-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -5181,6 +5241,6 @@ declare const globalConst = 10; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 4025 + "size": 4404 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js index e2b47de8cc342..72746a89d99b0 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js @@ -564,7 +564,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -747,6 +747,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -755,7 +763,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 3532 + "size": 3718 } //// [/src/lib/module.d.ts] @@ -1081,7 +1089,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-10726455937-export const x = 10;","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1224,6 +1232,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "9536729713-\"myPrologue\"\nconst myGlob = 20;", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", + "./global.ts": "7757520337-\"myPrologue3\"\nconst globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1232,7 +1252,7 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 2646 + "size": 2920 } @@ -1572,7 +1592,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1756,6 +1776,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1764,7 +1792,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 3603 + "size": 3789 } //// [/src/lib/module.d.ts] file written with same contents @@ -1988,7 +2016,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2132,6 +2160,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "9536729713-\"myPrologue\"\nconst myGlob = 20;", + "./file1.ts": "-4405159098-export const x = 10;console.log(x);", + "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", + "./global.ts": "7757520337-\"myPrologue3\"\nconst globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -2140,7 +2180,7 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 2718 + "size": 3006 } @@ -2673,7 +2713,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2858,6 +2898,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -2866,7 +2914,7 @@ declare const myVar = 30; "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 3639 + "size": 3825 } //// [/src/lib/module.d.ts] file written with same contents @@ -3225,7 +3273,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologueFile\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":16000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3370,6 +3418,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "9536729713-\"myPrologue\"\nconst myGlob = 20;", + "./file1.ts": "-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);", + "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", + "./global.ts": "7757520337-\"myPrologue3\"\nconst globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -3378,6 +3438,6 @@ declare const globalConst = 10; "dtsChangeTime": 16000 }, "version": "FakeTSVersion", - "size": 2761 + "size": 3066 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js index c919c0a7500ed..3b1dd12e1a63c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -483,7 +483,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -600,6 +600,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -608,7 +616,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 2952 + "size": 3128 } //// [/src/lib/module.d.ts] @@ -887,7 +895,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","378638433-#!someshebang lib file1\nexport const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -959,6 +967,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "7942086417-#!someshebang lib file0\nconst myGlob = 20;", + "./file1.ts": "378638433-#!someshebang lib file1\nexport const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -967,7 +987,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2081 + "size": 2350 } @@ -1229,7 +1249,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1347,6 +1367,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1355,7 +1383,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 3026 + "size": 3202 } //// [/src/lib/module.d.ts] file written with same contents @@ -1531,7 +1559,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1604,6 +1632,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "7942086417-#!someshebang lib file0\nconst myGlob = 20;", + "./file1.ts": "7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1612,6 +1652,6 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2154 + "size": 2439 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 77f8e6d505a8f..be7fa4202771a 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -1979,7 +1979,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2189,6 +2189,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -2197,7 +2205,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 9037 + "size": 9189 } //// [/src/lib/module.d.ts] @@ -4579,7 +4587,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4840,6 +4848,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4331635807-/*@internal*/ const myGlob = 20;", + "./file1.ts": "21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -4848,7 +4868,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 11666 + "size": 13096 } @@ -6572,7 +6592,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -6783,6 +6803,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -6791,7 +6819,7 @@ declare const myVar = 30; "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 9109 + "size": 9261 } //// [/src/lib/module.d.ts] file written with same contents @@ -8406,7 +8434,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -8668,6 +8696,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4331635807-/*@internal*/ const myGlob = 20;", + "./file1.ts": "15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -8676,7 +8716,7 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 11737 + "size": 13182 } @@ -10607,7 +10647,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":73000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":73000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -10817,6 +10857,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -10825,7 +10873,7 @@ declare const myVar = 30; "dtsChangeTime": 73000 }, "version": "FakeTSVersion", - "size": 9041 + "size": 9193 } //// [/src/lib/module.d.ts] file written with same contents @@ -13183,7 +13231,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -13460,6 +13508,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts" + ], + "fileInfos": { + "./file0.ts": "4331635807-/*@internal*/ const myGlob = 20;", + "./file1.ts": "40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -13468,6 +13528,6 @@ declare const globalConst = 10; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 11833 + "size": 13292 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js index a5a84dd4b980d..eeffeb86d6717 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js @@ -606,7 +606,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -747,6 +747,16 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts", + "./tripleref.d.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;", + "./tripleref.d.ts": "-3347356200-declare class appfile4 { }" + }, "options": { "composite": true, "outFile": "./module.js" @@ -755,7 +765,7 @@ declare const myVar = 30; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 3689 + "size": 3981 } //// [/src/lib/module.d.ts] @@ -1089,7 +1099,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1173,6 +1183,20 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts", + "./tripleref.d.ts" + ], + "fileInfos": { + "./file0.ts": "11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;", + "./tripleref.d.ts": "-2339691926-declare class libfile0 { }" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1181,7 +1205,7 @@ declare const globalConst = 10; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 2394 + "size": 2756 } @@ -1513,7 +1537,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1655,6 +1679,16 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts", + "./tripleref.d.ts" + ], + "fileInfos": { + "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", + "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;", + "./tripleref.d.ts": "-3347356200-declare class appfile4 { }" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1663,7 +1697,7 @@ declare const myVar = 30; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 3759 + "size": 4051 } //// [/src/lib/module.d.ts] file written with same contents @@ -1873,7 +1907,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1958,6 +1992,20 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./file0.ts", + "./file1.ts", + "./file2.ts", + "./global.ts", + "./tripleref.d.ts" + ], + "fileInfos": { + "./file0.ts": "11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;", + "./file1.ts": "-4405159098-export const x = 10;console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;", + "./tripleref.d.ts": "-2339691926-declare class libfile0 { }" + }, "options": { "composite": true, "outFile": "./module.js" @@ -1966,6 +2014,6 @@ declare const globalConst = 10; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 2465 + "size": 2841 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index 2c428092b7e94..dfd14f76c03cc 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -471,7 +471,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -588,6 +588,14 @@ declare const myVar = 30; } }, "program": { + "fileNames": [ + "./file3.ts", + "./file4.ts" + ], + "fileInfos": { + "./file3.ts": "3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";", + "./file4.ts": "1463681686-const myVar = 30;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -596,7 +604,7 @@ declare const myVar = 30; "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 2882 + "size": 3037 } //// [/src/module.d.ts] @@ -868,7 +876,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"lib/file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -940,6 +948,18 @@ declare const globalConst = 10; } }, "program": { + "fileNames": [ + "./lib/file0.ts", + "./lib/file1.ts", + "./lib/file2.ts", + "./lib/global.ts" + ], + "fileInfos": { + "./lib/file0.ts": "3587416848-const myGlob = 20;", + "./lib/file1.ts": "-10726455937-export const x = 10;", + "./lib/file2.ts": "-13729954175-export const y = 20;", + "./lib/global.ts": "1028229885-const globalConst = 10;" + }, "options": { "composite": true, "outFile": "./module.js" @@ -948,6 +968,6 @@ declare const globalConst = 10; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 2068 + "size": 2306 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js index 47c648506cd3b..91eabdd0aeda7 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js @@ -134,7 +134,7 @@ type Nominal = T & { //// [/src/common/common.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"fileNames":["./nominal.js"],"fileInfos":["-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n"],"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/common/common.tsbuildinfo.baseline.txt] ====================================================================== @@ -186,6 +186,12 @@ type Nominal = T & { } }, "program": { + "fileNames": [ + "./nominal.js" + ], + "fileInfos": { + "./nominal.js": "-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n" + }, "options": { "composite": true, "outFile": "./common.js" @@ -194,7 +200,7 @@ type Nominal = T & { "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 595 + "size": 737 } //// [/src/sub-project/sub-project.d.ts] @@ -220,7 +226,7 @@ var c = /** @type {*} */ (null); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n"],"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -317,6 +323,12 @@ type MyNominal = Nominal; } }, "program": { + "fileNames": [ + "./index.js" + ], + "fileInfos": { + "./index.js": "2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n" + }, "options": { "composite": true, "outFile": "./sub-project.js" @@ -325,7 +337,7 @@ type MyNominal = Nominal; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1219 + "size": 1373 } //// [/src/sub-project-2/sub-project-2.d.ts] @@ -367,7 +379,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -480,6 +492,12 @@ declare namespace variable { } }, "program": { + "fileNames": [ + "./index.js" + ], + "fileInfos": { + "./index.js": "2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n" + }, "options": { "composite": true, "outFile": "./sub-project-2.js" @@ -488,7 +506,7 @@ declare namespace variable { "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1761 + "size": 1976 } @@ -522,7 +540,7 @@ var c = /** @type {*} */ (undefined); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n"],"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -619,6 +637,12 @@ type MyNominal = Nominal; } }, "program": { + "fileNames": [ + "./index.js" + ], + "fileInfos": { + "./index.js": "7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n" + }, "options": { "composite": true, "outFile": "./sub-project.js" @@ -627,7 +651,7 @@ type MyNominal = Nominal; "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 1223 + "size": 1382 } //// [/src/sub-project-2/sub-project-2.js] @@ -651,7 +675,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","dtsChangeTime":31000},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -764,6 +788,12 @@ declare namespace variable { } }, "program": { + "fileNames": [ + "./index.js" + ], + "fileInfos": { + "./index.js": "2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n" + }, "options": { "composite": true, "outFile": "./sub-project-2.js" @@ -772,6 +802,6 @@ declare namespace variable { "dtsChangeTime": 31000 }, "version": "FakeTSVersion", - "size": 1766 + "size": 1981 } diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index 4859cf15838c4..23ea2d18cd506 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":6000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":6000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -239,6 +239,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -247,6 +255,6 @@ declare class C { "dtsChangeTime": 6000 }, "version": "FakeTSVersion", - "size": 1795 + "size": 2160 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index d078912ecc5cb..9330715ed072d 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -119,6 +119,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -127,7 +135,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -157,7 +165,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -220,6 +228,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -228,7 +246,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/first/first_PART1.ts] @@ -368,7 +386,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -526,6 +544,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -534,7 +558,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 50b168f8071da..9f33b555d038f 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -119,6 +119,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -127,7 +135,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -157,7 +165,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -220,6 +228,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -228,7 +246,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/first/first_PART1.ts] @@ -368,7 +386,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -526,6 +544,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -534,7 +558,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 2d3216b097dd5..2b28b9604ae2d 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -256,6 +256,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -264,7 +272,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -294,7 +302,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -357,6 +365,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -365,7 +383,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -637,7 +655,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -701,6 +719,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -709,7 +737,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -805,7 +833,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -870,6 +898,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -878,7 +916,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1810 + "size": 2211 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 38b1da82ada61..662df53c3ba43 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -119,6 +119,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -127,7 +135,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -157,7 +165,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -220,6 +228,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -228,7 +246,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/first/first_PART1.ts] @@ -368,7 +386,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -526,6 +544,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -534,7 +558,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } //// [/src/third/third_part1.ts] @@ -594,7 +618,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":58000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":58000},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] @@ -629,6 +653,14 @@ exitCode:: ExitStatus.Success } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -637,7 +669,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 58000 }, "version": "FakeTSCurrentVersion", - "size": 1803 + "size": 2168 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -645,7 +677,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":47000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":47000},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -681,6 +713,16 @@ exitCode:: ExitStatus.Success } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -689,7 +731,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 47000 }, "version": "FakeTSCurrentVersion", - "size": 1699 + "size": 2070 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -697,7 +739,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] @@ -783,6 +825,12 @@ exitCode:: ExitStatus.Success } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -791,6 +839,6 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 69000 }, "version": "FakeTSCurrentVersion", - "size": 3483 + "size": 3589 } diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 95f9612bed0b9..9c955f7f6d94b 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -256,6 +256,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -264,7 +272,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -294,7 +302,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -357,6 +365,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -365,7 +383,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index b5bbbfc622942..fcffd31aa2a71 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -119,6 +119,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -127,7 +135,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -217,6 +225,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -225,7 +243,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/first/first_PART1.ts] @@ -365,7 +383,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -523,6 +541,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -531,7 +555,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } //// [/src/third/third_part1.ts] @@ -589,7 +613,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":48000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":48000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -625,6 +649,16 @@ exitCode:: ExitStatus.Success } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -633,7 +667,7 @@ exitCode:: ExitStatus.Success "dtsChangeTime": 48000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 79b5c03c346db..03d37e060aa6e 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -256,6 +256,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -264,7 +272,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -294,7 +302,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -357,6 +365,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -365,7 +383,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -420,7 +438,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -578,6 +596,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -586,7 +610,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } @@ -603,26 +627,20 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is out of date because output 'src/first/bin/first-output.tsbuildinfo' is older than input 'src/first/first_PART1.ts' +[12:00:47 AM] Project 'src/first/tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files -[12:00:48 AM] Building project '/src/first/tsconfig.json'... +[12:00:48 AM] Updating output timestamps of project '/src/first/tsconfig.json'... -[12:00:57 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' +[12:00:51 AM] Project 'src/second/tsconfig.json' is up to date because newest input 'src/second/second_part1.ts' is older than output 'src/2/second-output.tsbuildinfo' -[12:00:58 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:52 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -[12:00:59 AM] Updating output of project '/src/third/tsconfig.json'... +[12:00:53 AM] Updating output of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success -//// [/src/first/bin/first-output.d.ts] file written with same contents -//// [/src/first/bin/first-output.d.ts.map] file written with same contents -//// [/src/first/bin/first-output.js] file written with same contents -//// [/src/first/bin/first-output.js.map] file written with same contents -//// [/src/first/bin/first-output.tsbuildinfo] file written with same contents -//// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/first/bin/first-output.tsbuildinfo] file changed its modified time //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js index 03ce31d74d7f3..aa64a7026c780 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -557,7 +557,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -627,6 +627,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -635,7 +643,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -939,7 +947,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1002,6 +1010,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1010,7 +1028,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1749,7 +1767,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1907,6 +1925,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1915,7 +1939,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } @@ -2278,7 +2302,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2341,6 +2365,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2349,7 +2383,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1690 + "size": 2059 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3088,7 +3122,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3246,6 +3280,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3254,7 +3294,7 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 3472 + "size": 3578 } @@ -3508,7 +3548,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3572,6 +3612,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3580,7 +3630,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1747 + "size": 2130 } //// [/src/third/thirdjs/output/third-output.js] @@ -4084,7 +4134,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4243,6 +4293,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4251,6 +4307,6 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 3531 + "size": 3637 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js index 3f215922560ef..991e2ea5d1ca4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -605,6 +605,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -613,7 +621,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -917,7 +925,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -980,6 +988,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -988,7 +1006,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js index 84f7cf98be8e5..0e5eebbe00d92 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js @@ -707,7 +707,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -805,6 +805,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -813,7 +821,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 2869 + "size": 3325 } //// [/src/first/bin/first-output.d.ts] @@ -1263,7 +1271,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1354,6 +1362,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1362,7 +1380,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 2751 + "size": 3210 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2492,7 +2510,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2686,6 +2704,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2694,7 +2718,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 5374 + "size": 5568 } @@ -3205,7 +3229,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3296,6 +3320,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3304,7 +3338,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 2746 + "size": 3203 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -4434,7 +4468,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4628,6 +4662,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4636,7 +4676,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 5368 + "size": 5562 } @@ -5017,7 +5057,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5109,6 +5149,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5117,7 +5167,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 2805 + "size": 3277 } //// [/src/third/thirdjs/output/third-output.js] @@ -5954,7 +6004,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6149,6 +6199,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -6157,7 +6213,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 5429 + "size": 5623 } @@ -6577,7 +6633,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6643,6 +6699,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -6651,7 +6717,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1946 + "size": 2368 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -7700,7 +7766,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7893,6 +7959,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -7901,6 +7973,6 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 5217 + "size": 5411 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js index a2960ab150260..15e8754524cad 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js @@ -683,7 +683,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -781,6 +781,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -789,7 +797,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 2869 + "size": 3325 } //// [/src/first/bin/first-output.d.ts] @@ -1130,7 +1138,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1195,6 +1203,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1203,7 +1221,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1892 + "size": 2300 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2123,7 +2141,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2306,6 +2324,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2314,7 +2338,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 4704 + "size": 4810 } @@ -2564,7 +2588,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2630,6 +2654,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2638,7 +2672,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1951 + "size": 2373 } //// [/src/third/thirdjs/output/third-output.js] @@ -3286,7 +3320,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3470,6 +3504,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3478,7 +3518,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 4763 + "size": 4869 } @@ -3987,7 +4027,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4079,6 +4119,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -4087,7 +4137,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 2811 + "size": 3285 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5101,7 +5151,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5287,6 +5337,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5295,6 +5351,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 4978 + "size": 5084 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 6e8a3dd8026c4..a32dee620608e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":21000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -629,6 +629,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -637,7 +645,7 @@ declare class C { "dtsChangeTime": 21000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -941,7 +949,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":9000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1004,6 +1012,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1012,7 +1030,7 @@ declare function f(): string; "dtsChangeTime": 9000 }, "version": "FakeTSVersion", - "size": 1691 + "size": 2062 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1751,7 +1769,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":33000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1909,6 +1927,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1917,7 +1941,7 @@ declare var c: C; "dtsChangeTime": 33000 }, "version": "FakeTSVersion", - "size": 3476 + "size": 3582 } @@ -2277,7 +2301,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2340,6 +2364,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2348,7 +2382,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1690 + "size": 2059 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3087,7 +3121,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3245,6 +3279,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3253,7 +3293,7 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 3472 + "size": 3578 } @@ -3493,7 +3533,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":54000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3557,6 +3597,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3565,7 +3615,7 @@ declare function f(): string; "dtsChangeTime": 54000 }, "version": "FakeTSVersion", - "size": 1747 + "size": 2130 } //// [/src/third/thirdjs/output/third-output.js] @@ -4069,7 +4119,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":66000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4228,6 +4278,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4236,6 +4292,6 @@ declare var c: C; "dtsChangeTime": 66000 }, "version": "FakeTSVersion", - "size": 3531 + "size": 3637 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js index 6e61fd475d191..22ee8f8aacf10 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js @@ -929,7 +929,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","dtsChangeTime":30000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1080,6 +1080,14 @@ declare const secondsecond_part2_ar: number[]; } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../second/second_part2.ts": "-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -1088,7 +1096,7 @@ declare const secondsecond_part2_ar: number[]; "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 4829 + "size": 5440 } //// [/src/first/bin/first-output.d.ts] @@ -1766,7 +1774,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1910,6 +1918,16 @@ declare const firstfirst_part3_ar: number[]; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1918,7 +1936,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 4699 + "size": 5302 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3636,7 +3654,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3903,6 +3921,12 @@ declare const thirdthird_part1_ar: number[]; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3911,7 +3935,7 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 8908 + "size": 9248 } @@ -4445,7 +4469,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4590,6 +4614,16 @@ declare const firstfirst_part3_ar: number[]; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -4598,7 +4632,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 4759 + "size": 5377 } //// [/src/third/thirdjs/output/third-output.js] @@ -5861,7 +5895,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6129,6 +6163,12 @@ declare const thirdthird_part1_ar: number[]; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -6137,7 +6177,7 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 8966 + "size": 9306 } @@ -6761,7 +6801,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","dtsChangeTime":18000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6884,6 +6924,16 @@ declare const firstfirst_part3_ar: number[]; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -6892,7 +6942,7 @@ declare const firstfirst_part3_ar: number[]; "dtsChangeTime": 18000 }, "version": "FakeTSVersion", - "size": 3917 + "size": 4483 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -8523,7 +8573,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8789,6 +8839,12 @@ declare const thirdthird_part1_ar: number[]; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -8797,6 +8853,6 @@ declare const thirdthird_part1_ar: number[]; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 8751 + "size": 9091 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js index 64db7e084e44f..7a1ff55fa4367 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js @@ -775,7 +775,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -902,6 +902,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -910,7 +918,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 3787 + "size": 4305 } //// [/src/first/bin/first-output.d.ts] @@ -1360,7 +1368,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1451,6 +1459,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1459,7 +1477,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 2751 + "size": 3210 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2697,7 +2715,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2938,6 +2956,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2946,7 +2970,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 6881 + "size": 7075 } @@ -3305,7 +3329,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3397,6 +3421,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3405,7 +3439,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 2811 + "size": 3285 } //// [/src/third/thirdjs/output/third-output.js] @@ -4314,7 +4348,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4556,6 +4590,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4564,7 +4604,7 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 6939 + "size": 7133 } @@ -4962,7 +5002,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5028,6 +5068,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5036,7 +5086,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 1951 + "size": 2373 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6192,7 +6242,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6432,6 +6482,12 @@ declare function forthirdthird_part1Rest(): void; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -6440,6 +6496,6 @@ declare function forthirdthird_part1Rest(): void; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 6724 + "size": 6918 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js index 0354ec7d0aed3..a4587405c2322 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js @@ -601,7 +601,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -741,6 +741,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -749,7 +757,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 2404 + "size": 2803 } //// [/src/first/bin/first-output.d.ts] @@ -1070,7 +1078,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1179,6 +1187,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1187,7 +1205,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 2080 + "size": 2466 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1989,7 +2007,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2220,6 +2238,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2228,7 +2252,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 4148 + "size": 4287 } @@ -2609,7 +2633,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2718,6 +2742,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2726,7 +2760,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 2077 + "size": 2462 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3528,7 +3562,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3759,6 +3793,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3767,7 +3807,7 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 4146 + "size": 4285 } @@ -4038,7 +4078,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4148,6 +4188,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -4156,7 +4206,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 2138 + "size": 2538 } //// [/src/third/thirdjs/output/third-output.js] @@ -4718,7 +4768,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4950,6 +5000,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4958,7 +5014,7 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 4204 + "size": 4343 } @@ -5376,7 +5432,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":62000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5504,6 +5560,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5512,7 +5578,7 @@ declare function f(): string; "dtsChangeTime": 62000 }, "version": "FakeTSVersion", - "size": 2320 + "size": 2737 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6339,7 +6405,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":74000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6580,6 +6646,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -6588,6 +6660,6 @@ declare var c: C; "dtsChangeTime": 74000 }, "version": "FakeTSVersion", - "size": 4301 + "size": 4440 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js index 8d1dd23ea2b78..0ff8d9dbed08d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js @@ -576,7 +576,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -698,6 +698,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -706,7 +714,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 2254 + "size": 2653 } //// [/src/first/bin/first-output.d.ts] @@ -1012,7 +1020,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1103,6 +1111,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1111,7 +1129,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 1905 + "size": 2276 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1890,7 +1908,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2094,6 +2112,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2102,7 +2126,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 3873 + "size": 3979 } @@ -2336,7 +2360,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2428,6 +2452,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2436,7 +2470,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 1963 + "size": 2349 } //// [/src/third/thirdjs/output/third-output.js] @@ -2978,7 +3012,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3183,6 +3217,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3191,7 +3231,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 3933 + "size": 4039 } @@ -3572,7 +3612,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3682,6 +3722,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3690,7 +3740,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 2145 + "size": 2547 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4497,7 +4547,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4711,6 +4761,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4719,6 +4775,6 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 4028 + "size": 4134 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js index a9b62ea05f538..031bb4e5133d6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js @@ -567,7 +567,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -637,6 +637,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -645,7 +653,7 @@ declare class C { "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 1915 + "size": 2314 } //// [/src/first/bin/first-output.d.ts] @@ -956,7 +964,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1019,6 +1027,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1027,7 +1045,7 @@ declare function f(): string; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 1800 + "size": 2236 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1777,7 +1795,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":37000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1935,6 +1953,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1943,7 +1967,7 @@ declare var c: C; "dtsChangeTime": 37000 }, "version": "FakeTSVersion", - "size": 3586 + "size": 3724 } @@ -2314,7 +2338,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2377,6 +2401,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2385,7 +2419,7 @@ declare function f(): string; "dtsChangeTime": 58000 }, "version": "FakeTSVersion", - "size": 1794 + "size": 2228 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3135,7 +3169,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3293,6 +3327,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3301,7 +3341,7 @@ declare var c: C; "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 3584 + "size": 3722 } @@ -3560,7 +3600,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":58000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3624,6 +3664,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3632,7 +3682,7 @@ declare function f(): string; "dtsChangeTime": 58000 }, "version": "FakeTSVersion", - "size": 1853 + "size": 2302 } //// [/src/third/thirdjs/output/third-output.js] @@ -4142,7 +4192,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4301,6 +4351,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4309,6 +4365,6 @@ declare var c: C; "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 3642 + "size": 3780 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js index 1a0aba752ea60..602e484347230 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js @@ -544,7 +544,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -614,6 +614,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -622,7 +630,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1915 + "size": 2314 } //// [/src/first/bin/first-output.d.ts] @@ -926,7 +934,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -989,6 +997,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -997,7 +1015,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1742,7 +1760,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1900,6 +1918,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1908,7 +1932,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3591 + "size": 3697 } @@ -2140,7 +2164,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2204,6 +2228,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2212,7 +2246,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.js] @@ -2719,7 +2753,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2878,6 +2912,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2886,6 +2926,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3647 + "size": 3753 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js index 18b3c083cb41b..d2307661fa82c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -657,6 +657,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -665,7 +673,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 2009 + "size": 2374 } //// [/src/first/bin/first-output.d.ts] @@ -971,7 +979,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1062,6 +1070,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1070,7 +1088,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1905 + "size": 2276 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1811,7 +1829,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1997,6 +2015,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2005,7 +2029,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 3690 + "size": 3796 } @@ -2370,7 +2394,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2461,6 +2485,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2469,7 +2503,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1902 + "size": 2271 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3210,7 +3244,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3396,6 +3430,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3404,7 +3444,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 3687 + "size": 3793 } @@ -3660,7 +3700,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3752,6 +3792,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3760,7 +3810,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1960 + "size": 2343 } //// [/src/third/thirdjs/output/third-output.js] @@ -4266,7 +4316,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4453,6 +4503,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4461,7 +4517,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 3745 + "size": 3851 } @@ -4864,7 +4920,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4974,6 +5030,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -4982,7 +5048,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 2138 + "size": 2538 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5748,7 +5814,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5944,6 +6010,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5952,6 +6024,6 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 3838 + "size": 3944 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js index d439cf11fdb90..1e33282848eea 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js @@ -539,7 +539,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -637,6 +637,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -645,7 +653,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 2009 + "size": 2374 } //// [/src/first/bin/first-output.d.ts] @@ -949,7 +957,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1012,6 +1020,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1020,7 +1038,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1761,7 +1779,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1928,6 +1946,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1936,7 +1960,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3555 + "size": 3661 } @@ -2168,7 +2192,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2232,6 +2256,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2240,7 +2274,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.js] @@ -2746,7 +2780,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2914,6 +2948,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2922,7 +2962,7 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3615 + "size": 3721 } @@ -3301,7 +3341,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3393,6 +3433,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3401,7 +3451,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1990 + "size": 2391 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4167,7 +4217,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4344,6 +4394,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -4352,6 +4408,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3706 + "size": 3812 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js index fd1eab088349f..4b0bcc9e128e4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -565,7 +565,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -635,6 +635,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -643,7 +651,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -1265,7 +1273,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1357,6 +1365,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1365,7 +1383,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 3053 + "size": 4362 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2218,7 +2236,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2381,6 +2399,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2389,6 +2413,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 3750 + "size": 3856 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 27da1881f7b12..da1c809abc99f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -2750,7 +2750,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3056,6 +3056,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -3064,7 +3072,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 10773 + "size": 12282 } //// [/src/first/bin/first-output.d.ts] @@ -3368,7 +3376,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3438,6 +3446,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3446,7 +3464,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2117 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5486,7 +5504,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5696,6 +5714,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5704,7 +5728,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 7866 + "size": 7972 } @@ -7474,7 +7498,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"47169317065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7781,6 +7805,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -7789,7 +7821,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 10832 + "size": 12341 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -7981,7 +8013,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8052,6 +8084,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8060,7 +8102,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 1789 + "size": 2190 } //// [/src/third/thirdjs/output/third-output.js] @@ -9843,7 +9885,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10054,6 +10096,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -10062,7 +10110,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 7926 + "size": 8032 } @@ -10919,7 +10967,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"68891964848-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"68891964848-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11219,6 +11267,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -11227,7 +11283,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 10793 + "size": 12302 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11539,7 +11595,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11603,6 +11659,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -11611,7 +11677,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11938,7 +12004,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":108000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":108000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12152,6 +12218,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -12160,6 +12232,6 @@ declare var c: C; "dtsChangeTime": 108000 }, "version": "FakeTSVersion", - "size": 8067 + "size": 8173 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js index 7aa5b30ac3234..46229025cf6ff 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js @@ -2480,7 +2480,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"109269358215-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"109269358215-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2729,6 +2729,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -2737,7 +2745,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 9558 + "size": 11067 } //// [/src/first/bin/first-output.d.ts] @@ -3041,7 +3049,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3111,6 +3119,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3119,7 +3137,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2117 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5159,7 +5177,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5405,6 +5423,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5413,7 +5437,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 8126 + "size": 8232 } @@ -5645,7 +5669,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5716,6 +5740,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5724,7 +5758,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1789 + "size": 2190 } //// [/src/third/thirdjs/output/third-output.js] @@ -7507,7 +7541,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7754,6 +7788,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -7762,7 +7802,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 8186 + "size": 8292 } @@ -8114,7 +8154,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8178,6 +8218,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8186,7 +8236,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8513,7 +8563,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":92000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":92000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8763,6 +8813,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -8771,6 +8827,6 @@ declare var c: C; "dtsChangeTime": 92000 }, "version": "FakeTSVersion", - "size": 8326 + "size": 8432 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index c493f35caaa6d..86666657974a4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -2986,7 +2986,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3292,6 +3292,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -3300,7 +3308,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 12214 + "size": 13723 } //// [/src/first/bin/first-output.d.ts] @@ -3610,7 +3618,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3680,6 +3688,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3688,7 +3706,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1769 + "size": 2155 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5828,7 +5846,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6038,6 +6056,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -6046,7 +6070,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 8429 + "size": 8535 } @@ -7916,7 +7940,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1513,"kind":"internal"},{"pos":1515,"end":1563,"kind":"text"}],"mapHash":"72637168065-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"28495717979-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"31678065536-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8223,6 +8247,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -8231,7 +8263,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 12273 + "size": 13782 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8423,7 +8455,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8494,6 +8526,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8502,7 +8544,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1827 + "size": 2228 } //// [/src/third/thirdjs/output/third-output.js] @@ -10385,7 +10427,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10596,6 +10638,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -10604,6 +10652,6 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 8486 + "size": 8592 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js index c15e230fe3cab..5052a720b0398 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -2710,7 +2710,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}],"mapHash":"-12724997-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"62726964264-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1341,"kind":"internal"},{"pos":1343,"end":1391,"kind":"text"}],"mapHash":"-12724997-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,aAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"62726964264-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"51852821357-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ declare type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2959,6 +2959,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -2967,7 +2975,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 10958 + "size": 12467 } //// [/src/first/bin/first-output.d.ts] @@ -3277,7 +3285,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3347,6 +3355,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3355,7 +3373,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1769 + "size": 2155 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5495,7 +5513,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5741,6 +5759,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5749,7 +5773,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 8689 + "size": 8795 } @@ -5981,7 +6005,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6052,6 +6076,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -6060,7 +6094,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1827 + "size": 2228 } //// [/src/third/thirdjs/output/third-output.js] @@ -7943,7 +7977,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8190,6 +8224,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -8198,6 +8238,6 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 8746 + "size": 8852 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js index 73e76c83a1227..e09395596cbcc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js @@ -560,7 +560,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -630,6 +630,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -638,7 +646,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -1424,7 +1432,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1548,6 +1556,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1556,7 +1574,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 4298 + "size": 5328 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2689,7 +2707,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2871,6 +2889,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2879,6 +2903,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 5362 + "size": 5468 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js index 92a69dd8267b5..6d489230a8fcb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -2770,7 +2770,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":26000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3076,6 +3076,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -3084,7 +3092,7 @@ declare class C { "dtsChangeTime": 26000 }, "version": "FakeTSVersion", - "size": 10773 + "size": 12262 } //// [/src/first/bin/first-output.d.ts] @@ -3388,7 +3396,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":14000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3458,6 +3466,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3466,7 +3484,7 @@ declare function f(): string; "dtsChangeTime": 14000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2115 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5506,7 +5524,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":38000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5716,6 +5734,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5724,7 +5748,7 @@ declare var c: C; "dtsChangeTime": 38000 }, "version": "FakeTSVersion", - "size": 7866 + "size": 7972 } @@ -8362,7 +8386,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8668,6 +8692,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -8676,7 +8708,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 10770 + "size": 12259 } //// [/src/first/bin/first-output.d.ts] @@ -8980,7 +9012,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9050,6 +9082,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -9058,7 +9100,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 1729 + "size": 2113 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11098,7 +11140,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11308,6 +11350,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -11316,7 +11364,7 @@ declare var c: C; "dtsChangeTime": 81000 }, "version": "FakeTSVersion", - "size": 7864 + "size": 7970 } @@ -13108,7 +13156,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"64998097715-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13415,6 +13463,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -13423,7 +13479,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 10829 + "size": 12318 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -13615,7 +13671,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13686,6 +13742,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -13694,7 +13760,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 1786 + "size": 2184 } //// [/src/third/thirdjs/output/third-output.js] @@ -15477,7 +15543,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":81000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -15688,6 +15754,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -15696,7 +15768,7 @@ declare var c: C; "dtsChangeTime": 81000 }, "version": "FakeTSVersion", - "size": 7923 + "size": 8029 } @@ -16575,7 +16647,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"-5262111010-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1182,"kind":"internal"},{"pos":1184,"end":1232,"kind":"text"}],"mapHash":"-5262111010-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-69637640283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-86912100598-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":70000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -16875,6 +16947,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -16883,7 +16963,7 @@ declare class C { "dtsChangeTime": 70000 }, "version": "FakeTSVersion", - "size": 10790 + "size": 12279 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -17195,7 +17275,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17259,6 +17339,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -17267,7 +17357,7 @@ declare function f(): string; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 1747 + "size": 2130 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -17594,7 +17684,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":149000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":149000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17808,6 +17898,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -17816,6 +17912,6 @@ declare var c: C; "dtsChangeTime": 149000 }, "version": "FakeTSVersion", - "size": 8065 + "size": 8171 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js index 91df5ca267f08..914b3c48b8dc2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js @@ -183,7 +183,7 @@ sourceFile:../first_PART1.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts"],"fileInfos":["2890484261-/* @internal */ const A = 1;"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","dtsChangeTime":13000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -231,6 +231,12 @@ declare const A = 1; } }, "program": { + "fileNames": [ + "../first_part1.ts" + ], + "fileInfos": { + "../first_part1.ts": "2890484261-/* @internal */ const A = 1;" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -239,7 +245,7 @@ declare const A = 1; "dtsChangeTime": 13000 }, "version": "FakeTSVersion", - "size": 923 + "size": 1013 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -319,7 +325,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["1943613816-const B = 2;"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","dtsChangeTime":25000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -395,6 +401,12 @@ declare const B = 2; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "1943613816-const B = 2;" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -403,6 +415,6 @@ declare const B = 2; "dtsChangeTime": 25000 }, "version": "FakeTSVersion", - "size": 993 + "size": 1070 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 8ddf9cc18b8e5..19b97c14d01be 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -2850,7 +2850,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3156,6 +3156,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -3164,7 +3172,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 11315 + "size": 12804 } //// [/src/first/bin/first-output.d.ts] @@ -3468,7 +3476,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3538,6 +3546,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3546,7 +3564,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2115 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5686,7 +5704,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5896,6 +5914,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5904,7 +5928,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 8410 + "size": 8516 } @@ -7774,7 +7798,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"-113365255-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8081,6 +8105,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -8089,7 +8121,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 11374 + "size": 12863 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -8281,7 +8313,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8352,6 +8384,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8360,7 +8402,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1789 + "size": 2188 } //// [/src/third/thirdjs/output/third-output.js] @@ -10243,7 +10285,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":41000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10454,6 +10496,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -10462,7 +10510,7 @@ declare var c: C; "dtsChangeTime": 41000 }, "version": "FakeTSVersion", - "size": 8469 + "size": 8575 } @@ -11319,7 +11367,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"28410673828-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1183,"kind":"internal"},{"pos":1185,"end":1233,"kind":"text"}],"mapHash":"28410673828-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-13432536459-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-25454326822-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":29000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11619,6 +11667,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -11627,7 +11683,7 @@ declare class C { "dtsChangeTime": 29000 }, "version": "FakeTSVersion", - "size": 11336 + "size": 12825 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -11939,7 +11995,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":17000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12003,6 +12059,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -12011,7 +12077,7 @@ declare function f(): string; "dtsChangeTime": 17000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12338,7 +12404,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":111000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":111000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12552,6 +12618,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -12560,6 +12632,6 @@ declare var c: C; "dtsChangeTime": 111000 }, "version": "FakeTSVersion", - "size": 8610 + "size": 8716 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js index 6bb93ccfec986..eee20bb14d4e6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js @@ -2580,7 +2580,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2829,6 +2829,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -2837,7 +2845,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 10105 + "size": 11594 } //// [/src/first/bin/first-output.d.ts] @@ -3141,7 +3149,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3211,6 +3219,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3219,7 +3237,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2115 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5359,7 +5377,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5605,6 +5623,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5613,7 +5637,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 8670 + "size": 8776 } @@ -5845,7 +5869,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5916,6 +5940,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5924,7 +5958,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1789 + "size": 2188 } //// [/src/third/thirdjs/output/third-output.js] @@ -7807,7 +7841,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8054,6 +8088,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -8062,7 +8102,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 8729 + "size": 8835 } @@ -8414,7 +8454,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8478,6 +8518,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8486,7 +8536,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8813,7 +8863,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":95000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":95000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9063,6 +9113,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -9071,6 +9127,6 @@ declare var c: C; "dtsChangeTime": 95000 }, "version": "FakeTSVersion", - "size": 8869 + "size": 8975 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 44f533fbd98fc..d90bc19d7d7dd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -2500,7 +2500,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1026,"kind":"internal"},{"pos":1028,"end":1076,"kind":"text"}],"mapHash":"-21406246021-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,aAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-9468064165-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-20504865920-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ndeclare type internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":24000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2749,6 +2749,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -2757,7 +2765,7 @@ declare class C { "dtsChangeTime": 24000 }, "version": "FakeTSVersion", - "size": 9559 + "size": 11048 } //// [/src/first/bin/first-output.d.ts] @@ -3061,7 +3069,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":12000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3131,6 +3139,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -3139,7 +3157,7 @@ declare function f(): string; "dtsChangeTime": 12000 }, "version": "FakeTSVersion", - "size": 1731 + "size": 2115 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5179,7 +5197,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":36000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5425,6 +5443,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5433,7 +5457,7 @@ declare var c: C; "dtsChangeTime": 36000 }, "version": "FakeTSVersion", - "size": 8126 + "size": 8232 } @@ -5796,7 +5820,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5866,6 +5890,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -5874,7 +5908,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1729 + "size": 2113 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -7914,7 +7948,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8160,6 +8194,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -8168,7 +8208,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 8124 + "size": 8230 } @@ -8422,7 +8462,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8493,6 +8533,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -8501,7 +8551,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1786 + "size": 2184 } //// [/src/third/thirdjs/output/third-output.js] @@ -10284,7 +10334,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":69000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10531,6 +10581,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -10539,7 +10595,7 @@ declare var c: C; "dtsChangeTime": 69000 }, "version": "FakeTSVersion", - "size": 8183 + "size": 8289 } @@ -10913,7 +10969,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":57000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10977,6 +11033,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -10985,7 +11051,7 @@ declare function f(): string; "dtsChangeTime": 57000 }, "version": "FakeTSVersion", - "size": 1747 + "size": 2130 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11312,7 +11378,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":121000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":121000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11562,6 +11628,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -11570,6 +11642,6 @@ declare var c: C; "dtsChangeTime": 121000 }, "version": "FakeTSVersion", - "size": 8325 + "size": 8431 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js index 85b863f21826b..bb5a3da2b7693 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js @@ -629,7 +629,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":27000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -710,6 +710,16 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts", + "../second/tripleref.d.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", + "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -718,7 +728,7 @@ declare class C { "dtsChangeTime": 27000 }, "version": "FakeTSVersion", - "size": 2226 + "size": 2762 } //// [/src/first/bin/first-output.d.ts] @@ -1079,7 +1089,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":15000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1153,6 +1163,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1161,7 +1181,7 @@ declare function f(): string; "dtsChangeTime": 15000 }, "version": "FakeTSVersion", - "size": 2089 + "size": 2553 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2066,7 +2086,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":39000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2257,6 +2277,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2265,7 +2291,7 @@ declare var c: C; "dtsChangeTime": 39000 }, "version": "FakeTSVersion", - "size": 4808 + "size": 5007 } @@ -2688,7 +2714,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2762,6 +2788,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2770,7 +2806,7 @@ declare function f(): string; "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 2084 + "size": 2546 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3675,7 +3711,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3866,6 +3902,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3874,7 +3916,7 @@ declare var c: C; "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 4801 + "size": 5000 } @@ -4158,7 +4200,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","dtsChangeTime":60000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4233,6 +4275,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -4241,7 +4293,7 @@ declare function f(): string; "dtsChangeTime": 60000 }, "version": "FakeTSVersion", - "size": 2142 + "size": 2618 } //// [/src/third/thirdjs/output/third-output.js] @@ -4832,7 +4884,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","dtsChangeTime":72000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5024,6 +5076,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -5032,6 +5090,6 @@ declare var c: C; "dtsChangeTime": 72000 }, "version": "FakeTSVersion", - "size": 4860 + "size": 5059 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js index dd135ae2176f2..abcc265575418 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js @@ -596,7 +596,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":23000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -677,6 +677,16 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts", + "../second/tripleref.d.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", + "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -685,7 +695,7 @@ declare class C { "dtsChangeTime": 23000 }, "version": "FakeTSVersion", - "size": 2226 + "size": 2762 } //// [/src/first/bin/first-output.d.ts] @@ -989,7 +999,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1052,6 +1062,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -1060,7 +1080,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1854,7 +1874,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2023,6 +2043,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2031,7 +2057,7 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 3926 + "size": 4032 } @@ -2263,7 +2289,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":11000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2327,6 +2353,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2335,7 +2371,7 @@ declare function f(): string; "dtsChangeTime": 11000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.js] @@ -2868,7 +2904,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":35000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3038,6 +3074,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -3046,6 +3088,6 @@ declare var c: C; "dtsChangeTime": 35000 }, "version": "FakeTSVersion", - "size": 3983 + "size": 4089 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js index 65c41e10508f2..d5c4c92599ce7 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -607,6 +607,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -615,7 +623,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -919,7 +927,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -982,6 +990,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -990,7 +1008,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js index efca28de87b9d..d4b143e882d51 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -607,6 +607,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -615,7 +623,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -919,7 +927,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -982,6 +990,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -990,7 +1008,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1957,7 +1975,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2021,6 +2039,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2029,7 +2057,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js index 444f99ae1d970..d12789c106fb6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js @@ -538,7 +538,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -608,6 +608,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -616,7 +624,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -920,7 +928,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -983,6 +991,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -991,7 +1009,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1730,7 +1748,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.baseline.txt] ====================================================================== @@ -1888,6 +1906,12 @@ declare var c: C; } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, "options": { "composite": true, "outFile": "./third-output.js", @@ -1897,6 +1921,6 @@ declare var c: C; "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3516 + "size": 3622 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js index f155e103b9cfd..74e1fcd33f658 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":22000},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -605,6 +605,14 @@ declare class C { } }, "program": { + "fileNames": [ + "../second/second_part1.ts", + "../second/second_part2.ts" + ], + "fileInfos": { + "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" + }, "options": { "composite": true, "outFile": "./second-output.js" @@ -613,7 +621,7 @@ declare class C { "dtsChangeTime": 22000 }, "version": "FakeTSVersion", - "size": 1796 + "size": 2161 } //// [/src/first/bin/first-output.d.ts] @@ -917,7 +925,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -980,6 +988,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -988,7 +1006,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1692 + "size": 2063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1646,7 +1664,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1785,6 +1803,12 @@ declare class C { } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "5381-" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -1793,7 +1817,7 @@ declare class C { "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3221 + "size": 3280 } @@ -2025,7 +2049,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","dtsChangeTime":10000},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2089,6 +2113,16 @@ declare function f(): string; } }, "program": { + "fileNames": [ + "../first_part1.ts", + "../first_part2.ts", + "../first_part3.ts" + ], + "fileInfos": { + "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../first_part2.ts": "4973778178-console.log(f());\r\n", + "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" + }, "options": { "composite": true, "outFile": "./first-output.js" @@ -2097,7 +2131,7 @@ declare function f(): string; "dtsChangeTime": 10000 }, "version": "FakeTSVersion", - "size": 1750 + "size": 2136 } //// [/src/third/thirdjs/output/third-output.js] @@ -2546,7 +2580,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","dtsChangeTime":34000},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2686,6 +2720,12 @@ declare class C { } }, "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "5381-" + }, "options": { "composite": true, "outFile": "./third-output.js" @@ -2694,6 +2734,6 @@ declare class C { "dtsChangeTime": 34000 }, "version": "FakeTSVersion", - "size": 3281 + "size": 3340 } diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 62468f008a837..b278be96d470e 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -732,8 +732,8 @@ readFiles:: { "/src/core/tsconfig.json": 1, "/src/logic/tsconfig.json": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/logic/index.ts": 1, @@ -1155,8 +1155,8 @@ readFiles:: { "/src/core/tsconfig.json": 1, "/src/logic/tsconfig.json": 1, "/src/core/tsconfig.tsbuildinfo": 1, - "/src/core/anotherModule.ts": 1, "/src/core/index.ts": 1, + "/src/core/anotherModule.ts": 1, "/src/core/some_decl.d.ts": 1, "/src/logic/tsconfig.tsbuildinfo": 1, "/src/tests/tsconfig.tsbuildinfo": 1 diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 204d132d7ef31..6ba160ff0cab5 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -421,19 +421,17 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:39 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/index.ts' +[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files -[12:00:40 AM] Building project '/src/core/tsconfig.json'... +[12:00:40 AM] Updating output timestamps of project '/src/core/tsconfig.json'... -[12:00:41 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:00:43 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:44 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:44 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:45 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:47 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:48 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies - -[12:00:49 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:00:48 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 21edb9e56690d..564bd36ec1980 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -651,28 +651,13 @@ Output:: >> Screen clear [12:02:00 AM] File change detected. Starting incremental compilation... -[12:02:01 AM] Project 'tsconfig.json' is out of date because output 'dev-build/tsconfig.tsbuildinfo' is older than input 'src/main.ts' +[12:02:01 AM] Project 'tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files -[12:02:02 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:02:02 AM] Updating output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... -[12:02:03 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:02:04 AM] Found 0 errors. Watching for file changes. -[12:02:05 AM] Found 0 errors. Watching for file changes. - - - -Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] -Program options: {"outDir":"/user/username/projects/noEmitOnError/dev-build","noEmitOnError":true,"watch":true,"incremental":true,"configFilePath":"/user/username/projects/noEmitOnError/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/noEmitOnError/shared/types/db.ts -/user/username/projects/noEmitOnError/src/main.ts -/user/username/projects/noEmitOnError/src/other.ts -Semantic diagnostics in builder refreshed for:: - -No shapes updated in the builder:: WatchedFiles:: /user/username/projects/noemitonerror/tsconfig.json: diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 75219c9eca839..b706bbbbc34b1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -216,24 +216,10 @@ Output:: >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... -[12:01:03 AM] Found 0 errors. Watching for file changes. +[12:00:51 AM] Found 0 errors. Watching for file changes. -Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] -Program options: {"composite":true,"watch":true,"configFilePath":"/user/username/projects/solution/app/tsconfig.json"} -Program structureReused: Not -Program files:: -/a/lib/lib.d.ts -/user/username/projects/solution/app/fileWithError.ts -/user/username/projects/solution/app/fileWithoutError.ts - -Semantic diagnostics in builder refreshed for:: -/user/username/projects/solution/app/fileWithError.ts - -Shape signatures in builder refreshed for:: -/user/username/projects/solution/app/filewitherror.ts (computed .d.ts) - WatchedFiles:: /user/username/projects/solution/app/tsconfig.json: {"fileName":"/user/username/projects/solution/app/tsconfig.json","pollingInterval":250} @@ -250,7 +236,4 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/solution/app/fileWithError.js] file written with same contents -//// [/user/username/projects/solution/app/fileWithError.d.ts] file written with same contents -//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file written with same contents -//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 3a887f7a3fc76..7ec6661fb4f1f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -86,7 +86,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","dtsChangeTime":30000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5450201652-function foo() { return 10; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","dtsChangeTime":30000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -117,6 +117,12 @@ declare function foo(): number; } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "5450201652-function foo() { return 10; }" + }, "options": { "composite": true, "outFile": "./index.js" @@ -125,7 +131,7 @@ declare function foo(): number; "dtsChangeTime": 30000 }, "version": "FakeTSVersion", - "size": 455 + "size": 539 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -156,7 +162,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","dtsChangeTime":42000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","dtsChangeTime":42000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -213,6 +219,12 @@ declare function bar(): number; } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "5542925109-function bar() { return foo() + 1 };" + }, "options": { "composite": true, "outFile": "./index.js" @@ -221,7 +233,7 @@ declare function bar(): number; "dtsChangeTime": 42000 }, "version": "FakeTSVersion", - "size": 778 + "size": 869 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -310,7 +322,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -341,6 +353,12 @@ declare function myFunc(): number; } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }" + }, "options": { "composite": true, "outFile": "./index.js" @@ -349,7 +367,7 @@ declare function myFunc(): number; "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 564 + "size": 683 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -426,7 +444,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -483,6 +501,12 @@ declare function bar(): number; } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "5542925109-function bar() { return foo() + 1 };" + }, "options": { "composite": true, "outFile": "./index.js" @@ -491,7 +515,7 @@ declare function bar(): number; "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 889 + "size": 980 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -578,7 +602,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.d.ts] file written with same contents //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","dtsChangeTime":59000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -609,6 +633,12 @@ function myFunc() { return 100; } } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }" + }, "options": { "composite": true, "outFile": "./index.js" @@ -617,7 +647,7 @@ function myFunc() { return 100; } "dtsChangeTime": 59000 }, "version": "FakeTSVersion", - "size": 565 + "size": 685 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -676,7 +706,7 @@ function bar() { return foo() + 1; } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","dtsChangeTime":76000},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -733,6 +763,12 @@ function bar() { return foo() + 1; } } }, "program": { + "fileNames": [ + "./index.ts" + ], + "fileInfos": { + "./index.ts": "5542925109-function bar() { return foo() + 1 };" + }, "options": { "composite": true, "outFile": "./index.js" @@ -741,7 +777,7 @@ function bar() { return foo() + 1; } "dtsChangeTime": 76000 }, "version": "FakeTSVersion", - "size": 889 + "size": 980 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] From 5d31847a7958c25edb0a76c17488008f6f7acc52 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 29 Apr 2022 15:38:51 -0700 Subject: [PATCH 56/64] Disable lint warning as build fails without the assert --- src/compiler/builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 68ce2f6c5d87a..86e9e61c41436 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -1496,7 +1496,7 @@ namespace ts { const fileInfos = new Map(); program.fileInfos.forEach((fileInfo, index) => { const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName); - const version = isString(fileInfo) ? fileInfo : (fileInfo as ProgramBuildInfoBuilderStateFileInfo).version; + const version = isString(fileInfo) ? fileInfo : (fileInfo as ProgramBuildInfoBuilderStateFileInfo).version; // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion fileInfos.set(path, version); }); return fileInfos; From 405d8e91978708a613fe8cb631a83b13c430a808 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 27 May 2022 13:42:28 -0700 Subject: [PATCH 57/64] Report aggregate statistics for solution as well as some solution perf numbers --- src/compiler/performance.ts | 246 ++++++++++--------- src/compiler/sourcemap.ts | 4 +- src/compiler/tsbuildPublic.ts | 132 +++++++--- src/executeCommandLine/executeCommandLine.ts | 197 +++++++++++---- 4 files changed, 377 insertions(+), 202 deletions(-) diff --git a/src/compiler/performance.ts b/src/compiler/performance.ts index 3f6c23f2b0735..2dbdb390b4078 100644 --- a/src/compiler/performance.ts +++ b/src/compiler/performance.ts @@ -1,146 +1,162 @@ /*@internal*/ /** Performance measurements for the compiler. */ -namespace ts.performance { - let perfHooks: PerformanceHooks | undefined; - // when set, indicates the implementation of `Performance` to use for user timing. - // when unset, indicates user timing is unavailable or disabled. - let performanceImpl: Performance | undefined; - - export interface Timer { +namespace ts { + interface Timer { enter(): void; exit(): void; } - export function createTimerIf(condition: boolean, measureName: string, startMarkName: string, endMarkName: string) { - return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; - } + const nullTimer: Timer = { enter: noop, exit: noop }; + export const performance = createPerformanceTracker(); + export const solutionPerformance = createPerformanceTracker(); + + function createPerformanceTracker() { + let perfHooks: PerformanceHooks | undefined; + // when set, indicates the implementation of `Performance` to use for user timing. + // when unset, indicates user timing is unavailable or disabled. + let performanceImpl: Performance | undefined; + let enabled = false; + let timeorigin = timestamp(); + const marks = new Map(); + const counts = new Map(); + const durations = new Map(); - export function createTimer(measureName: string, startMarkName: string, endMarkName: string): Timer { - let enterCount = 0; return { - enter, - exit + createTimerIf, + createTimer, + mark, + measure, + getCount, + getDuration, + forEachMeasure, + isEnabled, + enable, + disable, }; - function enter() { - if (++enterCount === 1) { - mark(startMarkName); - } + function createTimerIf(condition: boolean, measureName: string, startMarkName: string, endMarkName: string) { + return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; } - function exit() { - if (--enterCount === 0) { - mark(endMarkName); - measure(measureName, startMarkName, endMarkName); + function createTimer(measureName: string, startMarkName: string, endMarkName: string): Timer { + let enterCount = 0; + return { + enter, + exit + }; + + function enter() { + if (++enterCount === 1) { + mark(startMarkName); + } } - else if (enterCount < 0) { - Debug.fail("enter/exit count does not match."); + + function exit() { + if (--enterCount === 0) { + mark(endMarkName); + measure(measureName, startMarkName, endMarkName); + } + else if (enterCount < 0) { + Debug.fail("enter/exit count does not match."); + } } } - } - export const nullTimer: Timer = { enter: noop, exit: noop }; - - let enabled = false; - let timeorigin = timestamp(); - const marks = new Map(); - const counts = new Map(); - const durations = new Map(); - - /** - * Marks a performance event. - * - * @param markName The name of the mark. - */ - export function mark(markName: string) { - if (enabled) { - const count = counts.get(markName) ?? 0; - counts.set(markName, count + 1); - marks.set(markName, timestamp()); - performanceImpl?.mark(markName); + /** + * Marks a performance event. + * + * @param markName The name of the mark. + */ + function mark(markName: string) { + if (enabled) { + const count = counts.get(markName) ?? 0; + counts.set(markName, count + 1); + marks.set(markName, timestamp()); + performanceImpl?.mark(markName); + } } - } - /** - * Adds a performance measurement with the specified name. - * - * @param measureName The name of the performance measurement. - * @param startMarkName The name of the starting mark. If not supplied, the point at which the - * profiler was enabled is used. - * @param endMarkName The name of the ending mark. If not supplied, the current timestamp is - * used. - */ - export function measure(measureName: string, startMarkName?: string, endMarkName?: string) { - if (enabled) { - const end = (endMarkName !== undefined ? marks.get(endMarkName) : undefined) ?? timestamp(); - const start = (startMarkName !== undefined ? marks.get(startMarkName) : undefined) ?? timeorigin; - const previousDuration = durations.get(measureName) || 0; - durations.set(measureName, previousDuration + (end - start)); - performanceImpl?.measure(measureName, startMarkName, endMarkName); + /** + * Adds a performance measurement with the specified name. + * + * @param measureName The name of the performance measurement. + * @param startMarkName The name of the starting mark. If not supplied, the point at which the + * profiler was enabled is used. + * @param endMarkName The name of the ending mark. If not supplied, the current timestamp is + * used. + */ + function measure(measureName: string, startMarkName: string, endMarkName: string) { + if (enabled) { + const end = marks.get(endMarkName) ?? timestamp(); + const start = marks.get(startMarkName) ?? timeorigin; + const previousDuration = durations.get(measureName) || 0; + durations.set(measureName, previousDuration + (end - start)); + performanceImpl?.measure(measureName, startMarkName, endMarkName); + } } - } - /** - * Gets the number of times a marker was encountered. - * - * @param markName The name of the mark. - */ - export function getCount(markName: string) { - return counts.get(markName) || 0; - } + /** + * Gets the number of times a marker was encountered. + * + * @param markName The name of the mark. + */ + function getCount(markName: string) { + return counts.get(markName) || 0; + } - /** - * Gets the total duration of all measurements with the supplied name. - * - * @param measureName The name of the measure whose durations should be accumulated. - */ - export function getDuration(measureName: string) { - return durations.get(measureName) || 0; - } + /** + * Gets the total duration of all measurements with the supplied name. + * + * @param measureName The name of the measure whose durations should be accumulated. + */ + function getDuration(measureName: string) { + return durations.get(measureName) || 0; + } - /** - * Iterate over each measure, performing some action - * - * @param cb The action to perform for each measure - */ - export function forEachMeasure(cb: (measureName: string, duration: number) => void) { - durations.forEach((duration, measureName) => cb(measureName, duration)); - } + /** + * Iterate over each measure, performing some action + * + * @param cb The action to perform for each measure + */ + function forEachMeasure(cb: (measureName: string, duration: number) => void) { + durations.forEach((duration, measureName) => cb(measureName, duration)); + } - /** - * Indicates whether the performance API is enabled. - */ - export function isEnabled() { - return enabled; - } + /** + * Indicates whether the performance API is enabled. + */ + function isEnabled() { + return enabled; + } - /** Enables (and resets) performance measurements for the compiler. */ - export function enable(system: System = sys) { - if (!enabled) { - enabled = true; - perfHooks ||= tryGetNativePerformanceHooks(); - if (perfHooks) { - timeorigin = perfHooks.performance.timeOrigin; - // NodeJS's Web Performance API is currently slower than expected, but we'd still like - // to be able to leverage native trace events when node is run with either `--cpu-prof` - // or `--prof`, if we're running with our own `--generateCpuProfile` flag, or when - // running in debug mode (since its possible to generate a cpu profile while debugging). - if (perfHooks.shouldWriteNativeEvents || system?.cpuProfilingEnabled?.() || system?.debugMode) { - performanceImpl = perfHooks.performance; + /** Enables (and resets) performance measurements for the compiler. */ + function enable(system: System = sys) { + if (!enabled) { + enabled = true; + perfHooks ||= tryGetNativePerformanceHooks(); + if (perfHooks) { + timeorigin = perfHooks.performance.timeOrigin; + // NodeJS's Web Performance API is currently slower than expected, but we'd still like + // to be able to leverage native trace events when node is run with either `--cpu-prof` + // or `--prof`, if we're running with our own `--generateCpuProfile` flag, or when + // running in debug mode (since its possible to generate a cpu profile while debugging). + if (perfHooks.shouldWriteNativeEvents || system?.cpuProfilingEnabled?.() || system?.debugMode) { + performanceImpl = perfHooks.performance; + } } } + return true; } - return true; - } - /** Disables performance measurements for the compiler. */ - export function disable() { - if (enabled) { - marks.clear(); - counts.clear(); - durations.clear(); - performanceImpl = undefined; - enabled = false; + /** Disables performance measurements for the compiler. */ + function disable() { + if (enabled) { + marks.clear(); + counts.clear(); + durations.clear(); + performanceImpl = undefined; + enabled = false; + } } } } diff --git a/src/compiler/sourcemap.ts b/src/compiler/sourcemap.ts index e3aebc849b6a3..22bb9e92424e7 100644 --- a/src/compiler/sourcemap.ts +++ b/src/compiler/sourcemap.ts @@ -5,9 +5,7 @@ namespace ts { } export function createSourceMapGenerator(host: EmitHost, file: string, sourceRoot: string, sourcesDirectoryPath: string, generatorOptions: SourceMapGeneratorOptions): SourceMapGenerator { - const { enter, exit } = generatorOptions.extendedDiagnostics - ? performance.createTimer("Source Map", "beforeSourcemap", "afterSourcemap") - : performance.nullTimer; + const { enter, exit } = performance.createTimerIf(!!generatorOptions.extendedDiagnostics, "Source Map", "beforeSourcemap", "afterSourcemap"); // Current source map file and its index in the sources list const rawSources: string[] = []; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 6de356151effd..632333b9beabc 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -398,7 +398,7 @@ namespace ts { if (value) { return isParsedCommandLine(value) ? value : undefined; } - + solutionPerformance.mark("beforeParseConfigFile"); let diagnostic: Diagnostic | undefined; const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state; let parsed: ParsedCommandLine | undefined; @@ -412,6 +412,8 @@ namespace ts { parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; } configFileCache.set(configFilePath, parsed || diagnostic!); + solutionPerformance.mark("afterParseConfigFile"); + solutionPerformance.measure("ParseConfigFile", "beforeParseConfigFile", "afterParseConfigFile"); return parsed; } @@ -471,6 +473,7 @@ namespace ts { } function createStateBuildOrder(state: SolutionBuilderState) { + solutionPerformance.mark("beforeCreateBuildOrder"); const buildOrder = createBuildOrder(state, state.rootNames.map(f => resolveProjectName(state, f))); // Clear all to ResolvedConfigFilePaths cache to start fresh @@ -528,6 +531,8 @@ namespace ts { { onDeleteValue: existingMap => existingMap.forEach(closeFileWatcher) } ); } + solutionPerformance.mark("afterCreateBuildOrder"); + solutionPerformance.measure("CreateBuildOrder", "beforeCreateBuildOrder", "afterCreateBuildOrder"); return state.buildOrder = buildOrder; } @@ -729,6 +734,7 @@ namespace ts { if (updateOutputFileStampsPending) { updateOutputTimestamps(state, config, projectPath); } + solutionPerformance.mark("timestampUpdated"); return doneInvalidatedProject(state, projectPath); } }; @@ -842,6 +848,8 @@ namespace ts { function done(cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, customTransformers?: CustomTransformers) { executeSteps(BuildStep.Done, cancellationToken, writeFile, customTransformers); + if (kind === InvalidatedProjectKind.Build) solutionPerformance.mark("projectsBuilt"); + else solutionPerformance.mark("bundlesUpdated"); return doneInvalidatedProject(state, projectPath); } @@ -985,6 +993,7 @@ namespace ts { const isIncremental = isIncrementalCompilation(options); let outputTimeStampMap: ESMap | undefined; let now: Date | undefined; + solutionPerformance.mark("beforeOutputFilesWrite"); outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { const path = toPath(state, name); emittedOutputs.set(toPath(state, name), name); @@ -999,6 +1008,8 @@ namespace ts { (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)!).set(path, now ||= getCurrentTime(state.host)); } }); + solutionPerformance.mark("afterOutputFilesWrite"); + solutionPerformance.measure("OutputFilesWrite", "beforeOutputFilesWrite", "afterOutputFilesWrite"); finishEmit( emitterDiagnostics, @@ -1202,6 +1213,18 @@ namespace ts { state: SolutionBuilderState, buildOrder: AnyBuildOrder, reportQueue: boolean + ): InvalidateProjectCreateInfo | undefined { + solutionPerformance.mark("beforeGetNextInvalidatedProjectCreateInfo"); + const result = getNextInvalidatedProjectCreateInfoWorker(state, buildOrder, reportQueue); + solutionPerformance.mark("afterGetNextInvalidatedProjectCreateInfo"); + solutionPerformance.measure("GetNextInvalidatedProjectCreateInfo", "beforeGetNextInvalidatedProjectCreateInfo", "afterGetNextInvalidatedProjectCreateInfo"); + return result; + } + + function getNextInvalidatedProjectCreateInfoWorker( + state: SolutionBuilderState, + buildOrder: AnyBuildOrder, + reportQueue: boolean ): InvalidateProjectCreateInfo | undefined { if (!state.projectPendingBuild.size) return undefined; if (isCircularBuildOrder(buildOrder)) return undefined; @@ -1338,8 +1361,7 @@ namespace ts { reportQueue: boolean ): InvalidatedProject | undefined { const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue); - if (!info) return info; - return createInvalidatedProjectWithInfo(state, info, buildOrder); + return info && createInvalidatedProjectWithInfo(state, info, buildOrder); } function listEmittedFile({ write }: SolutionBuilderState, proj: ParsedCommandLine, file: string) { @@ -1348,11 +1370,15 @@ namespace ts { } } - function getOldProgram({ options, builderPrograms, compilerHost }: SolutionBuilderState, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) { - if (options.force) return undefined; - const value = builderPrograms.get(proj); + function getOldProgram(state: SolutionBuilderState, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) { + if (state.options.force) return undefined; + const value = state.builderPrograms.get(proj); if (value) return value; - return readBuilderProgram(parsed.options, compilerHost) as any as T; + solutionPerformance.mark("beforeReadBuilderProgram"); + const program = readBuilderProgram(parsed.options, state.compilerHost) as any as T; + solutionPerformance.mark("afterReadBuilderProgram"); + solutionPerformance.measure("ReadBuilderProgram", "beforeReadBuilderProgram", "afterReadBuilderProgram"); + return program; } function afterProgramDone( @@ -1479,10 +1505,16 @@ namespace ts { if (existing !== undefined && existing.path === path) { return existing.buildInfo || undefined; } + solutionPerformance.mark("beforeGetBuildInfo"); + solutionPerformance.mark("beforeBuildInfoRead"); const value = state.readFileWithCache(buildInfoPath); + solutionPerformance.mark("afterBuildInfoRead"); + solutionPerformance.measure("BuildInfoRead", "beforeBuildInfoRead", "afterBuildInfoRead"); const buildInfo = value ? ts.getBuildInfo(value) : undefined; Debug.assert(modifiedTime || !buildInfo); state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime }); + solutionPerformance.mark("afterGetBuildInfo"); + solutionPerformance.measure("GetBuildInfo", "beforeGetBuildInfo", "afterGetBuildInfo"); return buildInfo; } @@ -1784,7 +1816,10 @@ namespace ts { return prior; } + solutionPerformance.mark("beforeGetUpToDateStatus"); const actual = getUpToDateStatusWorker(state, project, resolvedPath); + solutionPerformance.mark("afterGetUpToDateStatus"); + solutionPerformance.measure("GetUpToDateStatus", "beforeGetUpToDateStatus", "afterGetUpToDateStatus"); state.projectStatus.set(resolvedPath, actual); return actual; } @@ -1798,6 +1833,7 @@ namespace ts { ) { if (proj.options.noEmit) return; let now: Date | undefined; + solutionPerformance.mark("beforeUpdateOutputTimestamps"); const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); if (buildInfoPath) { if (!skipOutputs?.has(toPath(state, buildInfoPath))) { @@ -1806,34 +1842,36 @@ namespace ts { getBuildInfoCacheEntry(state, buildInfoPath, projectPath)!.modifiedTime = now; } state.outputTimeStamps.delete(projectPath); - return; } - - const { host } = state; - const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); - const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); - const modifiedOutputs = outputTimeStampMap ? new Set() : undefined; - if (!skipOutputs || outputs.length !== skipOutputs.size) { - let reportVerbose = !!state.options.verbose; - for (const file of outputs) { - const path = toPath(state, file); - if (skipOutputs?.has(path)) continue; - if (reportVerbose) { - reportVerbose = false; - reportStatus(state, verboseMessage, proj.options.configFilePath!); - } - host.setModifiedTime(file, now ||= getCurrentTime(state.host)); - if (outputTimeStampMap) { - outputTimeStampMap.set(path, now); - modifiedOutputs!.add(path); + else { + const { host } = state; + const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); + const modifiedOutputs = outputTimeStampMap ? new Set() : undefined; + if (!skipOutputs || outputs.length !== skipOutputs.size) { + let reportVerbose = !!state.options.verbose; + for (const file of outputs) { + const path = toPath(state, file); + if (skipOutputs?.has(path)) continue; + if (reportVerbose) { + reportVerbose = false; + reportStatus(state, verboseMessage, proj.options.configFilePath!); + } + host.setModifiedTime(file, now ||= getCurrentTime(state.host)); + if (outputTimeStampMap) { + outputTimeStampMap.set(path, now); + modifiedOutputs!.add(path); + } } } - } - // Clear out timestamps not in output list any more - outputTimeStampMap?.forEach((_value, key) => { - if (!skipOutputs?.has(key) && !modifiedOutputs!.has(key)) outputTimeStampMap.delete(key); - }); + // Clear out timestamps not in output list any more + outputTimeStampMap?.forEach((_value, key) => { + if (!skipOutputs?.has(key) && !modifiedOutputs!.has(key)) outputTimeStampMap.delete(key); + }); + } + solutionPerformance.mark("afterUpdateOutputTimestamps"); + solutionPerformance.measure("UpdateOutputTimestamps", "beforeUpdateOutputTimestamps", "afterUpdateOutputTimestamps"); } function getDtsChangeTime(state: SolutionBuilderState, options: CompilerOptions, resolvedConfigPath: ResolvedConfigFilePath) { @@ -1899,7 +1937,7 @@ namespace ts { } break; } - // falls through + // falls through case UpToDateStatusType.UpToDateWithInputFileText: case UpToDateStatusType.UpToDateWithUpstreamTypes: @@ -1927,6 +1965,14 @@ namespace ts { } function build(state: SolutionBuilderState, project?: string, cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, getCustomTransformers?: (project: string) => CustomTransformers, onlyReferences?: boolean): ExitStatus { + solutionPerformance.mark("beforeBuild"); + const result = buildWorker(state, project, cancellationToken, writeFile, getCustomTransformers, onlyReferences); + solutionPerformance.mark("afterBuild"); + solutionPerformance.measure("Build", "beforeBuild", "afterBuild"); + return result; + } + + function buildWorker(state: SolutionBuilderState, project?: string, cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, getCustomTransformers?: (project: string) => CustomTransformers, onlyReferences?: boolean): ExitStatus { const buildOrder = getBuildOrderFor(state, project, onlyReferences); if (!buildOrder) return ExitStatus.InvalidProject_OutputsSkipped; @@ -1938,7 +1984,10 @@ namespace ts { const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue); if (!invalidatedProject) break; reportQueue = false; + solutionPerformance.mark("beforeInvalidatedProjectBuild"); invalidatedProject.done(cancellationToken, writeFile, getCustomTransformers?.(invalidatedProject.project)); + solutionPerformance.mark("afterInvalidatedProjectBuild"); + solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); if (!state.diagnostics.has(invalidatedProject.projectPath)) successfulProjects++; } @@ -2032,6 +2081,14 @@ namespace ts { } function buildNextInvalidatedProject(state: SolutionBuilderState, changeDetected: boolean) { + solutionPerformance.mark("beforeBuild"); + const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected); + solutionPerformance.mark("afterBuild"); + solutionPerformance.measure("Build", "beforeBuild", "afterBuild"); + if (buildOrder) reportErrorSummary(state, buildOrder); + } + + function buildNextInvalidatedProjectWorker(state: SolutionBuilderState, changeDetected: boolean) { state.timerToBuildInvalidatedProject = undefined; if (state.reportFileChangeDetected) { state.reportFileChangeDetected = false; @@ -2042,7 +2099,10 @@ namespace ts { const buildOrder = getBuildOrder(state); const invalidatedProject = getNextInvalidatedProject(state, buildOrder, /*reportQueue*/ false); if (invalidatedProject) { + solutionPerformance.mark("beforeInvalidatedProjectBuild"); invalidatedProject.done(); + solutionPerformance.mark("afterInvalidatedProjectBuild"); + solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); projectsBuilt++; while (state.projectPendingBuild.size) { // If already scheduled, skip @@ -2056,12 +2116,15 @@ namespace ts { return; } const project = createInvalidatedProjectWithInfo(state, info, buildOrder); + solutionPerformance.mark("beforeInvalidatedProjectBuild"); project.done(); + solutionPerformance.mark("afterInvalidatedProjectBuild"); + solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); if (info.kind !== InvalidatedProjectKind.UpdateOutputFileStamps) projectsBuilt++; } } disableCache(state); - reportErrorSummary(state, buildOrder); + return buildOrder; } function watchConfigFile(state: SolutionBuilderState, resolved: ResolvedConfigFileName, resolvedPath: ResolvedConfigFilePath, parsed: ParsedCommandLine | undefined) { @@ -2168,6 +2231,7 @@ namespace ts { function startWatching(state: SolutionBuilderState, buildOrder: AnyBuildOrder) { if (!state.watchAllProjectsPending) return; + solutionPerformance.mark("beforeStartWatching"); state.watchAllProjectsPending = false; for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) { const resolvedPath = toResolvedConfigFilePath(state, resolved); @@ -2186,6 +2250,8 @@ namespace ts { watchPackageJsonFiles(state, resolved, resolvedPath, cfg); } } + solutionPerformance.mark("afterStartWatching"); + solutionPerformance.measure("StartWatching", "beforeStartWatching", "afterStartWatching"); } function stopWatching(state: SolutionBuilderState) { diff --git a/src/executeCommandLine/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts index 68d2e51e9d4eb..08d758da78d29 100644 --- a/src/executeCommandLine/executeCommandLine.ts +++ b/src/executeCommandLine/executeCommandLine.ts @@ -1,7 +1,18 @@ namespace ts { - interface Statistic { + export interface Statistic { name: string; - value: string; + value: number; + type: StatisticType + } + + export enum StatisticType { + time, + count, + memory, + } + + export interface SolutionBuilderHostBase extends ProgramHost { + statistics?: Statistic[][]; } function countLines(program: Program): Map { @@ -751,9 +762,22 @@ namespace ts { createBuilderStatusReporter(sys, shouldBePretty(sys, buildOptions)), createWatchStatusReporter(sys, buildOptions) ); + const onWatchStatusChange = buildHost.onWatchStatusChange; + let reportWatchStatistics = false; + buildHost.onWatchStatusChange = (d, newLine, options, errorCount) => { + onWatchStatusChange?.(d, newLine, options, errorCount); + if (!reportWatchStatistics) return; + if (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || + d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code) { + reportSolutionBuilderTimes(sys, builder, buildHost); + } + }; updateSolutionBuilderHost(sys, cb, buildHost); + enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilderWithWatch(buildHost, projects, buildOptions, watchOptions); builder.build(); + reportSolutionBuilderTimes(sys, builder, buildHost); + reportWatchStatistics = true; return builder; } @@ -765,12 +789,55 @@ namespace ts { createReportErrorSummary(sys, buildOptions) ); updateSolutionBuilderHost(sys, cb, buildHost); + enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilder(buildHost, projects, buildOptions); const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); + reportSolutionBuilderTimes(sys, builder, buildHost); dumpTracingLegend(); // Will no-op if there hasn't been any tracing return sys.exit(exitStatus); } + function enableSolutionPerformance(system: System, options: BuildOptions) { + if (system === sys && (options.diagnostics || options.extendedDiagnostics)) solutionPerformance.enable(); + } + + function reportSolutionBuilderTimes(system: System, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { + if (system !== sys) return; + + if (solutionPerformance.isEnabled()) { + const solutionStatistics: Statistic[] = []; + solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); + solutionStatistics.push( + { name: "projectsBuilt", value: solutionPerformance.getCount("projectsBuilt"), type: StatisticType.count }, + { name: "timestampUpdated", value: solutionPerformance.getCount("timestampUpdated"), type: StatisticType.count }, + { name: "bundlesUpdated", value: solutionPerformance.getCount("bundlesUpdated"), type: StatisticType.count }, + { name: "projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, + ); + buildHost.statistics = append(buildHost.statistics, solutionStatistics); + solutionPerformance.disable(); + solutionPerformance.enable(); + } + + if (!buildHost.statistics) return; + const statistics: Statistic[] = []; + const map: Map = new Map(); + for (const statistic of buildHost.statistics) { + for (const s of statistic) { + const existing = map.get(s.name); + if (existing) { + if (existing.type === StatisticType.memory) existing.value = Math.max(existing.value, s.value); + else existing.value += s.value; + } + else { + map.set(s.name, s); + statistics.push(s); + } + } + } + buildHost.statistics = undefined; + reportAllStatistics(system, statistics); + } + function createReportErrorSummary(sys: System, options: CompilerOptions | BuildOptions): ReportEmitErrorSummary | undefined { return shouldBePretty(sys, options) ? (errorCount, filesInError) => sys.write(getErrorSummaryText(errorCount, filesInError, sys.newLine, sys)) : @@ -842,10 +909,13 @@ namespace ts { ) { updateCreateProgram(sys, buildHost); buildHost.afterProgramEmitAndDiagnostics = program => { - reportStatistics(sys, program.getProgram()); + buildHost.statistics = append(buildHost.statistics, reportStatistics(sys, program.getProgram())); cb(program); }; - buildHost.afterEmitBundle = cb; + buildHost.afterEmitBundle = config => { + buildHost.statistics = append(buildHost.statistics, reportStatistics(sys, config)); + cb(config); + }; } function updateCreateProgram(sys: System, host: { createProgram: CreateProgram; }) { @@ -939,8 +1009,13 @@ namespace ts { } } - function reportStatistics(sys: System, program: Program) { - const compilerOptions = program.getCompilerOptions(); + function isProgram(programOrConfig: Program | ParsedCommandLine): programOrConfig is Program { + return !!(programOrConfig as Program).getCompilerOptions; + } + function reportStatistics(sys: System, programOrConfig: Program | ParsedCommandLine): Statistic[] | undefined { + const program = isProgram(programOrConfig) ? programOrConfig : undefined; + const config = !isProgram(programOrConfig) ? programOrConfig : undefined; + const compilerOptions = program?.getCompilerOptions() || config?.options!; if (canTrace(sys, compilerOptions)) { tracing?.stopTracing(); @@ -950,30 +1025,32 @@ namespace ts { if (canReportDiagnostics(sys, compilerOptions)) { statistics = []; const memoryUsed = sys.getMemoryUsage ? sys.getMemoryUsage() : -1; - reportCountStatistic("Files", program.getSourceFiles().length); - - const lineCounts = countLines(program); - const nodeCounts = countNodes(program); - if (compilerOptions.extendedDiagnostics) { - for (const key of arrayFrom(lineCounts.keys())) { - reportCountStatistic("Lines of " + key, lineCounts.get(key)!); + if (program) { + reportCountStatistic("Files", program.getSourceFiles().length); + + const lineCounts = countLines(program); + const nodeCounts = countNodes(program); + if (compilerOptions.extendedDiagnostics) { + for (const key of arrayFrom(lineCounts.keys())) { + reportCountStatistic("Lines of " + key, lineCounts.get(key)!); + } + for (const key of arrayFrom(nodeCounts.keys())) { + reportCountStatistic("Nodes of " + key, nodeCounts.get(key)!); + } } - for (const key of arrayFrom(nodeCounts.keys())) { - reportCountStatistic("Nodes of " + key, nodeCounts.get(key)!); + else { + reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); + reportCountStatistic("Nodes", reduceLeftIterator(nodeCounts.values(), (sum, count) => sum + count, 0)); } - } - else { - reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); - reportCountStatistic("Nodes", reduceLeftIterator(nodeCounts.values(), (sum, count) => sum + count, 0)); - } - reportCountStatistic("Identifiers", program.getIdentifierCount()); - reportCountStatistic("Symbols", program.getSymbolCount()); - reportCountStatistic("Types", program.getTypeCount()); - reportCountStatistic("Instantiations", program.getInstantiationCount()); + reportCountStatistic("Identifiers", program.getIdentifierCount()); + reportCountStatistic("Symbols", program.getSymbolCount()); + reportCountStatistic("Types", program.getTypeCount()); + reportCountStatistic("Instantiations", program.getInstantiationCount()); + } if (memoryUsed >= 0) { - reportStatisticalValue("Memory used", Math.round(memoryUsed / 1000) + "K"); + reportMemoryStatistic("Memory used", memoryUsed); } const isPerformanceEnabled = performance.isEnabled(); @@ -982,11 +1059,13 @@ namespace ts { const checkTime = isPerformanceEnabled ? performance.getDuration("Check") : 0; const emitTime = isPerformanceEnabled ? performance.getDuration("Emit") : 0; if (compilerOptions.extendedDiagnostics) { - const caches = program.getRelationCacheSizes(); - reportCountStatistic("Assignability cache size", caches.assignable); - reportCountStatistic("Identity cache size", caches.identity); - reportCountStatistic("Subtype cache size", caches.subtype); - reportCountStatistic("Strict subtype cache size", caches.strictSubtype); + if (program) { + const caches = program.getRelationCacheSizes(); + reportCountStatistic("Assignability cache size", caches.assignable); + reportCountStatistic("Identity cache size", caches.identity); + reportCountStatistic("Subtype cache size", caches.subtype); + reportCountStatistic("Strict subtype cache size", caches.strictSubtype); + } if (isPerformanceEnabled) { performance.forEachMeasure((name, duration) => reportTimeStatistic(`${name} time`, duration)); } @@ -1006,43 +1085,59 @@ namespace ts { if (isPerformanceEnabled) { reportTimeStatistic("Total time", programTime + bindTime + checkTime + emitTime); } - reportStatistics(); + reportAllStatistics(sys, statistics); if (!isPerformanceEnabled) { sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); } else { performance.disable(); } + return statistics; } - function reportStatistics() { - let nameSize = 0; - let valueSize = 0; - for (const { name, value } of statistics) { - if (name.length > nameSize) { - nameSize = name.length; - } + function reportMemoryStatistic(name: string, memoryUsed: number) { + statistics.push({ name, value: memoryUsed, type: StatisticType.memory }); + } - if (value.length > valueSize) { - valueSize = value.length; - } - } + function reportCountStatistic(name: string, count: number) { + statistics.push({ name, value: count, type: StatisticType.count }); + } - for (const { name, value } of statistics) { - sys.write(padRight(name + ":", nameSize + 2) + padLeft(value.toString(), valueSize) + sys.newLine); - } + function reportTimeStatistic(name: string, time: number) { + statistics.push({ name, value: time, type: StatisticType.time }); } + } + + function reportAllStatistics(sys: System, statistics: Statistic[]) { + let nameSize = 0; + let valueSize = 0; + for (const s of statistics) { + if (s.name.length > nameSize) { + nameSize = s.name.length; + } - function reportStatisticalValue(name: string, value: string) { - statistics.push({ name, value }); + const valueString = statisticValue(s); + if (valueString.length > valueSize) { + valueSize = valueString.length; + } } - function reportCountStatistic(name: string, count: number) { - reportStatisticalValue(name, "" + count); + for (const s of statistics) { + sys.write(padRight(s.name + ":", nameSize + 2) + padLeft(statisticValue(s).toString(), valueSize) + sys.newLine); } + } - function reportTimeStatistic(name: string, time: number) { - reportStatisticalValue(name, (time / 1000).toFixed(2) + "s"); + function statisticValue(s: Statistic) { + switch (s.type) { + case StatisticType.count: + return "" + s.value; + case StatisticType.time: + return (s.value / 1000).toFixed(2) + "s"; + case StatisticType.memory: + return Math.round(s.value / 1000) + "K"; + break; + default: + Debug.assertNever(s.type); } } From 0cf9e301038267bc1d9439c15d279940809b0c00 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 1 Jun 2022 11:33:12 -0700 Subject: [PATCH 58/64] Options solutionDiagnostics instead so that its not too verbose when printing diagnostics --- src/compiler/commandLineParser.ts | 9 ++++- src/compiler/diagnosticMessages.json | 6 ++- src/compiler/emitter.ts | 6 +-- src/compiler/performance.ts | 12 ++++++ src/compiler/tsbuildPublic.ts | 12 +++++- src/compiler/types.ts | 1 + src/compiler/watch.ts | 1 + src/executeCommandLine/executeCommandLine.ts | 40 ++++++++++---------- 8 files changed, 62 insertions(+), 25 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 6e39a9d8cbefe..de969a07a7b44 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -1420,7 +1420,14 @@ namespace ts { description: Diagnostics.Delete_the_outputs_of_all_projects, type: "boolean", defaultValueDescription: false, - } + }, + { + name: "solutionDiagnostics", + type: "boolean", + category: Diagnostics.Compiler_Diagnostics, + description: Diagnostics.Output_more_detailed_solution_performance_information_after_building, + defaultValueDescription: false, + }, ]; /* @internal */ diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 09e4c8756ba04..62d006505c8a4 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5261,7 +5261,7 @@ "code": 6385, "reportsDeprecated": true }, - "Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.": { + "Performance timings for '--diagnostics' or '--extendedDiagnostics' or '--solutionDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.": { "category": "Message", "code": 6386 }, @@ -5807,6 +5807,10 @@ "category": "Message", "code": 6718 }, + "Output more detailed solution performance information after building.": { + "category": "Message", + "code": 6719 + }, "Default catch clause variables as 'unknown' instead of 'any'.": { "category": "Message", "code": 6803 diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index e6ad202eeac21..c567e4634a369 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -396,7 +396,7 @@ namespace ts { sourceMap: compilerOptions.sourceMap, inlineSourceMap: compilerOptions.inlineSourceMap, inlineSources: compilerOptions.inlineSources, - extendedDiagnostics: compilerOptions.extendedDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, writeBundleFileInfo: !!bundleBuildInfo, relativeToBuildInfo }; @@ -454,7 +454,7 @@ namespace ts { target: compilerOptions.target, sourceMap: compilerOptions.sourceMap, inlineSourceMap: compilerOptions.inlineSourceMap, - extendedDiagnostics: compilerOptions.extendedDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, onlyPrintJsDocStyle: true, writeBundleFileInfo: !!bundleBuildInfo, recordInternalSection: !!bundleBuildInfo, @@ -483,7 +483,7 @@ namespace ts { sourceMap: !forceDtsEmit && compilerOptions.declarationMap, sourceRoot: compilerOptions.sourceRoot, mapRoot: compilerOptions.mapRoot, - extendedDiagnostics: compilerOptions.extendedDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, // Explicitly do not passthru either `inline` option } ); diff --git a/src/compiler/performance.ts b/src/compiler/performance.ts index 2dbdb390b4078..9f6ca1a9dcc19 100644 --- a/src/compiler/performance.ts +++ b/src/compiler/performance.ts @@ -20,6 +20,7 @@ namespace ts { const marks = new Map(); const counts = new Map(); const durations = new Map(); + const durationMarks = new Set(); return { createTimerIf, @@ -29,6 +30,7 @@ namespace ts { getCount, getDuration, forEachMeasure, + forEachCount, isEnabled, enable, disable, @@ -87,6 +89,7 @@ namespace ts { */ function measure(measureName: string, startMarkName: string, endMarkName: string) { if (enabled) { + durationMarks.add(startMarkName).add(endMarkName); const end = marks.get(endMarkName) ?? timestamp(); const start = marks.get(startMarkName) ?? timeorigin; const previousDuration = durations.get(measureName) || 0; @@ -122,6 +125,15 @@ namespace ts { durations.forEach((duration, measureName) => cb(measureName, duration)); } + /** + * Iterate over each count which is not duration mark, performing some action + * + * @param cb The action to perform for each measure + */ + function forEachCount(cb: (countName: string, count: number) => void) { + counts.forEach((count, countName) => !durationMarks.has(countName) && cb(countName, count)); + } + /** * Indicates whether the performance API is enabled. */ diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 632333b9beabc..82b7ac977c3ca 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -22,6 +22,7 @@ namespace ts { traceResolution?: boolean; /* @internal */ diagnostics?: boolean; /* @internal */ extendedDiagnostics?: boolean; + /* @internal */ solutionDiagnostics?: boolean; /* @internal */ locale?: string; /* @internal */ generateCpuProfile?: string; /* @internal */ generateTrace?: string; @@ -189,6 +190,7 @@ namespace ts { commonOptionsWithBuild.forEach(option => { if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; }); + if (buildOptions.solutionDiagnostics) result.solutionDiagnostics = true; return result; } @@ -2004,7 +2006,15 @@ namespace ts { : ExitStatus.DiagnosticsPresent_OutputsSkipped; } - function clean(state: SolutionBuilderState, project?: string, onlyReferences?: boolean) { + function clean(state: SolutionBuilderState, project?: string, onlyReferences?: boolean): ExitStatus { + solutionPerformance.mark("beforeClean"); + const result = cleanWorker(state, project, onlyReferences); + solutionPerformance.mark("afterClean"); + solutionPerformance.measure("Clean", "beforeClean", "afterClean"); + return result; + } + + function cleanWorker(state: SolutionBuilderState, project?: string, onlyReferences?: boolean) { const buildOrder = getBuildOrderFor(state, project, onlyReferences); if (!buildOrder) return ExitStatus.InvalidProject_OutputsSkipped; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 3d3243eded66a..ac59119beb99f 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6149,6 +6149,7 @@ namespace ts { declarationDir?: string; /* @internal */ diagnostics?: boolean; /* @internal */ extendedDiagnostics?: boolean; + /* @internal */ solutionDiagnostics?: boolean; disableSizeLimit?: boolean; disableSourceOfProjectReferenceRedirect?: boolean; disableSolutionSearching?: boolean; diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index 8808437402744..cd3fae954d0a9 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -34,6 +34,7 @@ namespace ts { if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && + !options.solutionDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) { system.clearScreen(); diff --git a/src/executeCommandLine/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts index 08d758da78d29..eda751143f86d 100644 --- a/src/executeCommandLine/executeCommandLine.ts +++ b/src/executeCommandLine/executeCommandLine.ts @@ -769,14 +769,14 @@ namespace ts { if (!reportWatchStatistics) return; if (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code) { - reportSolutionBuilderTimes(sys, builder, buildHost); + reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); } }; updateSolutionBuilderHost(sys, cb, buildHost); enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilderWithWatch(buildHost, projects, buildOptions, watchOptions); builder.build(); - reportSolutionBuilderTimes(sys, builder, buildHost); + reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); reportWatchStatistics = true; return builder; } @@ -792,31 +792,33 @@ namespace ts { enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilder(buildHost, projects, buildOptions); const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); - reportSolutionBuilderTimes(sys, builder, buildHost); + reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); dumpTracingLegend(); // Will no-op if there hasn't been any tracing return sys.exit(exitStatus); } function enableSolutionPerformance(system: System, options: BuildOptions) { - if (system === sys && (options.diagnostics || options.extendedDiagnostics)) solutionPerformance.enable(); + if (system === sys && options.solutionDiagnostics) solutionPerformance.enable(); } - function reportSolutionBuilderTimes(system: System, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { - if (system !== sys) return; + function reportSolutionBuilderTimes(system: System, buildOptions: BuildOptions, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { + if (system !== sys || !buildOptions.solutionDiagnostics) return; + if (solutionPerformance.isEnabled()) { const solutionStatistics: Statistic[] = []; - solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); solutionStatistics.push( - { name: "projectsBuilt", value: solutionPerformance.getCount("projectsBuilt"), type: StatisticType.count }, - { name: "timestampUpdated", value: solutionPerformance.getCount("timestampUpdated"), type: StatisticType.count }, - { name: "bundlesUpdated", value: solutionPerformance.getCount("bundlesUpdated"), type: StatisticType.count }, - { name: "projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, + { name: "Projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, ); + solutionPerformance.forEachCount((name, count) => solutionStatistics.push({ name, value: count, type: StatisticType.count })); + solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); buildHost.statistics = append(buildHost.statistics, solutionStatistics); solutionPerformance.disable(); solutionPerformance.enable(); } + else { + sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_or_solutionDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); + } if (!buildHost.statistics) return; const statistics: Statistic[] = []; @@ -990,8 +992,8 @@ namespace ts { return createWatchProgram(watchCompilerHost); } - function canReportDiagnostics(system: System, compilerOptions: CompilerOptions) { - return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics); + function canGenerateStatistics(system: System, compilerOptions: CompilerOptions) { + return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics); } function canTrace(system: System, compilerOptions: CompilerOptions) { @@ -999,7 +1001,7 @@ namespace ts { } function enableStatisticsAndTracing(system: System, compilerOptions: CompilerOptions, isBuildMode: boolean) { - if (canReportDiagnostics(system, compilerOptions)) { + if (canGenerateStatistics(system, compilerOptions)) { performance.enable(system); } @@ -1022,7 +1024,7 @@ namespace ts { } let statistics: Statistic[]; - if (canReportDiagnostics(sys, compilerOptions)) { + if (canGenerateStatistics(sys, compilerOptions)) { statistics = []; const memoryUsed = sys.getMemoryUsage ? sys.getMemoryUsage() : -1; if (program) { @@ -1030,7 +1032,7 @@ namespace ts { const lineCounts = countLines(program); const nodeCounts = countNodes(program); - if (compilerOptions.extendedDiagnostics) { + if (compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics) { for (const key of arrayFrom(lineCounts.keys())) { reportCountStatistic("Lines of " + key, lineCounts.get(key)!); } @@ -1058,7 +1060,7 @@ namespace ts { const bindTime = isPerformanceEnabled ? performance.getDuration("Bind") : 0; const checkTime = isPerformanceEnabled ? performance.getDuration("Check") : 0; const emitTime = isPerformanceEnabled ? performance.getDuration("Emit") : 0; - if (compilerOptions.extendedDiagnostics) { + if (compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics) { if (program) { const caches = program.getRelationCacheSizes(); reportCountStatistic("Assignability cache size", caches.assignable); @@ -1085,9 +1087,9 @@ namespace ts { if (isPerformanceEnabled) { reportTimeStatistic("Total time", programTime + bindTime + checkTime + emitTime); } - reportAllStatistics(sys, statistics); + if (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics) reportAllStatistics(sys, statistics); if (!isPerformanceEnabled) { - sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); + sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_or_solutionDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); } else { performance.disable(); From e4e66726098201f38f5e8908a538e7a506f15efd Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 2 Jun 2022 16:35:45 -0700 Subject: [PATCH 59/64] When tsc --build --clean, only remove tsbuildinfo if its incremental build --- src/compiler/tsbuildPublic.ts | 28 +++++++++++++------ .../tsbuild/outFile/clean-projects.js | 12 -------- .../outFile/cleans-till-project-specified.js | 4 --- .../sample1/removes-all-files-it-built.js | 11 -------- 4 files changed, 19 insertions(+), 36 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 82b7ac977c3ca..3d71f7fea469b 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -2033,21 +2033,19 @@ namespace ts { reportParseConfigFileDiagnostic(state, resolvedPath); continue; } + const buildInfoPath = getTsBuildInfoEmitOutputFilePath(parsed.options); + if (buildInfoPath) { + // Only delete buildInfo as thats sufficient + removeOutput(buildInfoPath, resolvedPath); + continue; + } const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames()); if (!outputs.length) continue; const inputFileNames = new Set(parsed.fileNames.map(f => toPath(state, f))); for (const output of outputs) { // If output name is same as input file name, do not delete and ignore the error if (inputFileNames.has(toPath(state, output))) continue; - if (host.fileExists(output)) { - if (filesToDelete) { - filesToDelete.push(output); - } - else { - host.deleteFile(output); - invalidateProject(state, resolvedPath, ConfigFileProgramReloadLevel.None); - } - } + removeOutput(output, resolvedPath); } } @@ -2056,6 +2054,18 @@ namespace ts { } return ExitStatus.Success; + + function removeOutput(output: string, resolvedPath: ResolvedConfigFilePath) { + if (host.fileExists(output)) { + if (filesToDelete) { + filesToDelete.push(output); + } + else { + host.deleteFile(output); + invalidateProject(state, resolvedPath, ConfigFileProgramReloadLevel.None); + } + } + } } function invalidateProject(state: SolutionBuilderState, resolved: ResolvedConfigFilePath, reloadLevel: ConfigFileProgramReloadLevel) { diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 9330715ed072d..c4b594c933c0f 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -596,20 +596,8 @@ Output:: exitCode:: ExitStatus.Success -//// [/src/2/second-output.d.ts] unlink -//// [/src/2/second-output.d.ts.map] unlink -//// [/src/2/second-output.js] unlink -//// [/src/2/second-output.js.map] unlink //// [/src/2/second-output.tsbuildinfo] unlink -//// [/src/first/bin/first-output.d.ts] unlink -//// [/src/first/bin/first-output.d.ts.map] unlink -//// [/src/first/bin/first-output.js] unlink -//// [/src/first/bin/first-output.js.map] unlink //// [/src/first/bin/first-output.tsbuildinfo] unlink -//// [/src/third/thirdjs/output/third-output.d.ts] unlink -//// [/src/third/thirdjs/output/third-output.d.ts.map] unlink -//// [/src/third/thirdjs/output/third-output.js] unlink -//// [/src/third/thirdjs/output/third-output.js.map] unlink //// [/src/third/thirdjs/output/third-output.tsbuildinfo] unlink diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 9f33b555d038f..89821e20155c9 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -596,8 +596,4 @@ Output:: exitCode:: ExitStatus.Success -//// [/src/2/second-output.d.ts] unlink -//// [/src/2/second-output.d.ts.map] unlink -//// [/src/2/second-output.js] unlink -//// [/src/2/second-output.js.map] unlink //// [/src/2/second-output.tsbuildinfo] unlink diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index a44f43df054c3..45328f87dc969 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -390,19 +390,8 @@ Output:: exitCode:: ExitStatus.Success -//// [/src/core/anotherModule.d.ts] unlink -//// [/src/core/anotherModule.d.ts.map] unlink -//// [/src/core/anotherModule.js] unlink -//// [/src/core/index.d.ts] unlink -//// [/src/core/index.d.ts.map] unlink -//// [/src/core/index.js] unlink //// [/src/core/tsconfig.tsbuildinfo] unlink -//// [/src/logic/index.d.ts] unlink -//// [/src/logic/index.js] unlink -//// [/src/logic/index.js.map] unlink //// [/src/logic/tsconfig.tsbuildinfo] unlink -//// [/src/tests/index.d.ts] unlink -//// [/src/tests/index.js] unlink //// [/src/tests/tsconfig.tsbuildinfo] unlink From 5c07c777b9beb5c51b4df9123e5511de57ceaf87 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Jun 2022 12:13:06 -0700 Subject: [PATCH 60/64] Revert "Options solutionDiagnostics instead so that its not too verbose when printing diagnostics" This reverts commit 0cf9e301038267bc1d9439c15d279940809b0c00. --- src/compiler/commandLineParser.ts | 9 +---- src/compiler/diagnosticMessages.json | 6 +-- src/compiler/emitter.ts | 6 +-- src/compiler/performance.ts | 12 ------ src/compiler/tsbuildPublic.ts | 12 +----- src/compiler/types.ts | 1 - src/compiler/watch.ts | 1 - src/executeCommandLine/executeCommandLine.ts | 40 ++++++++++---------- 8 files changed, 25 insertions(+), 62 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index de969a07a7b44..6e39a9d8cbefe 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -1420,14 +1420,7 @@ namespace ts { description: Diagnostics.Delete_the_outputs_of_all_projects, type: "boolean", defaultValueDescription: false, - }, - { - name: "solutionDiagnostics", - type: "boolean", - category: Diagnostics.Compiler_Diagnostics, - description: Diagnostics.Output_more_detailed_solution_performance_information_after_building, - defaultValueDescription: false, - }, + } ]; /* @internal */ diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 185d627f22a66..50b3c3e940b15 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5269,7 +5269,7 @@ "code": 6385, "reportsDeprecated": true }, - "Performance timings for '--diagnostics' or '--extendedDiagnostics' or '--solutionDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.": { + "Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.": { "category": "Message", "code": 6386 }, @@ -5815,10 +5815,6 @@ "category": "Message", "code": 6718 }, - "Output more detailed solution performance information after building.": { - "category": "Message", - "code": 6719 - }, "Default catch clause variables as 'unknown' instead of 'any'.": { "category": "Message", "code": 6803 diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index c567e4634a369..e6ad202eeac21 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -396,7 +396,7 @@ namespace ts { sourceMap: compilerOptions.sourceMap, inlineSourceMap: compilerOptions.inlineSourceMap, inlineSources: compilerOptions.inlineSources, - extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics, writeBundleFileInfo: !!bundleBuildInfo, relativeToBuildInfo }; @@ -454,7 +454,7 @@ namespace ts { target: compilerOptions.target, sourceMap: compilerOptions.sourceMap, inlineSourceMap: compilerOptions.inlineSourceMap, - extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics, onlyPrintJsDocStyle: true, writeBundleFileInfo: !!bundleBuildInfo, recordInternalSection: !!bundleBuildInfo, @@ -483,7 +483,7 @@ namespace ts { sourceMap: !forceDtsEmit && compilerOptions.declarationMap, sourceRoot: compilerOptions.sourceRoot, mapRoot: compilerOptions.mapRoot, - extendedDiagnostics: compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics, + extendedDiagnostics: compilerOptions.extendedDiagnostics, // Explicitly do not passthru either `inline` option } ); diff --git a/src/compiler/performance.ts b/src/compiler/performance.ts index 9f6ca1a9dcc19..2dbdb390b4078 100644 --- a/src/compiler/performance.ts +++ b/src/compiler/performance.ts @@ -20,7 +20,6 @@ namespace ts { const marks = new Map(); const counts = new Map(); const durations = new Map(); - const durationMarks = new Set(); return { createTimerIf, @@ -30,7 +29,6 @@ namespace ts { getCount, getDuration, forEachMeasure, - forEachCount, isEnabled, enable, disable, @@ -89,7 +87,6 @@ namespace ts { */ function measure(measureName: string, startMarkName: string, endMarkName: string) { if (enabled) { - durationMarks.add(startMarkName).add(endMarkName); const end = marks.get(endMarkName) ?? timestamp(); const start = marks.get(startMarkName) ?? timeorigin; const previousDuration = durations.get(measureName) || 0; @@ -125,15 +122,6 @@ namespace ts { durations.forEach((duration, measureName) => cb(measureName, duration)); } - /** - * Iterate over each count which is not duration mark, performing some action - * - * @param cb The action to perform for each measure - */ - function forEachCount(cb: (countName: string, count: number) => void) { - counts.forEach((count, countName) => !durationMarks.has(countName) && cb(countName, count)); - } - /** * Indicates whether the performance API is enabled. */ diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 3d71f7fea469b..7a4366924c554 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -22,7 +22,6 @@ namespace ts { traceResolution?: boolean; /* @internal */ diagnostics?: boolean; /* @internal */ extendedDiagnostics?: boolean; - /* @internal */ solutionDiagnostics?: boolean; /* @internal */ locale?: string; /* @internal */ generateCpuProfile?: string; /* @internal */ generateTrace?: string; @@ -190,7 +189,6 @@ namespace ts { commonOptionsWithBuild.forEach(option => { if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; }); - if (buildOptions.solutionDiagnostics) result.solutionDiagnostics = true; return result; } @@ -2006,15 +2004,7 @@ namespace ts { : ExitStatus.DiagnosticsPresent_OutputsSkipped; } - function clean(state: SolutionBuilderState, project?: string, onlyReferences?: boolean): ExitStatus { - solutionPerformance.mark("beforeClean"); - const result = cleanWorker(state, project, onlyReferences); - solutionPerformance.mark("afterClean"); - solutionPerformance.measure("Clean", "beforeClean", "afterClean"); - return result; - } - - function cleanWorker(state: SolutionBuilderState, project?: string, onlyReferences?: boolean) { + function clean(state: SolutionBuilderState, project?: string, onlyReferences?: boolean) { const buildOrder = getBuildOrderFor(state, project, onlyReferences); if (!buildOrder) return ExitStatus.InvalidProject_OutputsSkipped; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 78d11c6deadd5..fc24b3ce1405c 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6157,7 +6157,6 @@ namespace ts { declarationDir?: string; /* @internal */ diagnostics?: boolean; /* @internal */ extendedDiagnostics?: boolean; - /* @internal */ solutionDiagnostics?: boolean; disableSizeLimit?: boolean; disableSourceOfProjectReferenceRedirect?: boolean; disableSolutionSearching?: boolean; diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index cd3fae954d0a9..8808437402744 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -34,7 +34,6 @@ namespace ts { if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && - !options.solutionDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) { system.clearScreen(); diff --git a/src/executeCommandLine/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts index eda751143f86d..08d758da78d29 100644 --- a/src/executeCommandLine/executeCommandLine.ts +++ b/src/executeCommandLine/executeCommandLine.ts @@ -769,14 +769,14 @@ namespace ts { if (!reportWatchStatistics) return; if (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code) { - reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); + reportSolutionBuilderTimes(sys, builder, buildHost); } }; updateSolutionBuilderHost(sys, cb, buildHost); enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilderWithWatch(buildHost, projects, buildOptions, watchOptions); builder.build(); - reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); + reportSolutionBuilderTimes(sys, builder, buildHost); reportWatchStatistics = true; return builder; } @@ -792,33 +792,31 @@ namespace ts { enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilder(buildHost, projects, buildOptions); const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); - reportSolutionBuilderTimes(sys, buildOptions, builder, buildHost); + reportSolutionBuilderTimes(sys, builder, buildHost); dumpTracingLegend(); // Will no-op if there hasn't been any tracing return sys.exit(exitStatus); } function enableSolutionPerformance(system: System, options: BuildOptions) { - if (system === sys && options.solutionDiagnostics) solutionPerformance.enable(); + if (system === sys && (options.diagnostics || options.extendedDiagnostics)) solutionPerformance.enable(); } - function reportSolutionBuilderTimes(system: System, buildOptions: BuildOptions, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { - if (system !== sys || !buildOptions.solutionDiagnostics) return; - + function reportSolutionBuilderTimes(system: System, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { + if (system !== sys) return; if (solutionPerformance.isEnabled()) { const solutionStatistics: Statistic[] = []; + solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); solutionStatistics.push( - { name: "Projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, + { name: "projectsBuilt", value: solutionPerformance.getCount("projectsBuilt"), type: StatisticType.count }, + { name: "timestampUpdated", value: solutionPerformance.getCount("timestampUpdated"), type: StatisticType.count }, + { name: "bundlesUpdated", value: solutionPerformance.getCount("bundlesUpdated"), type: StatisticType.count }, + { name: "projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, ); - solutionPerformance.forEachCount((name, count) => solutionStatistics.push({ name, value: count, type: StatisticType.count })); - solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); buildHost.statistics = append(buildHost.statistics, solutionStatistics); solutionPerformance.disable(); solutionPerformance.enable(); } - else { - sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_or_solutionDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); - } if (!buildHost.statistics) return; const statistics: Statistic[] = []; @@ -992,8 +990,8 @@ namespace ts { return createWatchProgram(watchCompilerHost); } - function canGenerateStatistics(system: System, compilerOptions: CompilerOptions) { - return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics); + function canReportDiagnostics(system: System, compilerOptions: CompilerOptions) { + return system === sys && (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics); } function canTrace(system: System, compilerOptions: CompilerOptions) { @@ -1001,7 +999,7 @@ namespace ts { } function enableStatisticsAndTracing(system: System, compilerOptions: CompilerOptions, isBuildMode: boolean) { - if (canGenerateStatistics(system, compilerOptions)) { + if (canReportDiagnostics(system, compilerOptions)) { performance.enable(system); } @@ -1024,7 +1022,7 @@ namespace ts { } let statistics: Statistic[]; - if (canGenerateStatistics(sys, compilerOptions)) { + if (canReportDiagnostics(sys, compilerOptions)) { statistics = []; const memoryUsed = sys.getMemoryUsage ? sys.getMemoryUsage() : -1; if (program) { @@ -1032,7 +1030,7 @@ namespace ts { const lineCounts = countLines(program); const nodeCounts = countNodes(program); - if (compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics) { + if (compilerOptions.extendedDiagnostics) { for (const key of arrayFrom(lineCounts.keys())) { reportCountStatistic("Lines of " + key, lineCounts.get(key)!); } @@ -1060,7 +1058,7 @@ namespace ts { const bindTime = isPerformanceEnabled ? performance.getDuration("Bind") : 0; const checkTime = isPerformanceEnabled ? performance.getDuration("Check") : 0; const emitTime = isPerformanceEnabled ? performance.getDuration("Emit") : 0; - if (compilerOptions.extendedDiagnostics || compilerOptions.solutionDiagnostics) { + if (compilerOptions.extendedDiagnostics) { if (program) { const caches = program.getRelationCacheSizes(); reportCountStatistic("Assignability cache size", caches.assignable); @@ -1087,9 +1085,9 @@ namespace ts { if (isPerformanceEnabled) { reportTimeStatistic("Total time", programTime + bindTime + checkTime + emitTime); } - if (compilerOptions.diagnostics || compilerOptions.extendedDiagnostics) reportAllStatistics(sys, statistics); + reportAllStatistics(sys, statistics); if (!isPerformanceEnabled) { - sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_or_solutionDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); + sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); } else { performance.disable(); From 31427f6dbe05b5cd3a67aa08745a751c5ceb871b Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Jun 2022 12:13:41 -0700 Subject: [PATCH 61/64] Revert "Report aggregate statistics for solution as well as some solution perf numbers" This reverts commit 405d8e91978708a613fe8cb631a83b13c430a808. --- src/compiler/performance.ts | 246 +++++++++---------- src/compiler/sourcemap.ts | 4 +- src/compiler/tsbuildPublic.ts | 132 +++------- src/executeCommandLine/executeCommandLine.ts | 197 ++++----------- 4 files changed, 202 insertions(+), 377 deletions(-) diff --git a/src/compiler/performance.ts b/src/compiler/performance.ts index 2dbdb390b4078..3f6c23f2b0735 100644 --- a/src/compiler/performance.ts +++ b/src/compiler/performance.ts @@ -1,162 +1,146 @@ /*@internal*/ /** Performance measurements for the compiler. */ -namespace ts { - interface Timer { +namespace ts.performance { + let perfHooks: PerformanceHooks | undefined; + // when set, indicates the implementation of `Performance` to use for user timing. + // when unset, indicates user timing is unavailable or disabled. + let performanceImpl: Performance | undefined; + + export interface Timer { enter(): void; exit(): void; } - const nullTimer: Timer = { enter: noop, exit: noop }; - export const performance = createPerformanceTracker(); - export const solutionPerformance = createPerformanceTracker(); - - function createPerformanceTracker() { - let perfHooks: PerformanceHooks | undefined; - // when set, indicates the implementation of `Performance` to use for user timing. - // when unset, indicates user timing is unavailable or disabled. - let performanceImpl: Performance | undefined; - let enabled = false; - let timeorigin = timestamp(); - const marks = new Map(); - const counts = new Map(); - const durations = new Map(); + export function createTimerIf(condition: boolean, measureName: string, startMarkName: string, endMarkName: string) { + return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; + } + export function createTimer(measureName: string, startMarkName: string, endMarkName: string): Timer { + let enterCount = 0; return { - createTimerIf, - createTimer, - mark, - measure, - getCount, - getDuration, - forEachMeasure, - isEnabled, - enable, - disable, + enter, + exit }; - function createTimerIf(condition: boolean, measureName: string, startMarkName: string, endMarkName: string) { - return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer; + function enter() { + if (++enterCount === 1) { + mark(startMarkName); + } } - function createTimer(measureName: string, startMarkName: string, endMarkName: string): Timer { - let enterCount = 0; - return { - enter, - exit - }; - - function enter() { - if (++enterCount === 1) { - mark(startMarkName); - } + function exit() { + if (--enterCount === 0) { + mark(endMarkName); + measure(measureName, startMarkName, endMarkName); } - - function exit() { - if (--enterCount === 0) { - mark(endMarkName); - measure(measureName, startMarkName, endMarkName); - } - else if (enterCount < 0) { - Debug.fail("enter/exit count does not match."); - } + else if (enterCount < 0) { + Debug.fail("enter/exit count does not match."); } } + } - /** - * Marks a performance event. - * - * @param markName The name of the mark. - */ - function mark(markName: string) { - if (enabled) { - const count = counts.get(markName) ?? 0; - counts.set(markName, count + 1); - marks.set(markName, timestamp()); - performanceImpl?.mark(markName); - } - } + export const nullTimer: Timer = { enter: noop, exit: noop }; - /** - * Adds a performance measurement with the specified name. - * - * @param measureName The name of the performance measurement. - * @param startMarkName The name of the starting mark. If not supplied, the point at which the - * profiler was enabled is used. - * @param endMarkName The name of the ending mark. If not supplied, the current timestamp is - * used. - */ - function measure(measureName: string, startMarkName: string, endMarkName: string) { - if (enabled) { - const end = marks.get(endMarkName) ?? timestamp(); - const start = marks.get(startMarkName) ?? timeorigin; - const previousDuration = durations.get(measureName) || 0; - durations.set(measureName, previousDuration + (end - start)); - performanceImpl?.measure(measureName, startMarkName, endMarkName); - } - } + let enabled = false; + let timeorigin = timestamp(); + const marks = new Map(); + const counts = new Map(); + const durations = new Map(); - /** - * Gets the number of times a marker was encountered. - * - * @param markName The name of the mark. - */ - function getCount(markName: string) { - return counts.get(markName) || 0; + /** + * Marks a performance event. + * + * @param markName The name of the mark. + */ + export function mark(markName: string) { + if (enabled) { + const count = counts.get(markName) ?? 0; + counts.set(markName, count + 1); + marks.set(markName, timestamp()); + performanceImpl?.mark(markName); } + } - /** - * Gets the total duration of all measurements with the supplied name. - * - * @param measureName The name of the measure whose durations should be accumulated. - */ - function getDuration(measureName: string) { - return durations.get(measureName) || 0; + /** + * Adds a performance measurement with the specified name. + * + * @param measureName The name of the performance measurement. + * @param startMarkName The name of the starting mark. If not supplied, the point at which the + * profiler was enabled is used. + * @param endMarkName The name of the ending mark. If not supplied, the current timestamp is + * used. + */ + export function measure(measureName: string, startMarkName?: string, endMarkName?: string) { + if (enabled) { + const end = (endMarkName !== undefined ? marks.get(endMarkName) : undefined) ?? timestamp(); + const start = (startMarkName !== undefined ? marks.get(startMarkName) : undefined) ?? timeorigin; + const previousDuration = durations.get(measureName) || 0; + durations.set(measureName, previousDuration + (end - start)); + performanceImpl?.measure(measureName, startMarkName, endMarkName); } + } - /** - * Iterate over each measure, performing some action - * - * @param cb The action to perform for each measure - */ - function forEachMeasure(cb: (measureName: string, duration: number) => void) { - durations.forEach((duration, measureName) => cb(measureName, duration)); - } + /** + * Gets the number of times a marker was encountered. + * + * @param markName The name of the mark. + */ + export function getCount(markName: string) { + return counts.get(markName) || 0; + } - /** - * Indicates whether the performance API is enabled. - */ - function isEnabled() { - return enabled; - } + /** + * Gets the total duration of all measurements with the supplied name. + * + * @param measureName The name of the measure whose durations should be accumulated. + */ + export function getDuration(measureName: string) { + return durations.get(measureName) || 0; + } - /** Enables (and resets) performance measurements for the compiler. */ - function enable(system: System = sys) { - if (!enabled) { - enabled = true; - perfHooks ||= tryGetNativePerformanceHooks(); - if (perfHooks) { - timeorigin = perfHooks.performance.timeOrigin; - // NodeJS's Web Performance API is currently slower than expected, but we'd still like - // to be able to leverage native trace events when node is run with either `--cpu-prof` - // or `--prof`, if we're running with our own `--generateCpuProfile` flag, or when - // running in debug mode (since its possible to generate a cpu profile while debugging). - if (perfHooks.shouldWriteNativeEvents || system?.cpuProfilingEnabled?.() || system?.debugMode) { - performanceImpl = perfHooks.performance; - } + /** + * Iterate over each measure, performing some action + * + * @param cb The action to perform for each measure + */ + export function forEachMeasure(cb: (measureName: string, duration: number) => void) { + durations.forEach((duration, measureName) => cb(measureName, duration)); + } + + /** + * Indicates whether the performance API is enabled. + */ + export function isEnabled() { + return enabled; + } + + /** Enables (and resets) performance measurements for the compiler. */ + export function enable(system: System = sys) { + if (!enabled) { + enabled = true; + perfHooks ||= tryGetNativePerformanceHooks(); + if (perfHooks) { + timeorigin = perfHooks.performance.timeOrigin; + // NodeJS's Web Performance API is currently slower than expected, but we'd still like + // to be able to leverage native trace events when node is run with either `--cpu-prof` + // or `--prof`, if we're running with our own `--generateCpuProfile` flag, or when + // running in debug mode (since its possible to generate a cpu profile while debugging). + if (perfHooks.shouldWriteNativeEvents || system?.cpuProfilingEnabled?.() || system?.debugMode) { + performanceImpl = perfHooks.performance; } } - return true; } + return true; + } - /** Disables performance measurements for the compiler. */ - function disable() { - if (enabled) { - marks.clear(); - counts.clear(); - durations.clear(); - performanceImpl = undefined; - enabled = false; - } + /** Disables performance measurements for the compiler. */ + export function disable() { + if (enabled) { + marks.clear(); + counts.clear(); + durations.clear(); + performanceImpl = undefined; + enabled = false; } } } diff --git a/src/compiler/sourcemap.ts b/src/compiler/sourcemap.ts index 22bb9e92424e7..e3aebc849b6a3 100644 --- a/src/compiler/sourcemap.ts +++ b/src/compiler/sourcemap.ts @@ -5,7 +5,9 @@ namespace ts { } export function createSourceMapGenerator(host: EmitHost, file: string, sourceRoot: string, sourcesDirectoryPath: string, generatorOptions: SourceMapGeneratorOptions): SourceMapGenerator { - const { enter, exit } = performance.createTimerIf(!!generatorOptions.extendedDiagnostics, "Source Map", "beforeSourcemap", "afterSourcemap"); + const { enter, exit } = generatorOptions.extendedDiagnostics + ? performance.createTimer("Source Map", "beforeSourcemap", "afterSourcemap") + : performance.nullTimer; // Current source map file and its index in the sources list const rawSources: string[] = []; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 7a4366924c554..f205020540126 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -398,7 +398,7 @@ namespace ts { if (value) { return isParsedCommandLine(value) ? value : undefined; } - solutionPerformance.mark("beforeParseConfigFile"); + let diagnostic: Diagnostic | undefined; const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state; let parsed: ParsedCommandLine | undefined; @@ -412,8 +412,6 @@ namespace ts { parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop; } configFileCache.set(configFilePath, parsed || diagnostic!); - solutionPerformance.mark("afterParseConfigFile"); - solutionPerformance.measure("ParseConfigFile", "beforeParseConfigFile", "afterParseConfigFile"); return parsed; } @@ -473,7 +471,6 @@ namespace ts { } function createStateBuildOrder(state: SolutionBuilderState) { - solutionPerformance.mark("beforeCreateBuildOrder"); const buildOrder = createBuildOrder(state, state.rootNames.map(f => resolveProjectName(state, f))); // Clear all to ResolvedConfigFilePaths cache to start fresh @@ -531,8 +528,6 @@ namespace ts { { onDeleteValue: existingMap => existingMap.forEach(closeFileWatcher) } ); } - solutionPerformance.mark("afterCreateBuildOrder"); - solutionPerformance.measure("CreateBuildOrder", "beforeCreateBuildOrder", "afterCreateBuildOrder"); return state.buildOrder = buildOrder; } @@ -734,7 +729,6 @@ namespace ts { if (updateOutputFileStampsPending) { updateOutputTimestamps(state, config, projectPath); } - solutionPerformance.mark("timestampUpdated"); return doneInvalidatedProject(state, projectPath); } }; @@ -848,8 +842,6 @@ namespace ts { function done(cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, customTransformers?: CustomTransformers) { executeSteps(BuildStep.Done, cancellationToken, writeFile, customTransformers); - if (kind === InvalidatedProjectKind.Build) solutionPerformance.mark("projectsBuilt"); - else solutionPerformance.mark("bundlesUpdated"); return doneInvalidatedProject(state, projectPath); } @@ -993,7 +985,6 @@ namespace ts { const isIncremental = isIncrementalCompilation(options); let outputTimeStampMap: ESMap | undefined; let now: Date | undefined; - solutionPerformance.mark("beforeOutputFilesWrite"); outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { const path = toPath(state, name); emittedOutputs.set(toPath(state, name), name); @@ -1008,8 +999,6 @@ namespace ts { (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)!).set(path, now ||= getCurrentTime(state.host)); } }); - solutionPerformance.mark("afterOutputFilesWrite"); - solutionPerformance.measure("OutputFilesWrite", "beforeOutputFilesWrite", "afterOutputFilesWrite"); finishEmit( emitterDiagnostics, @@ -1213,18 +1202,6 @@ namespace ts { state: SolutionBuilderState, buildOrder: AnyBuildOrder, reportQueue: boolean - ): InvalidateProjectCreateInfo | undefined { - solutionPerformance.mark("beforeGetNextInvalidatedProjectCreateInfo"); - const result = getNextInvalidatedProjectCreateInfoWorker(state, buildOrder, reportQueue); - solutionPerformance.mark("afterGetNextInvalidatedProjectCreateInfo"); - solutionPerformance.measure("GetNextInvalidatedProjectCreateInfo", "beforeGetNextInvalidatedProjectCreateInfo", "afterGetNextInvalidatedProjectCreateInfo"); - return result; - } - - function getNextInvalidatedProjectCreateInfoWorker( - state: SolutionBuilderState, - buildOrder: AnyBuildOrder, - reportQueue: boolean ): InvalidateProjectCreateInfo | undefined { if (!state.projectPendingBuild.size) return undefined; if (isCircularBuildOrder(buildOrder)) return undefined; @@ -1361,7 +1338,8 @@ namespace ts { reportQueue: boolean ): InvalidatedProject | undefined { const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue); - return info && createInvalidatedProjectWithInfo(state, info, buildOrder); + if (!info) return info; + return createInvalidatedProjectWithInfo(state, info, buildOrder); } function listEmittedFile({ write }: SolutionBuilderState, proj: ParsedCommandLine, file: string) { @@ -1370,15 +1348,11 @@ namespace ts { } } - function getOldProgram(state: SolutionBuilderState, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) { - if (state.options.force) return undefined; - const value = state.builderPrograms.get(proj); + function getOldProgram({ options, builderPrograms, compilerHost }: SolutionBuilderState, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) { + if (options.force) return undefined; + const value = builderPrograms.get(proj); if (value) return value; - solutionPerformance.mark("beforeReadBuilderProgram"); - const program = readBuilderProgram(parsed.options, state.compilerHost) as any as T; - solutionPerformance.mark("afterReadBuilderProgram"); - solutionPerformance.measure("ReadBuilderProgram", "beforeReadBuilderProgram", "afterReadBuilderProgram"); - return program; + return readBuilderProgram(parsed.options, compilerHost) as any as T; } function afterProgramDone( @@ -1505,16 +1479,10 @@ namespace ts { if (existing !== undefined && existing.path === path) { return existing.buildInfo || undefined; } - solutionPerformance.mark("beforeGetBuildInfo"); - solutionPerformance.mark("beforeBuildInfoRead"); const value = state.readFileWithCache(buildInfoPath); - solutionPerformance.mark("afterBuildInfoRead"); - solutionPerformance.measure("BuildInfoRead", "beforeBuildInfoRead", "afterBuildInfoRead"); const buildInfo = value ? ts.getBuildInfo(value) : undefined; Debug.assert(modifiedTime || !buildInfo); state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime }); - solutionPerformance.mark("afterGetBuildInfo"); - solutionPerformance.measure("GetBuildInfo", "beforeGetBuildInfo", "afterGetBuildInfo"); return buildInfo; } @@ -1816,10 +1784,7 @@ namespace ts { return prior; } - solutionPerformance.mark("beforeGetUpToDateStatus"); const actual = getUpToDateStatusWorker(state, project, resolvedPath); - solutionPerformance.mark("afterGetUpToDateStatus"); - solutionPerformance.measure("GetUpToDateStatus", "beforeGetUpToDateStatus", "afterGetUpToDateStatus"); state.projectStatus.set(resolvedPath, actual); return actual; } @@ -1833,7 +1798,6 @@ namespace ts { ) { if (proj.options.noEmit) return; let now: Date | undefined; - solutionPerformance.mark("beforeUpdateOutputTimestamps"); const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); if (buildInfoPath) { if (!skipOutputs?.has(toPath(state, buildInfoPath))) { @@ -1842,36 +1806,34 @@ namespace ts { getBuildInfoCacheEntry(state, buildInfoPath, projectPath)!.modifiedTime = now; } state.outputTimeStamps.delete(projectPath); + return; } - else { - const { host } = state; - const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); - const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); - const modifiedOutputs = outputTimeStampMap ? new Set() : undefined; - if (!skipOutputs || outputs.length !== skipOutputs.size) { - let reportVerbose = !!state.options.verbose; - for (const file of outputs) { - const path = toPath(state, file); - if (skipOutputs?.has(path)) continue; - if (reportVerbose) { - reportVerbose = false; - reportStatus(state, verboseMessage, proj.options.configFilePath!); - } - host.setModifiedTime(file, now ||= getCurrentTime(state.host)); - if (outputTimeStampMap) { - outputTimeStampMap.set(path, now); - modifiedOutputs!.add(path); - } + + const { host } = state; + const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames()); + const outputTimeStampMap = getOutputTimeStampMap(state, projectPath); + const modifiedOutputs = outputTimeStampMap ? new Set() : undefined; + if (!skipOutputs || outputs.length !== skipOutputs.size) { + let reportVerbose = !!state.options.verbose; + for (const file of outputs) { + const path = toPath(state, file); + if (skipOutputs?.has(path)) continue; + if (reportVerbose) { + reportVerbose = false; + reportStatus(state, verboseMessage, proj.options.configFilePath!); + } + host.setModifiedTime(file, now ||= getCurrentTime(state.host)); + if (outputTimeStampMap) { + outputTimeStampMap.set(path, now); + modifiedOutputs!.add(path); } } - - // Clear out timestamps not in output list any more - outputTimeStampMap?.forEach((_value, key) => { - if (!skipOutputs?.has(key) && !modifiedOutputs!.has(key)) outputTimeStampMap.delete(key); - }); } - solutionPerformance.mark("afterUpdateOutputTimestamps"); - solutionPerformance.measure("UpdateOutputTimestamps", "beforeUpdateOutputTimestamps", "afterUpdateOutputTimestamps"); + + // Clear out timestamps not in output list any more + outputTimeStampMap?.forEach((_value, key) => { + if (!skipOutputs?.has(key) && !modifiedOutputs!.has(key)) outputTimeStampMap.delete(key); + }); } function getDtsChangeTime(state: SolutionBuilderState, options: CompilerOptions, resolvedConfigPath: ResolvedConfigFilePath) { @@ -1937,7 +1899,7 @@ namespace ts { } break; } - // falls through + // falls through case UpToDateStatusType.UpToDateWithInputFileText: case UpToDateStatusType.UpToDateWithUpstreamTypes: @@ -1965,14 +1927,6 @@ namespace ts { } function build(state: SolutionBuilderState, project?: string, cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, getCustomTransformers?: (project: string) => CustomTransformers, onlyReferences?: boolean): ExitStatus { - solutionPerformance.mark("beforeBuild"); - const result = buildWorker(state, project, cancellationToken, writeFile, getCustomTransformers, onlyReferences); - solutionPerformance.mark("afterBuild"); - solutionPerformance.measure("Build", "beforeBuild", "afterBuild"); - return result; - } - - function buildWorker(state: SolutionBuilderState, project?: string, cancellationToken?: CancellationToken, writeFile?: WriteFileCallback, getCustomTransformers?: (project: string) => CustomTransformers, onlyReferences?: boolean): ExitStatus { const buildOrder = getBuildOrderFor(state, project, onlyReferences); if (!buildOrder) return ExitStatus.InvalidProject_OutputsSkipped; @@ -1984,10 +1938,7 @@ namespace ts { const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue); if (!invalidatedProject) break; reportQueue = false; - solutionPerformance.mark("beforeInvalidatedProjectBuild"); invalidatedProject.done(cancellationToken, writeFile, getCustomTransformers?.(invalidatedProject.project)); - solutionPerformance.mark("afterInvalidatedProjectBuild"); - solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); if (!state.diagnostics.has(invalidatedProject.projectPath)) successfulProjects++; } @@ -2091,14 +2042,6 @@ namespace ts { } function buildNextInvalidatedProject(state: SolutionBuilderState, changeDetected: boolean) { - solutionPerformance.mark("beforeBuild"); - const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected); - solutionPerformance.mark("afterBuild"); - solutionPerformance.measure("Build", "beforeBuild", "afterBuild"); - if (buildOrder) reportErrorSummary(state, buildOrder); - } - - function buildNextInvalidatedProjectWorker(state: SolutionBuilderState, changeDetected: boolean) { state.timerToBuildInvalidatedProject = undefined; if (state.reportFileChangeDetected) { state.reportFileChangeDetected = false; @@ -2109,10 +2052,7 @@ namespace ts { const buildOrder = getBuildOrder(state); const invalidatedProject = getNextInvalidatedProject(state, buildOrder, /*reportQueue*/ false); if (invalidatedProject) { - solutionPerformance.mark("beforeInvalidatedProjectBuild"); invalidatedProject.done(); - solutionPerformance.mark("afterInvalidatedProjectBuild"); - solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); projectsBuilt++; while (state.projectPendingBuild.size) { // If already scheduled, skip @@ -2126,15 +2066,12 @@ namespace ts { return; } const project = createInvalidatedProjectWithInfo(state, info, buildOrder); - solutionPerformance.mark("beforeInvalidatedProjectBuild"); project.done(); - solutionPerformance.mark("afterInvalidatedProjectBuild"); - solutionPerformance.measure("InvalidatedProjectBuild", "beforeInvalidatedProjectBuild", "afterInvalidatedProjectBuild"); if (info.kind !== InvalidatedProjectKind.UpdateOutputFileStamps) projectsBuilt++; } } disableCache(state); - return buildOrder; + reportErrorSummary(state, buildOrder); } function watchConfigFile(state: SolutionBuilderState, resolved: ResolvedConfigFileName, resolvedPath: ResolvedConfigFilePath, parsed: ParsedCommandLine | undefined) { @@ -2241,7 +2178,6 @@ namespace ts { function startWatching(state: SolutionBuilderState, buildOrder: AnyBuildOrder) { if (!state.watchAllProjectsPending) return; - solutionPerformance.mark("beforeStartWatching"); state.watchAllProjectsPending = false; for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) { const resolvedPath = toResolvedConfigFilePath(state, resolved); @@ -2260,8 +2196,6 @@ namespace ts { watchPackageJsonFiles(state, resolved, resolvedPath, cfg); } } - solutionPerformance.mark("afterStartWatching"); - solutionPerformance.measure("StartWatching", "beforeStartWatching", "afterStartWatching"); } function stopWatching(state: SolutionBuilderState) { diff --git a/src/executeCommandLine/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts index 08d758da78d29..68d2e51e9d4eb 100644 --- a/src/executeCommandLine/executeCommandLine.ts +++ b/src/executeCommandLine/executeCommandLine.ts @@ -1,18 +1,7 @@ namespace ts { - export interface Statistic { + interface Statistic { name: string; - value: number; - type: StatisticType - } - - export enum StatisticType { - time, - count, - memory, - } - - export interface SolutionBuilderHostBase extends ProgramHost { - statistics?: Statistic[][]; + value: string; } function countLines(program: Program): Map { @@ -762,22 +751,9 @@ namespace ts { createBuilderStatusReporter(sys, shouldBePretty(sys, buildOptions)), createWatchStatusReporter(sys, buildOptions) ); - const onWatchStatusChange = buildHost.onWatchStatusChange; - let reportWatchStatistics = false; - buildHost.onWatchStatusChange = (d, newLine, options, errorCount) => { - onWatchStatusChange?.(d, newLine, options, errorCount); - if (!reportWatchStatistics) return; - if (d.code === Diagnostics.Found_0_errors_Watching_for_file_changes.code || - d.code === Diagnostics.Found_1_error_Watching_for_file_changes.code) { - reportSolutionBuilderTimes(sys, builder, buildHost); - } - }; updateSolutionBuilderHost(sys, cb, buildHost); - enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilderWithWatch(buildHost, projects, buildOptions, watchOptions); builder.build(); - reportSolutionBuilderTimes(sys, builder, buildHost); - reportWatchStatistics = true; return builder; } @@ -789,55 +765,12 @@ namespace ts { createReportErrorSummary(sys, buildOptions) ); updateSolutionBuilderHost(sys, cb, buildHost); - enableSolutionPerformance(sys, buildOptions); const builder = createSolutionBuilder(buildHost, projects, buildOptions); const exitStatus = buildOptions.clean ? builder.clean() : builder.build(); - reportSolutionBuilderTimes(sys, builder, buildHost); dumpTracingLegend(); // Will no-op if there hasn't been any tracing return sys.exit(exitStatus); } - function enableSolutionPerformance(system: System, options: BuildOptions) { - if (system === sys && (options.diagnostics || options.extendedDiagnostics)) solutionPerformance.enable(); - } - - function reportSolutionBuilderTimes(system: System, builder: SolutionBuilder, buildHost: SolutionBuilderHost) { - if (system !== sys) return; - - if (solutionPerformance.isEnabled()) { - const solutionStatistics: Statistic[] = []; - solutionPerformance.forEachMeasure((name, duration) => solutionStatistics.push({ name: `${name} time`, value: duration, type: StatisticType.time })); - solutionStatistics.push( - { name: "projectsBuilt", value: solutionPerformance.getCount("projectsBuilt"), type: StatisticType.count }, - { name: "timestampUpdated", value: solutionPerformance.getCount("timestampUpdated"), type: StatisticType.count }, - { name: "bundlesUpdated", value: solutionPerformance.getCount("bundlesUpdated"), type: StatisticType.count }, - { name: "projects", value: getBuildOrderFromAnyBuildOrder(builder.getBuildOrder()).length, type: StatisticType.count }, - ); - buildHost.statistics = append(buildHost.statistics, solutionStatistics); - solutionPerformance.disable(); - solutionPerformance.enable(); - } - - if (!buildHost.statistics) return; - const statistics: Statistic[] = []; - const map: Map = new Map(); - for (const statistic of buildHost.statistics) { - for (const s of statistic) { - const existing = map.get(s.name); - if (existing) { - if (existing.type === StatisticType.memory) existing.value = Math.max(existing.value, s.value); - else existing.value += s.value; - } - else { - map.set(s.name, s); - statistics.push(s); - } - } - } - buildHost.statistics = undefined; - reportAllStatistics(system, statistics); - } - function createReportErrorSummary(sys: System, options: CompilerOptions | BuildOptions): ReportEmitErrorSummary | undefined { return shouldBePretty(sys, options) ? (errorCount, filesInError) => sys.write(getErrorSummaryText(errorCount, filesInError, sys.newLine, sys)) : @@ -909,13 +842,10 @@ namespace ts { ) { updateCreateProgram(sys, buildHost); buildHost.afterProgramEmitAndDiagnostics = program => { - buildHost.statistics = append(buildHost.statistics, reportStatistics(sys, program.getProgram())); + reportStatistics(sys, program.getProgram()); cb(program); }; - buildHost.afterEmitBundle = config => { - buildHost.statistics = append(buildHost.statistics, reportStatistics(sys, config)); - cb(config); - }; + buildHost.afterEmitBundle = cb; } function updateCreateProgram(sys: System, host: { createProgram: CreateProgram; }) { @@ -1009,13 +939,8 @@ namespace ts { } } - function isProgram(programOrConfig: Program | ParsedCommandLine): programOrConfig is Program { - return !!(programOrConfig as Program).getCompilerOptions; - } - function reportStatistics(sys: System, programOrConfig: Program | ParsedCommandLine): Statistic[] | undefined { - const program = isProgram(programOrConfig) ? programOrConfig : undefined; - const config = !isProgram(programOrConfig) ? programOrConfig : undefined; - const compilerOptions = program?.getCompilerOptions() || config?.options!; + function reportStatistics(sys: System, program: Program) { + const compilerOptions = program.getCompilerOptions(); if (canTrace(sys, compilerOptions)) { tracing?.stopTracing(); @@ -1025,32 +950,30 @@ namespace ts { if (canReportDiagnostics(sys, compilerOptions)) { statistics = []; const memoryUsed = sys.getMemoryUsage ? sys.getMemoryUsage() : -1; - if (program) { - reportCountStatistic("Files", program.getSourceFiles().length); - - const lineCounts = countLines(program); - const nodeCounts = countNodes(program); - if (compilerOptions.extendedDiagnostics) { - for (const key of arrayFrom(lineCounts.keys())) { - reportCountStatistic("Lines of " + key, lineCounts.get(key)!); - } - for (const key of arrayFrom(nodeCounts.keys())) { - reportCountStatistic("Nodes of " + key, nodeCounts.get(key)!); - } + reportCountStatistic("Files", program.getSourceFiles().length); + + const lineCounts = countLines(program); + const nodeCounts = countNodes(program); + if (compilerOptions.extendedDiagnostics) { + for (const key of arrayFrom(lineCounts.keys())) { + reportCountStatistic("Lines of " + key, lineCounts.get(key)!); } - else { - reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); - reportCountStatistic("Nodes", reduceLeftIterator(nodeCounts.values(), (sum, count) => sum + count, 0)); + for (const key of arrayFrom(nodeCounts.keys())) { + reportCountStatistic("Nodes of " + key, nodeCounts.get(key)!); } - - reportCountStatistic("Identifiers", program.getIdentifierCount()); - reportCountStatistic("Symbols", program.getSymbolCount()); - reportCountStatistic("Types", program.getTypeCount()); - reportCountStatistic("Instantiations", program.getInstantiationCount()); + } + else { + reportCountStatistic("Lines", reduceLeftIterator(lineCounts.values(), (sum, count) => sum + count, 0)); + reportCountStatistic("Nodes", reduceLeftIterator(nodeCounts.values(), (sum, count) => sum + count, 0)); } + reportCountStatistic("Identifiers", program.getIdentifierCount()); + reportCountStatistic("Symbols", program.getSymbolCount()); + reportCountStatistic("Types", program.getTypeCount()); + reportCountStatistic("Instantiations", program.getInstantiationCount()); + if (memoryUsed >= 0) { - reportMemoryStatistic("Memory used", memoryUsed); + reportStatisticalValue("Memory used", Math.round(memoryUsed / 1000) + "K"); } const isPerformanceEnabled = performance.isEnabled(); @@ -1059,13 +982,11 @@ namespace ts { const checkTime = isPerformanceEnabled ? performance.getDuration("Check") : 0; const emitTime = isPerformanceEnabled ? performance.getDuration("Emit") : 0; if (compilerOptions.extendedDiagnostics) { - if (program) { - const caches = program.getRelationCacheSizes(); - reportCountStatistic("Assignability cache size", caches.assignable); - reportCountStatistic("Identity cache size", caches.identity); - reportCountStatistic("Subtype cache size", caches.subtype); - reportCountStatistic("Strict subtype cache size", caches.strictSubtype); - } + const caches = program.getRelationCacheSizes(); + reportCountStatistic("Assignability cache size", caches.assignable); + reportCountStatistic("Identity cache size", caches.identity); + reportCountStatistic("Subtype cache size", caches.subtype); + reportCountStatistic("Strict subtype cache size", caches.strictSubtype); if (isPerformanceEnabled) { performance.forEachMeasure((name, duration) => reportTimeStatistic(`${name} time`, duration)); } @@ -1085,59 +1006,43 @@ namespace ts { if (isPerformanceEnabled) { reportTimeStatistic("Total time", programTime + bindTime + checkTime + emitTime); } - reportAllStatistics(sys, statistics); + reportStatistics(); if (!isPerformanceEnabled) { sys.write(Diagnostics.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message + "\n"); } else { performance.disable(); } - return statistics; - } - - function reportMemoryStatistic(name: string, memoryUsed: number) { - statistics.push({ name, value: memoryUsed, type: StatisticType.memory }); - } - - function reportCountStatistic(name: string, count: number) { - statistics.push({ name, value: count, type: StatisticType.count }); } - function reportTimeStatistic(name: string, time: number) { - statistics.push({ name, value: time, type: StatisticType.time }); - } - } + function reportStatistics() { + let nameSize = 0; + let valueSize = 0; + for (const { name, value } of statistics) { + if (name.length > nameSize) { + nameSize = name.length; + } - function reportAllStatistics(sys: System, statistics: Statistic[]) { - let nameSize = 0; - let valueSize = 0; - for (const s of statistics) { - if (s.name.length > nameSize) { - nameSize = s.name.length; + if (value.length > valueSize) { + valueSize = value.length; + } } - const valueString = statisticValue(s); - if (valueString.length > valueSize) { - valueSize = valueString.length; + for (const { name, value } of statistics) { + sys.write(padRight(name + ":", nameSize + 2) + padLeft(value.toString(), valueSize) + sys.newLine); } } - for (const s of statistics) { - sys.write(padRight(s.name + ":", nameSize + 2) + padLeft(statisticValue(s).toString(), valueSize) + sys.newLine); + function reportStatisticalValue(name: string, value: string) { + statistics.push({ name, value }); } - } - function statisticValue(s: Statistic) { - switch (s.type) { - case StatisticType.count: - return "" + s.value; - case StatisticType.time: - return (s.value / 1000).toFixed(2) + "s"; - case StatisticType.memory: - return Math.round(s.value / 1000) + "K"; - break; - default: - Debug.assertNever(s.type); + function reportCountStatistic(name: string, count: number) { + reportStatisticalValue(name, "" + count); + } + + function reportTimeStatistic(name: string, time: number) { + reportStatisticalValue(name, (time / 1000).toFixed(2) + "s"); } } From 5cd883ac5375887a2a3864aabcba14ee628678c2 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Jun 2022 15:18:29 -0700 Subject: [PATCH 62/64] Revert "When tsc --build --clean, only remove tsbuildinfo if its incremental build" This reverts commit e4e66726098201f38f5e8908a538e7a506f15efd. --- src/compiler/tsbuildPublic.ts | 28 ++++++------------- .../tsbuild/outFile/clean-projects.js | 12 ++++++++ .../outFile/cleans-till-project-specified.js | 4 +++ .../sample1/removes-all-files-it-built.js | 11 ++++++++ 4 files changed, 36 insertions(+), 19 deletions(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index f205020540126..6de356151effd 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1974,19 +1974,21 @@ namespace ts { reportParseConfigFileDiagnostic(state, resolvedPath); continue; } - const buildInfoPath = getTsBuildInfoEmitOutputFilePath(parsed.options); - if (buildInfoPath) { - // Only delete buildInfo as thats sufficient - removeOutput(buildInfoPath, resolvedPath); - continue; - } const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames()); if (!outputs.length) continue; const inputFileNames = new Set(parsed.fileNames.map(f => toPath(state, f))); for (const output of outputs) { // If output name is same as input file name, do not delete and ignore the error if (inputFileNames.has(toPath(state, output))) continue; - removeOutput(output, resolvedPath); + if (host.fileExists(output)) { + if (filesToDelete) { + filesToDelete.push(output); + } + else { + host.deleteFile(output); + invalidateProject(state, resolvedPath, ConfigFileProgramReloadLevel.None); + } + } } } @@ -1995,18 +1997,6 @@ namespace ts { } return ExitStatus.Success; - - function removeOutput(output: string, resolvedPath: ResolvedConfigFilePath) { - if (host.fileExists(output)) { - if (filesToDelete) { - filesToDelete.push(output); - } - else { - host.deleteFile(output); - invalidateProject(state, resolvedPath, ConfigFileProgramReloadLevel.None); - } - } - } } function invalidateProject(state: SolutionBuilderState, resolved: ResolvedConfigFilePath, reloadLevel: ConfigFileProgramReloadLevel) { diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index c4b594c933c0f..9330715ed072d 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -596,8 +596,20 @@ Output:: exitCode:: ExitStatus.Success +//// [/src/2/second-output.d.ts] unlink +//// [/src/2/second-output.d.ts.map] unlink +//// [/src/2/second-output.js] unlink +//// [/src/2/second-output.js.map] unlink //// [/src/2/second-output.tsbuildinfo] unlink +//// [/src/first/bin/first-output.d.ts] unlink +//// [/src/first/bin/first-output.d.ts.map] unlink +//// [/src/first/bin/first-output.js] unlink +//// [/src/first/bin/first-output.js.map] unlink //// [/src/first/bin/first-output.tsbuildinfo] unlink +//// [/src/third/thirdjs/output/third-output.d.ts] unlink +//// [/src/third/thirdjs/output/third-output.d.ts.map] unlink +//// [/src/third/thirdjs/output/third-output.js] unlink +//// [/src/third/thirdjs/output/third-output.js.map] unlink //// [/src/third/thirdjs/output/third-output.tsbuildinfo] unlink diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 89821e20155c9..9f33b555d038f 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -596,4 +596,8 @@ Output:: exitCode:: ExitStatus.Success +//// [/src/2/second-output.d.ts] unlink +//// [/src/2/second-output.d.ts.map] unlink +//// [/src/2/second-output.js] unlink +//// [/src/2/second-output.js.map] unlink //// [/src/2/second-output.tsbuildinfo] unlink diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 45328f87dc969..a44f43df054c3 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -390,8 +390,19 @@ Output:: exitCode:: ExitStatus.Success +//// [/src/core/anotherModule.d.ts] unlink +//// [/src/core/anotherModule.d.ts.map] unlink +//// [/src/core/anotherModule.js] unlink +//// [/src/core/index.d.ts] unlink +//// [/src/core/index.d.ts.map] unlink +//// [/src/core/index.js] unlink //// [/src/core/tsconfig.tsbuildinfo] unlink +//// [/src/logic/index.d.ts] unlink +//// [/src/logic/index.js] unlink +//// [/src/logic/index.js.map] unlink //// [/src/logic/tsconfig.tsbuildinfo] unlink +//// [/src/tests/index.d.ts] unlink +//// [/src/tests/index.js] unlink //// [/src/tests/tsconfig.tsbuildinfo] unlink From 5cd5d573080a7d1b91e1a509ab29a11fe6f12fc1 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Jun 2022 16:43:51 -0700 Subject: [PATCH 63/64] Comments in the code --- src/compiler/builder.ts | 4 ++++ src/compiler/emitter.ts | 5 +++++ src/compiler/sys.ts | 2 ++ src/compiler/tsbuildPublic.ts | 20 ++++++++++++++++++-- src/compiler/watchPublic.ts | 1 + 5 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 86e9e61c41436..431f7d4eb6d7c 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -783,6 +783,7 @@ namespace ts { if (outFilePath && !state.compilerOptions.composite) return; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); + // Update the dtsChange time in buildInfo state.dtsChangeTime = state.hasChangedEmitSignature ? getCurrentTime(host).getTime() : state.dtsChangeTime; if (outFilePath) { const fileNames: string[] = []; @@ -1196,6 +1197,9 @@ namespace ts { } } + // Store d.ts emit hash so later can be compared to check if d.ts has changed. + // Currently we do this only for composite projects since these are the only projects that can be referenced by other projects + // and would need their d.ts change time in --build mode if (state.compilerOptions.composite) { const filePath = sourceFiles[0].resolvedPath; const oldSignature = state.emitSignatures?.get(filePath); diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index e6ad202eeac21..355e1fdcffd3e 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -367,6 +367,7 @@ namespace ts { } const version = ts.version; // Extracted into a const so the form is stable between namespace and module const buildInfo: BuildInfo = { bundle, program, version }; + // Pass buildinfo as additional data to avoid having to reparse writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText(buildInfo), /*writeByteOrderMark*/ false, /*sourceFiles*/ undefined, { buildInfo }); } @@ -568,6 +569,8 @@ namespace ts { // Write the output file const text = writer.getText(); writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos }); + // We store the hash of the text written in the buildinfo to ensure that text of the referenced d.ts file is same as whats in the buildinfo + // This is needed because incremental can be toggled between two runs and we might use stale file text to do text manipulation in prepend mode if (printer.bundleFileInfo) printer.bundleFileInfo.hash = BuilderState.computeSignature(text, maybeBind(host, host.createHash)); // Reset state @@ -756,6 +759,7 @@ namespace ts { const { buildInfoPath, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle(config.options, /*forceDtsPaths*/ false); let buildInfo: BuildInfo; if (host.getBuildInfo) { + // If host directly provides buildinfo we can get it directly. This allows host to cache the buildinfo const hostBuildInfo = host.getBuildInfo(buildInfoPath!, config.options.configFilePath); if (!hostBuildInfo) return buildInfoPath!; buildInfo = hostBuildInfo; @@ -769,6 +773,7 @@ namespace ts { const jsFileText = host.readFile(Debug.checkDefined(jsFilePath)); if (!jsFileText) return jsFilePath!; + // If the jsFileText is not same has what it was created with, tsbuildinfo is stale so dont use it if (BuilderState.computeSignature(jsFileText, createHash) !== buildInfo.bundle.js.hash) return jsFilePath!; const sourceMapText = sourceMapFilePath && host.readFile(sourceMapFilePath); // error if no source map or for now if inline sourcemap diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 03213fabeec3a..0f04836566e6a 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -480,6 +480,7 @@ namespace ts { const newTime = modifiedTime.getTime(); if (oldTime !== newTime) { watchedFile.mtime = modifiedTime; + // Pass modified times so tsc --build can use it watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime); return true; } @@ -798,6 +799,7 @@ namespace ts { ): FsWatchCallback { return (eventName, _relativeFileName, modifiedTime) => { if (eventName === "rename") { + // Check time stamps rather than file system entry checks modifiedTime ||= getModifiedTime(fileName) || missingFileModifiedTime; callback(fileName, modifiedTime !== missingFileModifiedTime ? FileWatcherEventKind.Created : FileWatcherEventKind.Deleted, modifiedTime); } diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 6de356151effd..b8a5d82e78ed9 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -69,6 +69,7 @@ namespace ts { } /*@internal*/ + /** Helper to use now method instead of current date for testing purposes to get consistent baselines */ export function getCurrentTime(host: { now?(): Date; }) { return host.now ? host.now() : new Date(); } @@ -214,6 +215,8 @@ namespace ts { interface FileWatcherWithModifiedTime { callbacks: FileWatcherCallback[]; watcher: FileWatcher; + // modified time can be undefined if it was not queried + // Eg. if input file timestamp was not queried because tsbuildinfo was missing but watcher for that file is created modifiedTime: Date | undefined; } @@ -990,6 +993,7 @@ namespace ts { emittedOutputs.set(toPath(state, name), name); if (buildInfo) { setBuildInfo(state, buildInfo, projectPath, options); + // Buildinfo has information on when last dts change time if (buildInfo.program?.dtsChangeTime !== existingBuildInfo?.program?.dtsChangeTime) { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; } @@ -1060,7 +1064,7 @@ namespace ts { state.diagnostics.delete(projectPath); state.projectStatus.set(projectPath, { type: UpToDateStatusType.UpToDate, - newestDeclarationFileContentChangedTime: getDtsChangeTime(state, config.options, projectPath), + newestDeclarationFileContentChangedTime: getDtsChangeTime(state, config.options, projectPath)!, oldestOutputFileName }); afterProgramDone(state, program, config); @@ -1382,6 +1386,7 @@ namespace ts { buildResult: BuildResultFlags, errorType: string, ) { + // Since buildinfo has changeset and diagnostics when doing multi file emit, only --out cannot emit buildinfo if it has errors const canEmitBuildInfo = program && !outFile(program.getCompilerOptions()); reportAndStoreErrors(state, resolvedPath, diagnostics); @@ -1402,6 +1407,9 @@ namespace ts { if (!isFileWatcherWithModifiedTime(existing)) return existing; if (existing.modifiedTime) return existing.modifiedTime; } + // In watch mode we store the modified times in the cache + // This is either Date | FileWatcherWithModifiedTime because we query modified times first and + // then after complete compilation of the project, watch the files so we dont want to loose these modified times. const result = ts.getModifiedTime(state.host, fileName); if (state.watch) { if (existing) (existing as FileWatcherWithModifiedTime).modifiedTime = result; @@ -1449,6 +1457,7 @@ namespace ts { } function getOutputTimeStampMap(state: SolutionBuilderState, resolvedConfigFilePath: ResolvedConfigFilePath) { + // Output timestamps are stored only in watch mode if (!state.watch) return undefined; let result = state.outputTimeStamps.get(resolvedConfigFilePath); if (!result) state.outputTimeStamps.set(resolvedConfigFilePath, result = new Map()); @@ -1506,7 +1515,7 @@ namespace ts { }; } - // Fast check to see if reference projects are buildable + // Fast check to see if reference projects are upto date and error free let referenceStatuses; const force = !!state.options.force; if (project.projectReferences) { @@ -1581,6 +1590,7 @@ namespace ts { } if (buildInfo.program) { + // If there are pending changes that are not emitted, project is out of date if ((buildInfo.program as ProgramMultiFileEmitBuildInfo).changeFileSet?.length || (!project.options.noEmit && (buildInfo.program as ProgramMultiFileEmitBuildInfo).affectedFilesPendingEmit?.length)) { return { @@ -1593,6 +1603,7 @@ namespace ts { oldestOutputFileTime = buildInfoTime; oldestOutputFileName = buildInfoPath; + // Get the last dtsChange time from build info newestDeclarationFileContentChangedTime = buildInfo.program?.dtsChangeTime ? new Date(buildInfo.program.dtsChangeTime) : undefined; } @@ -1660,6 +1671,8 @@ namespace ts { }; } + // No need to get newestDeclarationFileContentChangedTime since thats needed only for composite projects + // And composite projects are the only ones that can be referenced if (outputTime < oldestOutputFileTime) { oldestOutputFileTime = outputTime; oldestOutputFileName = output; @@ -1800,6 +1813,8 @@ namespace ts { let now: Date | undefined; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options); if (buildInfoPath) { + // For incremental projects, only buildinfo needs to be upto date with timestamp check + // as we dont check output files for up-to-date ness if (!skipOutputs?.has(toPath(state, buildInfoPath))) { if (!!state.options.verbose) reportStatus(state, verboseMessage, proj.options.configFilePath!); state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host)); @@ -1823,6 +1838,7 @@ namespace ts { reportStatus(state, verboseMessage, proj.options.configFilePath!); } host.setModifiedTime(file, now ||= getCurrentTime(state.host)); + // Store output timestamps in a map because non incremental build will need to check them to determine up-to-dateness if (outputTimeStampMap) { outputTimeStampMap.set(path, now); modifiedOutputs!.add(path); diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 5b2482bb4bb28..04d79e163d78a 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -11,6 +11,7 @@ namespace ts { if (!buildInfoPath) return undefined; let buildInfo; if (host.getBuildInfo) { + // host provides buildinfo, get it from there. This allows host to cache it buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath); if (!buildInfo) return undefined; } From 624c182bfe553c39f8cc607f8950546045077904 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Jun 2022 17:48:14 -0700 Subject: [PATCH 64/64] Feedback --- src/compiler/builder.ts | 50 ++++++++----------- src/compiler/builderPublic.ts | 4 +- src/compiler/builderState.ts | 12 ++--- src/compiler/diagnosticMessages.json | 4 +- src/compiler/tsbuildPublic.ts | 44 ++++++++-------- ...hange-in-signature-with-isolatedModules.js | 4 +- ...ot-change-but-its-modified-time-changes.js | 2 +- ...iles-belong-to-rootDir-and-is-composite.js | 2 +- ...ojects-if-upstream-projects-have-errors.js | 2 +- ...ot-change-but-its-modified-time-changes.js | 2 +- .../demo/updates-with-bad-reference.js | 2 +- ...mit-any-files-on-error-with-incremental.js | 10 ++-- 12 files changed, 66 insertions(+), 72 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 431f7d4eb6d7c..bc7a867394332 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -133,7 +133,7 @@ namespace ts { filesChangingSignature?: Set; } - type BackupEmitState = Pick): BackupEmitState { + function backupBuilderProgramEmitState(state: Readonly): SavedBuildProgramEmitState { const outFilePath = outFile(state.compilerOptions); // Only in --out changeFileSet is kept around till emit Debug.assert(!state.changedFilesSet.size || outFilePath); @@ -307,17 +307,17 @@ namespace ts { }; } - function restoreEmitBuilderProgramState(state: BuilderProgramState, backupEmitState: BackupEmitState) { - state.affectedFilesPendingEmit = backupEmitState.affectedFilesPendingEmit; - state.affectedFilesPendingEmitKind = backupEmitState.affectedFilesPendingEmitKind; - state.affectedFilesPendingEmitIndex = backupEmitState.affectedFilesPendingEmitIndex; - state.seenEmittedFiles = backupEmitState.seenEmittedFiles; - state.programEmitComplete = backupEmitState.programEmitComplete; - state.emitSignatures = backupEmitState.emitSignatures; - state.outSignature = backupEmitState.outSignature; - state.dtsChangeTime = backupEmitState.dtsChangeTime; - state.hasChangedEmitSignature = backupEmitState.hasChangedEmitSignature; - if (backupEmitState.changedFilesSet) state.changedFilesSet = backupEmitState.changedFilesSet; + function restoreBuilderProgramEmitState(state: BuilderProgramState, savedEmitState: SavedBuildProgramEmitState) { + state.affectedFilesPendingEmit = savedEmitState.affectedFilesPendingEmit; + state.affectedFilesPendingEmitKind = savedEmitState.affectedFilesPendingEmitKind; + state.affectedFilesPendingEmitIndex = savedEmitState.affectedFilesPendingEmitIndex; + state.seenEmittedFiles = savedEmitState.seenEmittedFiles; + state.programEmitComplete = savedEmitState.programEmitComplete; + state.emitSignatures = savedEmitState.emitSignatures; + state.outSignature = savedEmitState.outSignature; + state.dtsChangeTime = savedEmitState.dtsChangeTime; + state.hasChangedEmitSignature = savedEmitState.hasChangedEmitSignature; + if (savedEmitState.changedFilesSet) state.changedFilesSet = savedEmitState.changedFilesSet; } /** @@ -738,7 +738,6 @@ namespace ts { signature: string | false | undefined; }; /** - * Signature if different from file's signature * [fileId, signature] if different from file's signature * fileId if file wasnt emitted */ @@ -934,6 +933,9 @@ namespace ts { return fileIdListId; } + /** + * @param optionKey key of CommandLineOption to use to determine if the option should be serialized in tsbuildinfo + */ function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions, optionKey: "affectsBundleEmitBuildInfo" | "affectsMultiFileEmitBuildInfo") { let result: CompilerOptions | undefined; const { optionsNameMap } = getOptionsNameMap(); @@ -1060,7 +1062,6 @@ namespace ts { */ const computeHash = maybeBind(host, host.createHash); const state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature); - let backupEmitState: BackupEmitState | undefined; newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName, host); // To ensure that we arent storing any references to old program or new program without state @@ -1071,21 +1072,12 @@ namespace ts { const getState = () => state; const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics); builderProgram.getState = getState; - builderProgram.backupEmitState = () => { - Debug.assert(backupEmitState === undefined); - backupEmitState = backupEmitBuilderProgramState(state); - }; - builderProgram.restoreEmitState = () => { - restoreEmitBuilderProgramState(state, Debug.checkDefined(backupEmitState)); - backupEmitState = undefined; - }; + builderProgram.saveEmitState = () => backupBuilderProgramEmitState(state); + builderProgram.restoreEmitState = (saved) => restoreBuilderProgramEmitState(state, saved); builderProgram.getAllDependencies = sourceFile => BuilderState.getAllDependencies(state, Debug.checkDefined(state.program), sourceFile); builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; builderProgram.emit = emit; - builderProgram.releaseProgram = () => { - releaseCache(state); - backupEmitState = undefined; - }; + builderProgram.releaseProgram = () => releaseCache(state); if (kind === BuilderProgramKind.SemanticDiagnosticsBuilderProgram) { (builderProgram as SemanticDiagnosticsBuilderProgram).getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile; @@ -1438,7 +1430,7 @@ namespace ts { return { getState: () => state, - backupEmitState: noop, + saveEmitState: noop as BuilderProgram["saveEmitState"], restoreEmitState: noop, getProgram: notImplemented, getProgramOrUndefined: returnUndefined, @@ -1509,7 +1501,7 @@ namespace ts { export function createRedirectedBuilderProgram(getState: () => { program?: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: readonly Diagnostic[]): BuilderProgram { return { getState: notImplemented, - backupEmitState: noop, + saveEmitState: noop as BuilderProgram["saveEmitState"], restoreEmitState: noop, getProgram, getProgramOrUndefined: () => getState().program, diff --git a/src/compiler/builderPublic.ts b/src/compiler/builderPublic.ts index 99ca24ebeffaa..9831c965c44c3 100644 --- a/src/compiler/builderPublic.ts +++ b/src/compiler/builderPublic.ts @@ -39,9 +39,9 @@ namespace ts { /*@internal*/ getState(): ReusableBuilderProgramState; /*@internal*/ - backupEmitState(): void; + saveEmitState(): SavedBuildProgramEmitState; /*@internal*/ - restoreEmitState(): void; + restoreEmitState(saved: SavedBuildProgramEmitState): void; /** * Returns current program */ diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index d23c5d55d07cf..4be044c03551e 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -274,10 +274,10 @@ namespace ts { // Create the reference map, and set the file infos for (const sourceFile of newProgram.getSourceFiles()) { const version = Debug.checkDefined(sourceFile.version, "Program intended to be used with Builder should have source files with versions set"); - const oldUncommitedSignature = useOldState ? oldState!.oldSignatures?.get(sourceFile.resolvedPath) : undefined; - const signature = oldUncommitedSignature === undefined ? + const oldUncommittedSignature = useOldState ? oldState!.oldSignatures?.get(sourceFile.resolvedPath) : undefined; + const signature = oldUncommittedSignature === undefined ? useOldState ? oldState!.fileInfos.get(sourceFile.resolvedPath)?.signature : undefined : - oldUncommitedSignature || undefined; + oldUncommittedSignature || undefined; if (referencedMap) { const newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName); if (newReferences) { @@ -285,10 +285,10 @@ namespace ts { } // Copy old visible to outside files map if (useOldState) { - const oldUncommitedExportedModules = oldState!.oldExportedModulesMap?.get(sourceFile.resolvedPath); - const exportedModules = oldUncommitedExportedModules === undefined ? + const oldUncommittedExportedModules = oldState!.oldExportedModulesMap?.get(sourceFile.resolvedPath); + const exportedModules = oldUncommittedExportedModules === undefined ? oldState!.exportedModulesMap!.getValues(sourceFile.resolvedPath) : - oldUncommitedExportedModules || undefined; + oldUncommittedExportedModules || undefined; if (exportedModules) { exportedModulesMap!.set(sourceFile.resolvedPath, exportedModules); } diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 50b3c3e940b15..fc6f142c76ee4 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5322,11 +5322,11 @@ "category": "Message", "code": 6398 }, - "Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes are not emitted": { + "Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted": { "category": "Message", "code": 6399 }, - "Project '{0}' is up to date but needs update to timestamps of output files that are older than input files": { + "Project '{0}' is up to date but needs to update timestamps of output files that are older than input files": { "category": "Message", "code": 6400 }, diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index b8a5d82e78ed9..e7d4d8196e13e 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -946,7 +946,7 @@ namespace ts { Debug.assertIsDefined(program); Debug.assert(step === BuildStep.Emit); // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly - program.backupEmitState(); + const saved = program.saveEmitState(); let declDiagnostics: Diagnostic[] | undefined; const reportDeclarationDiagnostics = (d: Diagnostic) => (declDiagnostics || (declDiagnostics = [])).push(d); const outputFiles: OutputFile[] = []; @@ -962,7 +962,7 @@ namespace ts { ); // Don't emit .d.ts if there are decl file errors if (declDiagnostics) { - program.restoreEmitState(); + program.restoreEmitState(saved); ({ buildResult, step } = buildErrors( state, projectPath, @@ -1558,7 +1558,7 @@ namespace ts { // Check buildinfo first const { host } = state; const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options); - let oldestOutputFileName = "(none)"; + let oldestOutputFileName: string | undefined; let oldestOutputFileTime = maximumDate; let buildInfoTime: Date | undefined; let buildInfoProgram: ProgramBuildInfo | undefined; @@ -1610,7 +1610,8 @@ namespace ts { // Check input files let newestInputFileName: string = undefined!; let newestInputFileTime = minimumDate; - let pseudoInputUptodate = false; + /** True if input file has changed timestamp but text is not changed, we can then do only timestamp updates on output to make it look up-to-date later */ + let pseudoInputUpToDate = false; // Get timestamps of input files for (const inputFile of project.fileNames) { const inputTime = getModifiedTime(state, inputFile); @@ -1631,7 +1632,7 @@ namespace ts { version = buildInfoVersionMap.get(toPath(state, inputFile)); const text = version ? state.readFileWithCache(inputFile) : undefined; currentVersion = text && (host.createHash || generateDjb2Hash)(text); - if (version && version === currentVersion) pseudoInputUptodate = true; + if (version && version === currentVersion) pseudoInputUpToDate = true; } if (!version || version !== currentVersion) { @@ -1671,21 +1672,21 @@ namespace ts { }; } - // No need to get newestDeclarationFileContentChangedTime since thats needed only for composite projects - // And composite projects are the only ones that can be referenced - if (outputTime < oldestOutputFileTime) { - oldestOutputFileTime = outputTime; - oldestOutputFileName = output; - } - // If an output is older than the newest input, we can stop checking if (outputTime < newestInputFileTime) { return { type: UpToDateStatusType.OutOfDateWithSelf, - outOfDateOutputFileName: oldestOutputFileName, + outOfDateOutputFileName: output, newerInputFileName: newestInputFileName }; } + + // No need to get newestDeclarationFileContentChangedTime since thats needed only for composite projects + // And composite projects are the only ones that can be referenced + if (outputTime < oldestOutputFileTime) { + oldestOutputFileTime = outputTime; + oldestOutputFileName = output; + } } } @@ -1693,6 +1694,7 @@ namespace ts { const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath); seenRefs?.add(resolvedPath); + /** Inputs are up-to-date, just need either timestamp update or bundle prepend manipulation to make it look up-to-date */ let pseudoUpToDate = false; let usesPrepend = false; let upstreamChangedProject: string | undefined; @@ -1733,24 +1735,24 @@ namespace ts { } // Check tsconfig time - const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath!, oldestOutputFileTime, oldestOutputFileName); + const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath!, oldestOutputFileTime, oldestOutputFileName!); if (configStatus) return configStatus; // Check extended config time - const extendedConfigStatus = forEach(project.options.configFile!.extendedSourceFiles || emptyArray, configFile => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName)); + const extendedConfigStatus = forEach(project.options.configFile!.extendedSourceFiles || emptyArray, configFile => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName!)); if (extendedConfigStatus) return extendedConfigStatus; // Check package file time const dependentPackageFileStatus = forEach( state.lastCachedPackageJsonLookups.get(resolvedPath) || emptyArray, - ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName) + ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName!) ); if (dependentPackageFileStatus) return dependentPackageFileStatus; if (usesPrepend && pseudoUpToDate) { return { type: UpToDateStatusType.OutOfDateWithPrepend, - outOfDateOutputFileName: oldestOutputFileName, + outOfDateOutputFileName: oldestOutputFileName!, newerProjectName: upstreamChangedProject! }; } @@ -1759,13 +1761,13 @@ namespace ts { return { type: pseudoUpToDate ? UpToDateStatusType.UpToDateWithUpstreamTypes : - pseudoInputUptodate ? + pseudoInputUpToDate ? UpToDateStatusType.UpToDateWithInputFileText : UpToDateStatusType.UpToDate, newestDeclarationFileContentChangedTime, newestInputFileTime, newestInputFileName, - oldestOutputFileName + oldestOutputFileName: oldestOutputFileName! }; } @@ -2338,7 +2340,7 @@ namespace ts { case UpToDateStatusType.OutOfDateBuildInfo: return reportStatus( state, - Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_are_not_emitted, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted, relName(state, configFileName), relName(state, status.buildInfoFile) ); @@ -2370,7 +2372,7 @@ namespace ts { case UpToDateStatusType.UpToDateWithInputFileText: return reportStatus( state, - Diagnostics.Project_0_is_up_to_date_but_needs_update_to_timestamps_of_output_files_that_are_older_than_input_files, + Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files, relName(state, configFileName) ); case UpToDateStatusType.UpstreamOutOfDate: diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index f1fe7c911832b..2d6300bf9cc80 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -414,7 +414,7 @@ Output:: [12:00:31 AM] Projects in this build: * src/tsconfig.json -[12:00:32 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:32 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:33 AM] Building project '/src/tsconfig.json'... @@ -679,7 +679,7 @@ Output:: [12:00:49 AM] Projects in this build: * src/tsconfig.json -[12:00:50 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:50 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/obj/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:51 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 03d37e060aa6e..756aa77875df7 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -627,7 +627,7 @@ Output:: * src/second/tsconfig.json * src/third/tsconfig.json -[12:00:47 AM] Project 'src/first/tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files +[12:00:47 AM] Project 'src/first/tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files [12:00:48 AM] Updating output timestamps of project '/src/first/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index e6f64ff9ddf33..28f390cdd16ec 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -95,7 +95,7 @@ Output:: [12:00:17 AM] Projects in this build: * src/tsconfig.json -[12:00:18 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:18 AM] Project 'src/tsconfig.json' is out of date because buildinfo file 'src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:19 AM] Building project '/src/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 1d7f1c65cd804..b28ea1b3564f4 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -335,7 +335,7 @@ Output:: [12:00:28 AM] Project 'src/core/tsconfig.json' is up to date because newest input 'src/core/anotherModule.ts' is older than output 'src/core/tsconfig.tsbuildinfo' -[12:00:29 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:29 AM] Project 'src/logic/tsconfig.json' is out of date because buildinfo file 'src/logic/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:30 AM] Building project '/src/logic/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 6ba160ff0cab5..03c7cb6ab9e77 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -421,7 +421,7 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files +[12:00:39 AM] Project 'src/core/tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files [12:00:40 AM] Updating output timestamps of project '/src/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index dc8d91cda8d1f..d5e394b56f3cd 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -442,7 +442,7 @@ Output:: >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... -[12:01:09 AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'lib/core/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:09 AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'lib/core/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:01:10 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index fbddf1d415a83..4cf27ecff1394 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -154,7 +154,7 @@ Output:: >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... -[12:00:48 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:48 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:49 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -213,7 +213,7 @@ Output:: >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... -[12:00:55 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:00:55 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:00:56 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -480,7 +480,7 @@ Output:: >> Screen clear [12:01:37 AM] File change detected. Starting incremental compilation... -[12:01:38 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:38 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:01:39 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -537,7 +537,7 @@ Output:: >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... -[12:01:45 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes are not emitted +[12:01:45 AM] Project 'tsconfig.json' is out of date because buildinfo file 'dev-build/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted [12:01:46 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... @@ -651,7 +651,7 @@ Output:: >> Screen clear [12:02:01 AM] File change detected. Starting incremental compilation... -[12:02:02 AM] Project 'tsconfig.json' is up to date but needs update to timestamps of output files that are older than input files +[12:02:02 AM] Project 'tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files [12:02:03 AM] Updating output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'...